Documentation ¶
Index ¶
- Constants
- func GenerateKeys(privpath, pubpath string) error
- func InitMail(sendgridAPIKey, fromAddr, fromName string)
- func LoadConfigEnv()
- func LoadConfigFile(path string) error
- func SendMail(ToAddr, ToName, subject, text, textHTML string) error
- func SendMailWithTemplate(ToAddr, ToName, subject, tmplfile string, dat map[string]string) error
- type APIConf
- type DBConf
- type FileConf
- type MailConf
Constants ¶
View Source
const DefaultRSABit = 8192
Variables ¶
This section is empty.
Functions ¶
func GenerateKeys ¶ added in v1.4.0
func InitMail ¶
func InitMail(sendgridAPIKey, fromAddr, fromName string)
InitMail setup mail configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.