cloud

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 12 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

type SmsClient added in v2.8.0

type SmsClient struct {
	SdkAppid string
	SignName string
	// contains filtered or unexported fields
}

func NewSmsClient added in v2.8.0

func NewSmsClient(cfg config.TecentSms) *SmsClient

func (*SmsClient) SendMsg added in v2.8.0

func (s *SmsClient) SendMsg(phone, tplId string, args []string) (*sms.SendSmsResponse, error)

Jump to

Keyboard shortcuts

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