xep0030

package
v0.0.0-...-ee83f8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature struct {
	Var string `xml:"var,attr"`
}

Feature represents a XEP0030 feature

type Identity

type Identity struct {
	Category string `xml:"category,attr"`
	Type     string `xml:"type,attr"`
	Name     string `xml:"name,attr"`
	Lang     string `xml:"lang,attr,omitempty"`
}

Identity represents a XEp0030 identitiy

type Item

type Item struct {
	JID  xmpp.JID `xml:"jid,attr"`
	Node string   `xml:"node,attr,omitempty"`
	Name string   `xml:"name,attr,omitempty"`
}

Item represents a XEP0030 item

type QueryInfo

type QueryInfo struct {
	XMLName    xml.Name   `xml:"http://jabber.org/protocol/disco#info query"`
	Node       string     `xml:"node,attr,omitempty"`
	Identities []Identity `xml:"identity"`
	Features   []Feature  `xml:"feature"`
}

QueryInfo represents a query for disco info

type QueryItems

type QueryItems struct {
	XMLName xml.Name `xml:"http://jabber.org/protocol/disco#items query"`
	Node    string   `xml:"node,attr,omitempty"`
	Items   []Item   `xml:"item"`
}

QueryItems represents a query for disco items

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL