oss_cli

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: MIT Imports: 9 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name = "oss"

Functions

func GetCfg

func GetCfg() map[string]ClientCfg

func GetClient

func GetClient(names ...string) *oss.Bucket

Types

type ClientCfg

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

func GetDefaultCfg

func GetDefaultCfg() ClientCfg

Jump to

Keyboard shortcuts

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