huawei

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL