Documentation ¶
Index ¶
- type OneBucketOss
- func (o *OneBucketOss) Delete(_ context.Context, key string) error
- func (o *OneBucketOss) DeleteMulti(_ context.Context, keys []string) ([]string, error)
- func (o *OneBucketOss) Get(_ context.Context, key string) ([]byte, error)
- func (o *OneBucketOss) Save(_ context.Context, key string, data []byte, acl oss.ACLType) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OneBucketOss ¶
type OneBucketOss struct {
// contains filtered or unexported fields
}
OneBucketOss all oss store into one bucket 所有数据保存在同一个bucket中的方式
func NewOneBucketOss ¶
func NewOneBucketOss(endP, buckName, accKey, secret string) (*OneBucketOss, error)
NewOneBucketOss new
func (*OneBucketOss) Delete ¶
func (o *OneBucketOss) Delete(_ context.Context, key string) error
Delete delete
func (*OneBucketOss) DeleteMulti ¶
DeleteMulti delete multi keys
Click to show internal directories.
Click to hide internal directories.