Documentation ¶
Index ¶
- func InitEmailConfig(server string, port int, from, name, password string)
- func LoadKeyStore(keyfile, passfile string) (*keystore.Key, error)
- func SafeReadFile(file string) ([]byte, error)
- func SendEmail(to, cc []string, subject, content string) error
- func SendEmailWithAttach(to, cc []string, subject, content string, attachFiles []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitEmailConfig ¶
InitEmailConfig init email config
func LoadKeyStore ¶
LoadKeyStore load keystore from keyfile and passfile
func SafeReadFile ¶
SafeReadFile check permissions is '0400' and read file
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package crypto provides facilities for ecdsa encryption and decryption.
|
Package crypto provides facilities for ecdsa encryption and decryption. |
Package keystore encrypt private key and save on disk uses JSON encoding.
|
Package keystore encrypt private key and save on disk uses JSON encoding. |
Package rlp implements the RLP serialization format.
|
Package rlp implements the RLP serialization format. |
Click to show internal directories.
Click to hide internal directories.