Documentation ¶
Overview ¶
Implements the IMAP ID Extension, defined in RFC 2971.
Index ¶
Constants ¶
View Source
const ( // Name of the program. FieldName = "name" // Version number of the program FieldVersion = "version" // Name of the operating system. FieldOS = "os" // Version of the operating system. FieldOSVersion = "os-version" // Vendor of the client/server. FieldVendor = "vendor" // URL to contact for support. FieldSupportURL = "support-url" // Postal address of contact/vendor. FieldAddress = "address" // Date program was released, specified as a date-time in IMAP4rev1. FieldDate = "date" // Command used to start the program. FieldCommand = "command" // Arguments supplied on the command line, if any. FieldArguments = "arguments" // Description of environment, i.e., UNIX environment variables or Windows // registry settings. FieldEnvironment = "environment" )
Fields used in Id.
View Source
const Capability = "ID"
The ID capability.
Variables ¶
This section is empty.
Functions ¶
func NewExtension ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an ID client.
type ID ¶
Fields identifying a client or a server. Keys MUST NOT be longer than 30 bytes, values MUST NOT be longer than 1024 bytes. The number of fields MUST NOT be greater than 30.
Click to show internal directories.
Click to hide internal directories.