Documentation ¶ Index ¶ type OssClient func NewOssClient(endpoint, bucketName, accessKeyId, accessKeySecret string, selfDomain bool) (*OssClient, error) func (c *OssClient) ReadStream(objectKey string) (io.ReadCloser, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type OssClient ¶ type OssClient struct { Client *oss.Client Bucket *oss.Bucket } func NewOssClient ¶ func NewOssClient(endpoint, bucketName, accessKeyId, accessKeySecret string, selfDomain bool) (*OssClient, error) func (*OssClient) ReadStream ¶ func (c *OssClient) ReadStream(objectKey string) (io.ReadCloser, error) Source Files ¶ View all Source files Oss.go Click to show internal directories. Click to hide internal directories.