cloud

package
v2.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObsClient

type ObsClient struct {
	// contains filtered or unexported fields
}

func NewObsClient

func NewObsClient(cfg config.TecentOBS) *ObsClient

func (*ObsClient) CreateDir

func (c *ObsClient) CreateDir(key string) error

func (*ObsClient) Delete

func (c *ObsClient) Delete(key string) error

func (*ObsClient) DeleteDir

func (c *ObsClient) DeleteDir(key string) error

func (*ObsClient) FlushCdn added in v2.6.7

func (c *ObsClient) FlushCdn(cdnUrl, flushType string) error

func (*ObsClient) PutFile

func (c *ObsClient) PutFile(key, path string) error

func (*ObsClient) PutString

func (c *ObsClient) PutString(key, val string) error

Jump to

Keyboard shortcuts

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