aliyun

package
v0.0.0-...-65fcbcb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: BSD-2-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aliyun

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

func NewAliyun

func NewAliyun(config Config) (*Aliyun, error)

func (*Aliyun) Send

func (aliyun *Aliyun) Send(message sachet.Message) error

type Config

type Config struct {
	RegionId        string `yaml:"region_id"`
	AccessKey       string `yaml:"access_key"`
	AccessKeySecret string `yaml:"access_key_secret"`

	SignName         string `yaml:"sign_name"`
	TemplateCode     string `yaml:"template_code"`
	TemplateParamKey string `yaml:"template_param_key"`
}

Jump to

Keyboard shortcuts

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