oss

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteOSSFile

func DeleteOSSFile(key, bucketName string)

func InitOSS

func InitOSS(rc *RootConfig)

func UploadForFile

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

Types

type RootConfig

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

func NewConfig added in v0.0.15

func NewConfig() *RootConfig

Jump to

Keyboard shortcuts

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