Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeMinio = "minio" TypeAlioss = "alioss" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oss ¶
type Oss interface { PresignedPutURL(ctx context.Context, objectName string, expires time.Duration, etag, mimeType string, size int64) (string, error) PresignedGetURL(ctx context.Context, objectName string, expires time.Duration) (string, error) StatObject(ctx context.Context, objectName string) (ossconf.ObjectInfo, error) GetBucketName() string GetObjectName(prefix, fileName string) string GetStoragePath(prefix, fileName string) string }
Click to show internal directories.
Click to hide internal directories.