Documentation ¶
Overview ¶
Package xmpptest provides utilities for XMPP testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
func NewSession(state xmpp.SessionState, rw io.ReadWriter) *xmpp.Session
NewSession returns a new XMPP session with the state bits set to state|xmpp.Ready.
NewSession panics on error for ease of use in testing, where a panic is acceptable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.