Documentation ¶
Index ¶
- type IOss
- type Oss
- func (f *Oss) UploadWithContent(ctx context.Context, name string, content []byte, option *structs.Option) (*structs.UploadResult, error)
- func (f *Oss) UploadWithPath(ctx context.Context, name string, filePath string, option *structs.Option) (*structs.UploadResult, error)
- func (f *Oss) UploadWithURL(ctx context.Context, name string, targetUrl string, option *structs.Option) (*structs.UploadResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOss ¶
type IOss interface { UploadWithContent(ctx context.Context, name string, content []byte, option *structs.Option) (*structs.UploadResult, error) UploadWithURL(ctx context.Context, name string, targetUrl string, option *structs.Option) (*structs.UploadResult, error) UploadWithPath(ctx context.Context, name string, filePath string, option *structs.Option) (*structs.UploadResult, error) }
Click to show internal directories.
Click to hide internal directories.