Documentation ¶
Index ¶
Constants ¶
View Source
const ( CMDSys = "SYSTEM" CMDProxy = "PROXY" )
View Source
const ( CAFileSep = ";" BlockStampKey = "X-Stamp" MsgIDKey = "Message-ID" IMAPSrvName = "BlockChainStampProtocol" IMAPCliVendor = "StampClient" StampMailBox = "StampMailBox" //"区块链邮票" INBOXName = "INBOX" SMTPHeaderSize = 1 << 11 DefaultCmdSrvAddr = "127.0.0.1:1100" MailAddrSep = "@" )
Variables ¶
View Source
var ( ConfErr = errors.New("no config for the user") TLSErr = errors.New("no valid tls config") )
Functions ¶
func RegCmdProc ¶
func RegCmdProc(cmd string, handler CmdHandler)
Types ¶
type CmdHandler ¶
func GetCmdProc ¶
func GetCmdProc(cmd string) CmdHandler
Click to show internal directories.
Click to hide internal directories.