Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RosterItem ¶
type RosterItem struct { User string Contact string Name string Subscription string Ask bool Groups []string }
RosterItem represents a roster item storage entity.
func (*RosterItem) FromBytes ¶
func (ri *RosterItem) FromBytes(r io.Reader)
FromBytes deserializes a RosterItem entity from it's gob binary representation.
func (*RosterItem) ToBytes ¶
func (ri *RosterItem) ToBytes(w io.Writer)
ToBytes converts a RosterItem entity to it's gob binary representation.
type RosterNotification ¶
RosterNotification represents a roster subscription pending notification.
func (*RosterNotification) FromBytes ¶
func (rn *RosterNotification) FromBytes(r io.Reader)
FromBytes deserializes a RosterNotification entity from it's gob binary representation.
func (*RosterNotification) ToBytes ¶
func (rn *RosterNotification) ToBytes(w io.Writer)
ToBytes converts a RosterNotification entity to it's gob binary representation.
Click to show internal directories.
Click to hide internal directories.