Versions in this module Expand all Collapse all v1 v1.1.1 Mar 20, 2022 Changes in this version + var Debug bool v1.1.0 Mar 20, 2022 Changes in this version + type Client struct + func Dial(addr string) (c *Client, err error) + func DialTLS(addr string) (c *Client, err error) + func NewClient(conn net.Conn) (*Client, error) + func (c *Client) Authorization(user, pass string) error + func (c *Client) Dele(msg int) error + func (c *Client) ListAll() (list []MessageList, err error) + func (c *Client) Noop() error + func (c *Client) Quit() error + func (c *Client) Rset() error + func (c *Client) Stat() (count, size int, err error) + type Connection struct + Reader *textproto.Reader + Writer *textproto.Writer + func NewConnection(conn io.ReadWriteCloser) *Connection + func (c *Connection) Close() error + func (c *Connection) Cmd(format string, args ...interface{}) (string, error) + func (c *Connection) ReadLine() (string, error) + func (c *Connection) ReadLines() (lines []string, err error) + type MessageList struct + ID int + Size int