示例#1
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "mechanisms"}, Mechanisms{}, true, false)
	xmlencoder.AddExtension(xml.Name{NS, "auth"}, Auth{}, false, true)
	xmlencoder.AddExtension(xml.Name{NS, "success"}, Success{}, true, false)
	xmlencoder.AddExtension(xml.Name{NS, "challenge"}, Challenge{}, true, false)
	xmlencoder.AddExtension(xml.Name{NS, "response"}, Response{}, false, true)
	xmlencoder.AddExtension(xml.Name{NS, "failure"}, Failure{}, true, false)
}
示例#2
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "stream"}, Start{}, true, true)
	xmlencoder.AddExtension(xml.Name{NS, "features"}, Features{}, true, true)
	xmlencoder.AddExtension(xml.Name{NS, "error"}, Error{}, true, true)
}
示例#3
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "error"}, Error{}, true, true)
}
示例#4
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "starttls"}, Starttls{}, true, true)
	xmlencoder.AddExtension(xml.Name{NS, "proceed"}, Proceed{}, true, false)
	xmlencoder.AddExtension(xml.Name{NS, "failure"}, Failure{}, true, false)
}
示例#5
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "x"}, X{}, true, true)
}
示例#6
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "iq"}, Iq{}, true, true)
	xmlencoder.AddExtension(xml.Name{NS, "presence"}, Presence{}, true, true)
	xmlencoder.AddExtension(xml.Name{NS, "message"}, Message{}, true, true)
}
示例#7
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "vCard"}, Vcard{}, true, true)
}
示例#8
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "mood"}, Mood{}, true, true)
}
示例#9
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "captcha"}, Captcha{}, true, true)
}
示例#10
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "bind"}, Bind{}, true, true)
}
示例#11
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "query"}, Privacy{}, true, true)
}
示例#12
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "query"}, Configure{}, true, true)
}
示例#13
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "time"}, Time{}, true, true)
}
示例#14
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "ping"}, Ping{}, true, true)
}
示例#15
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "session"}, Session{}, true, true)
}
示例#16
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "query"}, Stats{}, true, true)
}
示例#17
0
func init() {
	xmlencoder.AddExtension(xml.Name{NS, "event"}, Event{}, true, true)
}