wechat

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send() *cli.Command

Send parse values from *cli.context and return *cli.Command. Values include wechat official account id, secret, server token, encoding AES key, Message, Title, and Receivers. If multiple receivers are provided then the string is split with "," separator and each receiverID is added to receiver.

Types

type Wechat

type Wechat struct {
	AppID          string
	AppSecret      string
	Token          string
	EncodingAESKey string
	Title          string
	Message        string
	Receivers      string
}

Wechat struct holds data parsed via flags for the service.

Jump to

Keyboard shortcuts

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