Documentation ¶
Overview ¶
Package cmdprocessor provides a set of structs, variables and methods to process SMTP clients' commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Contains commands and their relative functions (to be executed when a command is issued) Commands map[string]func(*Session, textual.Statement) Reply = map[string]func(*Session, textual.Statement) Reply{ "auth": auth.Process, "data": data.Process, "ehlo": ehlo.Process, "helo": helo.Process, "mail": mail.Process, "noop": noop.Process, "quit": quit.Process, "rcpt": rcpt.Process, "rset": rset.Process, "starttls": starttls.Process, } )
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package auth implements SMTP authentication, such as PLAIN, LOGIN, and CRAM-MD5 SASL methods.
|
Package auth implements SMTP authentication, such as PLAIN, LOGIN, and CRAM-MD5 SASL methods. |
Implements the DATA command.
|
Implements the DATA command. |
Implements the EHLO command.
|
Implements the EHLO command. |
Implements the HELO command.
|
Implements the HELO command. |
Implements the MAIL command.
|
Implements the MAIL command. |
Implements the NOOP command.
|
Implements the NOOP command. |
Implements the QUIT command.
|
Implements the QUIT command. |
Implements the RCPT command.
|
Implements the RCPT command. |
Implements the RSET command.
|
Implements the RSET command. |
Implements the STARTTLS command.
|
Implements the STARTTLS command. |
Implements the VRFY command.
|
Implements the VRFY command. |
Click to show internal directories.
Click to hide internal directories.