Documentation ¶
Index ¶
- type OSS
- func (m *OSS) GetBucketName() string
- func (m *OSS) GetObjectName(prefix, fileName string) string
- func (m *OSS) GetStoragePath(prefix, fileName string) string
- func (m *OSS) PresignedGetURL(ctx context.Context, objectName string, expires time.Duration) (string, error)
- func (m *OSS) PresignedPutURL(ctx context.Context, objectName string, expires time.Duration, ...) (string, error)
- func (m *OSS) StatObject(ctx context.Context, objectName string) (ossconf.ObjectInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSS ¶
type OSS struct {
// contains filtered or unexported fields
}
func (*OSS) GetBucketName ¶
func (*OSS) GetObjectName ¶
func (*OSS) GetStoragePath ¶
func (*OSS) PresignedGetURL ¶
func (*OSS) PresignedPutURL ¶
func (*OSS) StatObject ¶
Click to show internal directories.
Click to hide internal directories.