func (r *RosterItems) Namespace() string {
	return r.XMLName.Space
}
Namespace lets RosterItems implement the IQPayload interface
package stanza
import (
	"encoding/xml"
)
const (
	NSRoster = "jabber:iq:roster"
	SubscriptionNone = "none"
	SubscriptionTo = "to"
	SubscriptionFrom = "from"
	SubscriptionBoth = "both"
)
type Roster struct {
	XMLName xml.Name `xml:"jabber:iq:roster query"`
	ResultSet *ResultSet `xml:"set,omitempty"`
}
func (r *Roster) Namespace() string {
	return r.XMLName.Space
}
func (r *Roster) GetSet() *ResultSet {
	return r.ResultSet
}
func (iq *IQ) RosterIQ() *Roster {
	r := Roster{
		XMLName: xml.Name{
			Space: NSRoster,
			Local: "query",
		},
	}
	iq.Payload = &r
	return &r
}
type RosterItems struct {
	XMLName xml.Name     `xml:"jabber:iq:roster query"`
	Items   []RosterItem `xml:"item"`
	ResultSet *ResultSet `xml:"set,omitempty"`
}