oss

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteOSSFile

func DeleteOSSFile(key, bucketName string) bool

func InitOSS

func InitOSS(rc *RootConfig)

func MoveOSSFile added in v0.2.3

func MoveOSSFile(srcKey, destKey, bucketName string) bool

func UploadForFile

func UploadForFile(key string, reader io.Reader, bucketName string) bool

Types

type RootConfig

type RootConfig struct {
	Config ossConfig `yaml:"oss"`
}

func NewConfig

func NewConfig() *RootConfig

Jump to

Keyboard shortcuts

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