oss

package module
v0.0.0-...-0fed1d9 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

README

aliyunoss

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EndPoint        string
	AccessKeyId     string
	AccessKeySecret string
}

type OssClient

type OssClient struct {
	Client *oss.Client
}

func NewClient

func NewClient(c *Config) (*OssClient, error)

func (*OssClient) CreateBucket

func (oc *OssClient) CreateBucket(bucketName string) error

func (*OssClient) IsExist

func (oc *OssClient) IsExist(bucketName string) (bool, error)

func (*OssClient) Uploader

func (oc *OssClient) Uploader(u upload.Upload) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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