Documentation ¶
Index ¶
- func NewAwsFile() file.File
- type AwsOss
- func (a *AwsOss) Del(ctx context.Context, st *file.DelRequest) error
- func (a *AwsOss) Get(ctx context.Context, st *file.GetFileStu) (io.ReadCloser, error)
- func (a *AwsOss) Init(ctx context.Context, config *file.FileConfig) error
- func (a *AwsOss) List(ctx context.Context, st *file.ListRequest) (*file.ListResp, error)
- func (a *AwsOss) Put(ctx context.Context, st *file.PutFileStu) error
- func (a *AwsOss) Stat(ctx context.Context, st *file.FileMetaRequest) (*file.FileMetaResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAwsFile ¶
Types ¶
type AwsOss ¶
type AwsOss struct {
// contains filtered or unexported fields
}
AwsOss is a binding for aws oss storage.
func (*AwsOss) Get ¶
func (a *AwsOss) Get(ctx context.Context, st *file.GetFileStu) (io.ReadCloser, error)
Get object from aws oss.
func (*AwsOss) Stat ¶
func (a *AwsOss) Stat(ctx context.Context, st *file.FileMetaRequest) (*file.FileMetaResp, error)
Click to show internal directories.
Click to hide internal directories.