xmpp/roster.go
changeset 155 fdd637733628
parent 153 bbd4166df95d
child 158 2d948fcbb5d7
equal deleted inserted replaced
154:cd9e0ddbd5e9 155:fdd637733628
    22 	Group        []string
    22 	Group        []string
    23 }
    23 }
    24 
    24 
    25 type Roster struct {
    25 type Roster struct {
    26 	Extension
    26 	Extension
    27 	get       chan []RosterItem
    27 	get      chan []RosterItem
    28 	toServer  chan Stanza
    28 	toServer chan Stanza
    29 }
    29 }
    30 
    30 
    31 type rosterClient struct {
    31 type rosterClient struct {
    32 	rosterChan   <-chan []RosterItem
    32 	rosterChan   <-chan []RosterItem
    33 	rosterUpdate chan<- RosterItem
    33 	rosterUpdate chan<- RosterItem