Discover Packages
github.com/andrewzeneski/rsc
xmpp
package
Version:
v0.0.0-...-d11cef7
Opens a new window with list of versions in this module.
Published: Mar 11, 2013
License: BSD-3-Clause
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types type Chat type Client type Contact type Presence type Roster type Status NewClient(host, user, passwd) (c) Close() (c) Recv() (c) Roster() (c) Send(chat) (c) Status(status, msg) (s) String()
Documentation
¶
Package xmpp implements a simple Google Talk client
using the XMPP protocol described in RFC 3920 and RFC 3921 .
NewClient creates a new connection to a host given as "hostname" or "hostname:port".
If host is not specified, the DNS SRV should be used to find the host from the domainpart of the JID.
Default the port to 5222.
Recv wait next token of chat.
Roster asks for the chat roster.
const (
Unavailable Status = iota
DoNotDisturb
ExtendedAway
Away
Available
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.