aws

package
v0.0.0-...-94fc2ed Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAwsFile

func NewAwsFile() file.File

Types

type AwsOss

type AwsOss struct {
	// contains filtered or unexported fields
}

AwsOss is a binding for aws oss storage.

func (*AwsOss) Del

func (a *AwsOss) Del(ctx context.Context, st *file.DelRequest) error

Del object in aws oss.

func (*AwsOss) Get

func (a *AwsOss) Get(ctx context.Context, st *file.GetFileStu) (io.ReadCloser, error)

Get object from aws oss.

func (*AwsOss) Init

func (a *AwsOss) Init(ctx context.Context, config *file.FileConfig) error

Init instance by config.

func (*AwsOss) List

func (a *AwsOss) List(ctx context.Context, st *file.ListRequest) (*file.ListResp, error)

List objects from aws oss.

func (*AwsOss) Put

func (a *AwsOss) Put(ctx context.Context, st *file.PutFileStu) error

Put file to aws oss.

func (*AwsOss) Stat

Jump to

Keyboard shortcuts

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