Documentation ¶
Index ¶
Constants ¶
View Source
const ( SubscriptionNone = "none" SubscriptionFrom = "from" SubscriptionTo = "to" SubscriptionBoth = "both" SubscriptionRemove = "remove" )
roster item subscription values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Username string JID string Name string Subscription string Ask bool Ver int Groups []string }
Item represents a roster item storage entity.
func (*Item) ContactJID ¶
ContactJID parses and returns roster item contact JID.
type Notification ¶
Notification represents a roster subscription pending notification.
func (*Notification) FromGob ¶
func (rn *Notification) FromGob(dec *gob.Decoder)
FromGob deserializes a Notification entity from it's gob binary representation.
func (*Notification) ToGob ¶
func (rn *Notification) ToGob(enc *gob.Encoder)
ToGob converts a Notification entity to it's gob binary representation.
Click to show internal directories.
Click to hide internal directories.