Documentation
¶
Index ¶
- type Disco
- func (r *Disco) HandleIQ(iq *xmpp.IQ)
- func (r *Disco) HandleStanza(s xmpp.Stanza)
- func (r *Disco) Offline(error)
- func (r *Disco) Online(s xmppc.Session)
- func (disco *Disco) RequestInfo(jid xmpp.JID, handler func(*Info)) error
- func (disco *Disco) RequestItems(jid xmpp.JID, handler func(*Items)) error
- type Identity
- type Info
- type InfoRequest
- type InfoRequestHandler
- type Item
- type Items
- type ItemsRequest
- type ItemsRequestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disco ¶
type Disco struct { InfoRequestHandler ItemsRequestHandler // contains filtered or unexported fields }
func (*Disco) HandleStanza ¶
func (r *Disco) HandleStanza(s xmpp.Stanza)
func (*Disco) RequestInfo ¶
func (*Disco) RequestItems ¶
type Info ¶
Info stores disco#info content
func (*Info) AddFeature ¶
AddFeature adds an item to the features list
func (*Info) AddIdentity ¶
AddIdentity adds an item to the identities list
type InfoRequest ¶
type InfoRequest struct {
// contains filtered or unexported fields
}
func (*InfoRequest) JID ¶
func (r *InfoRequest) JID() xmpp.JID
func (*InfoRequest) Respond ¶
func (r *InfoRequest) Respond(info *Info)
type InfoRequestHandler ¶
type InfoRequestHandler func(*InfoRequest)
type ItemsRequest ¶
type ItemsRequest struct { Node string // contains filtered or unexported fields }
func (*ItemsRequest) JID ¶
func (r *ItemsRequest) JID() xmpp.JID
func (*ItemsRequest) Respond ¶
func (r *ItemsRequest) Respond(items *Items)
type ItemsRequestHandler ¶
type ItemsRequestHandler func(*ItemsRequest)
Click to show internal directories.
Click to hide internal directories.