postmail

package
v0.0.0-...-40a40b1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesEncryptToken

func AesEncryptToken(plainText, passphrase string) (string, error)

AesEncryptToken AesEncryptToken

Types

type JSONResult

type JSONResult struct {
	Code int    `json:"code"` //0 true,
	Msg  string `json:"msg"`
}

JSONResult JSONResult

func PostMail

func PostMail(t time.Time, tokenSolt, apiURL, subject, body, key string, tos []string) (rs *JSONResult, err error)

PostMail PostMail tokenSolt and key

Jump to

Keyboard shortcuts

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