Versions in this module Expand all Collapse all v0 v0.0.1 Mar 1, 2020 Changes in this version + var DefaultConfig tls.Config + type Chat struct + Presence *Presence + Remote string + Roster Roster + Text string + Type string + type Client struct + func NewClient(host, user, passwd string) (*Client, error) + func (c *Client) Close() error + func (c *Client) Recv() (chat Chat, err error) + func (c *Client) Roster() error + func (c *Client) Send(chat Chat) error + func (c *Client) Status(status Status, msg string) error + type Contact struct + Group []string + Name string + Remote string + type Presence struct + Priority int + Remote string + Status Status + StatusMsg string + type Roster []Contact + type Status int + const Available + const Away + const DoNotDisturb + const ExtendedAway + const Unavailable + func (s Status) String() string