9 type ReplyLine struct {
15 ReplyOK = ReplyLine{250, "OK"}
16 ReplyBadSyntax = ReplyLine{501, "syntax error"}
17 ReplyBadSequence = ReplyLine{503, "bad sequence of commands"}
20 type Envelope struct {
28 type Server interface {
30 TLSConfig() *tls.Config
32 OnMessageDelivered(Envelope) *ReplyLine