Documentation ¶
Index ¶
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.