aliyun

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL