Versions in this module Expand all Collapse all v1 v1.1.0 May 21, 2018 v1.0.0 Sep 29, 2016 Changes in this version + var ErrInvalidJID = errors.New("xmpp: invalid JID") + var ErrPresenceUnavailable = errors.New("xmpp: presence unavailable") + func GetPresence(c context.Context, to string, from string) (string, error) + func GetPresenceMulti(c context.Context, to []string, from string) ([]string, error) + func Handle(f func(c context.Context, m *Message)) + func Invite(c context.Context, to, from string) error + type Message struct + Body string + RawXML bool + Sender string + To []string + Type string + func (m *Message) Send(c context.Context) error + type Presence struct + Sender string + State string + Status string + To string + Type string + func (p *Presence) Send(c context.Context) error