Documentation ¶
Index ¶
- type OSS
- func (m *OSS) DeleteObject(ctx context.Context, objectName string) error
- func (m *OSS) GetBucketName() string
- func (m *OSS) GetObject(ctx context.Context, objectName string, opts oss.GetObjectOption) (io.Reader, error)
- 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) PutObject(ctx context.Context, objectName string, reader io.Reader, objectSize int64, ...) error
- func (m *OSS) StatObject(ctx context.Context, objectName string) (oss.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) DeleteObject ¶ added in v0.0.10
func (*OSS) GetBucketName ¶
func (*OSS) PresignedGetURL ¶
func (*OSS) PresignedPutURL ¶
func (*OSS) StatObject ¶
Click to show internal directories.
Click to hide internal directories.