16 lines
260 B
Go
16 lines
260 B
Go
package tencent
|
|
|
|
import (
|
|
"code.yun.ink/pkg/storagex"
|
|
)
|
|
|
|
type TencentFactory struct{}
|
|
|
|
func (f *TencentFactory) Create(cfg storagex.Config) (storagex.Uploader, error) {
|
|
return &TencentUploader{}, nil
|
|
}
|
|
|
|
type TencentUploader struct {
|
|
storagex.UploaderImpl
|
|
}
|