oss

package
v0.4.23 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 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 SignURL added in v0.4.10

func SignURL(objectName, bucketName string) (string, error)

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