oss

package
v0.0.0-...-8b647c1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 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 AliyunOSS

type AliyunOSS struct {
	*oss.Client
}

func NewAliyunOss

func NewAliyunOss(endpoint, ak, sk string) (*AliyunOSS, error)

func (*AliyunOSS) Exist

func (a *AliyunOSS) Exist(bucket, key string) (bool, error)

func (*AliyunOSS) Get

func (a *AliyunOSS) Get(bucket, key string) ([]byte, error)

func (*AliyunOSS) Put

func (a *AliyunOSS) Put(bucket, key string, value []byte) error

Jump to

Keyboard shortcuts

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