Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) Auth(username, password string) error
- func (c *Client) Close() error
- func (c *Client) Delete(number int) error
- func (c *Client) List() ([]string, error)
- func (c *Client) MessageCount() int
- func (c *Client) Password(password string) error
- func (c *Client) Retr(number int) (*textproto.Reader, error)
- func (c *Client) Stat() (string, error)
- func (c *Client) Username(username string) error
Constants ¶
View Source
const ( OK = "+OK" ERROR = "-ERR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) MessageCount ¶
Click to show internal directories.
Click to hide internal directories.