oss

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSS

type OSS interface {
	MakeBucket(ctx context.Context, bucketName string) error                                               // 创建桶
	PutObject(ctx context.Context, bucketName string, objectName string, file *multipart.FileHeader) error // 上传文件
}

OSS oss接口

type OSSClient

type OSSClient struct {
	Store OSS
}

OSSClient oss客户端

func NewOSS

func NewOSS() (*OSSClient, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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