Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) AuthBasic(user, pass string) error
- func (c *Client) Delete(index int) error
- func (c *Client) List(index int) (int, int, error)
- func (c *Client) ListAll() ([]int, error)
- func (c *Client) Noop() error
- func (c *Client) Pass(secret string) error
- func (c *Client) Quit() error
- func (c *Client) Reset() error
- func (c *Client) Retrieve(index int) ([]byte, error)
- func (c *Client) Status() (int, int, error)
- func (c *Client) User(name string) error
- type Pop3Error
Constants ¶
View Source
const ( CRLF = "\r\n" USER = "USER" PASSWORD = "PASS" NOOP = "NOOP" RESET = "RSET" DELETE = "DELE" QUIT = "QUIT" STATUS = "STAT" LIST = "LIST" RETRIEVE = "RETR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.