bucket

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	*oss.Bucket
	// contains filtered or unexported fields
}

func New

func New(opt *Options) (*Bucket, error)

New create bucket

type Options

type Options struct {
	Endpoint        string
	Bucket          string
	AccessKeyID     string
	AccessKeySecret string
}

Options options to create oss client and access bucket

func (*Options) Valid

func (o *Options) Valid() error

Valid check options valid

Jump to

Keyboard shortcuts

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