ossc

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name = "oss"

Functions

This section is empty.

Types

type Cfg added in v0.1.20

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

func DefaultCfg added in v0.1.20

func DefaultCfg() Cfg

type Client

type Client struct {
	*oss.Client
}

func Get

func Get(names ...string) *Client

func (*Client) Close

func (t *Client) Close() error

func (*Client) Kind

func (t *Client) Kind() string

func (*Client) UpdateResObj

func (t *Client) UpdateResObj(val interface{})

Jump to

Keyboard shortcuts

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