qiniu

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(accessKey, secretKey string) *Client

func (Client) Delete

func (c Client) Delete(bucket, key string) error

func (Client) GetUploadToken

func (c Client) GetUploadToken(bucket string) string

func (Client) PutFile

func (c Client) PutFile(ctx context.Context, bucket, key string, data []byte) error

func (Client) RefreshUrls

func (c Client) RefreshUrls(urlsToRefresh []string) error

type SmsClient

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

func NewSmsClient

func NewSmsClient(accessKey, secretKey string) *SmsClient

func (SmsClient) SendMessage

func (c SmsClient) SendMessage(signatureId, templateId string, mobiles []string, parameters map[string]interface{}) (*string, error)

Jump to

Keyboard shortcuts

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