Documentation
¶
Overview ¶
Package items contains service discovery items.
These were separated out into a separate package to prevent import loops.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
XMLName xml.Name `xml:"http://jabber.org/protocol/disco#items item"`
JID jid.JID `xml:"jid,attr"`
Name string `xml:"name,attr,omitempty"`
Node string `xml:"node,attr,omitempty"`
}
Item represents a discovered item.
func (Item) MarshalXML ¶
MarshalXML implements xml.Marshaler.
func (Item) TokenReader ¶
func (i Item) TokenReader() xml.TokenReader
TokenReader implements xmlstream.Marshaler.
Click to show internal directories.
Click to hide internal directories.