Exemple #1
0
func init() {
	xtream.NodeFactory.Add(func() xtream.Element {
		return &MucQuery{InnerElements: xtream.NewElements()}
	})
	xtream.NodeFactory.Add(func() xtream.Element {
		return &DiscoQuery{InnerElements: xtream.NewElements()}
	})
}
Exemple #2
0
func NewPrivateElement() *PrivateElement {
	return &PrivateElement{InnerElements: xtream.NewElements()}
}
Exemple #3
0
func NewIQElement() *IQElement {
	return &IQElement{InnerElements: xtream.NewElements()}
}
Exemple #4
0
func NewMessageElement() *MessageElement {
	return &MessageElement{InnerElements: xtream.NewElements()}
}