Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LastActivity ¶
type LastActivity struct {
// contains filtered or unexported fields
}
LastActivity represents a last activity stream module.
func New ¶
func New(disco *xep0030.DiscoInfo, router *router.Router) *LastActivity
New returns a last activity IQ handler module.
func (*LastActivity) MatchesIQ ¶
func (x *LastActivity) MatchesIQ(iq *xmpp.IQ) bool
MatchesIQ returns whether or not an IQ should be processed by the last activity module.
func (*LastActivity) ProcessIQ ¶
func (x *LastActivity) ProcessIQ(iq *xmpp.IQ)
ProcessIQ processes a last activity IQ taking according actions over the associated stream.
func (*LastActivity) Shutdown ¶ added in v0.4.0
func (x *LastActivity) Shutdown() error
Shutdown shuts down last activity module.
Click to show internal directories.
Click to hide internal directories.