Documentation ¶ Index ¶ func NewHuaWeiObsClient(cfg *config.FSCfg) (client *obs.ObsClient, err error) type Obs func New(cfg *config.FSCfg) *Obs func (o *Obs) DeleteFile(key string) error func (o *Obs) UploadFile(file *multipart.FileHeader) (filePath string, fileKey string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewHuaWeiObsClient ¶ func NewHuaWeiObsClient(cfg *config.FSCfg) (client *obs.ObsClient, err error) Types ¶ type Obs ¶ type Obs struct { // contains filtered or unexported fields } func New ¶ func New(cfg *config.FSCfg) *Obs func (*Obs) DeleteFile ¶ func (o *Obs) DeleteFile(key string) error func (*Obs) UploadFile ¶ func (o *Obs) UploadFile(file *multipart.FileHeader) (filePath string, fileKey string, err error) Source Files ¶ View all Source files obs.go Click to show internal directories. Click to hide internal directories.