Versions in this module Expand all Collapse all v0 v0.3.5 Nov 9, 2018 v0.3.4 Nov 3, 2018 v0.3.3 Oct 3, 2018 v0.3.2 Sep 3, 2018 v0.3.1 Jul 17, 2018 v0.3.0 Jul 6, 2018 Changes in this version + const SubscriptionBoth + const SubscriptionFrom + const SubscriptionNone + const SubscriptionRemove + const SubscriptionTo + type Item struct + Ask bool + Groups []string + JID string + Name string + Subscription string + Username string + Ver int + func NewItem(elem xml.XElement) (*Item, error) + func (ri *Item) ContactJID() *jid.JID + func (ri *Item) Element() xml.XElement + func (ri *Item) FromGob(dec *gob.Decoder) + func (ri *Item) ToGob(enc *gob.Encoder) + type Notification struct + Contact string + JID string + Presence *xml.Presence + func (rn *Notification) FromGob(dec *gob.Decoder) + func (rn *Notification) ToGob(enc *gob.Encoder) + type Version struct + DeletionVer int + Ver int + func (rv *Version) FromGob(dec *gob.Decoder) + func (rv *Version) ToGob(enc *gob.Encoder)