Documentation ¶
Index ¶
- Constants
- func ToMap(attr []xml.Attr) map[string]string
- type Conn
- func (c *Conn) Auth(user, pass, resource string)
- func (c *Conn) Body() string
- func (c *Conn) Discover(from, to string)
- func (c *Conn) Features() *features
- func (c *Conn) KeepAlive()
- func (c *Conn) MUCPart(roomId string)
- func (c *Conn) MUCPresence(roomId, jid string)
- func (c *Conn) MUCSend(mtype, to, from, body string)
- func (c *Conn) Next() (xml.StartElement, error)
- func (c *Conn) Oauth(token, resource string)
- func (c *Conn) Presence(jid, pres string)
- func (c *Conn) Query() *query
- func (c *Conn) Roster(from, to string)
- func (c *Conn) StartTLS()
- func (c *Conn) Stream(jid, host string)
- func (c *Conn) UseTLS(host string)
- type Message
Constants ¶
View Source
const ( NsJabberClient = "jabber:client" NsStream = "http://etherx.jabber.org/streams" NsIqAuth = "jabber:iq:auth" NsIqRoster = "jabber:iq:roster" NsSASL = "urn:ietf:params:xml:ns:xmpp-sasl" NsTLS = "urn:ietf:params:xml:ns:xmpp-tls" NsDisco = "http://jabber.org/protocol/disco#items" NsMuc = "http://jabber.org/protocol/muc" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) MUCPresence ¶
Click to show internal directories.
Click to hide internal directories.