Documentation ¶
Index ¶
- Variables
- func NewMinioOss() file.File
- type MinioMetaData
- type MinioOss
- func (m *MinioOss) Del(ctx context.Context, st *file.DelRequest) error
- func (m *MinioOss) Get(ctx context.Context, st *file.GetFileStu) (io.ReadCloser, error)
- func (m *MinioOss) Init(ctx context.Context, config *file.FileConfig) error
- func (m *MinioOss) List(ctx context.Context, st *file.ListRequest) (*file.ListResp, error)
- func (m *MinioOss) Put(ctx context.Context, st *file.PutFileStu) error
- func (m *MinioOss) Stat(ctx context.Context, st *file.FileMetaRequest) (*file.FileMetaResp, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingEndPoint error = errors.New("missing endpoint info in metadata") ErrClientNotExist error = errors.New("specific client not exist") ErrInvalidConfig error = errors.New("invalid minio oss config") ErrNotSpecifyEndPoint error = errors.New("not specify endpoint in metadata") )
Functions ¶
func NewMinioOss ¶
Types ¶
type MinioMetaData ¶
type MinioOss ¶
type MinioOss struct {
// contains filtered or unexported fields
}
func (*MinioOss) Get ¶
func (m *MinioOss) Get(ctx context.Context, st *file.GetFileStu) (io.ReadCloser, error)
func (*MinioOss) Stat ¶
func (m *MinioOss) Stat(ctx context.Context, st *file.FileMetaRequest) (*file.FileMetaResp, error)
Click to show internal directories.
Click to hide internal directories.