Versions in this module Expand all Collapse all v0 v0.1.1 Jun 2, 2024 v0.1.0 Jun 1, 2024 Changes in this version + type Article struct + Body io.Reader + Header map[string][]string + func (a *Article) String() string + func (a *Article) WriteTo(w io.Writer) (int64, error) + type Conn struct + func Dial(network, addr string) (*Conn, error) + func DialTLS(network, addr string, config *tls.Config) (*Conn, error) + func (c *Conn) Article(id string) (*Article, error) + func (c *Conn) ArticleText(id string) (io.Reader, error) + func (c *Conn) Authenticate(username, password string) error + func (c *Conn) Body(id string) (io.Reader, error) + func (c *Conn) Capabilities() ([]string, error) + func (c *Conn) Date() (time.Time, error) + func (c *Conn) Group(group string) (number, low, high int, err error) + func (c *Conn) Head(id string) (*Article, error) + func (c *Conn) HeadText(id string) (io.Reader, error) + func (c *Conn) Help() (io.Reader, error) + func (c *Conn) IHave(a *Article) error + func (c *Conn) Last() (number, msgid string, err error) + func (c *Conn) List(a ...string) ([]string, error) + func (c *Conn) ModeReader() error + func (c *Conn) NewGroups(since time.Time) ([]*Group, error) + func (c *Conn) NewNews(group string, since time.Time) ([]string, error) + func (c *Conn) Next() (number, msgid string, err error) + func (c *Conn) Overview(begin, end int) ([]MessageOverview, error) + func (c *Conn) Post(a *Article) error + func (c *Conn) Quit() error + func (c *Conn) RawIHave(r io.Reader) error + func (c *Conn) RawPost(r io.Reader) error + func (c *Conn) Stat(id string) (number, msgid string, err error) + type Error struct + Code uint + Msg string + func (e Error) Error() string + type Group struct + High int + Low int + Name string + Status string + type MessageOverview struct + Bytes int + Date time.Time + Extra []string + From string + Lines int + MessageId string + MessageNumber int + References []string + Subject string + type ProtocolError string + func (p ProtocolError) Error() string