初始化框架
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user