xmpp/status.go
changeset 155 fdd637733628
parent 153 bbd4166df95d
child 163 3f891f7fe817
equal deleted inserted replaced
154:cd9e0ddbd5e9 155:fdd637733628
     5 import (
     5 import (
     6 	"fmt"
     6 	"fmt"
     7 )
     7 )
     8 
     8 
     9 type statmgr struct {
     9 type statmgr struct {
    10 	newStatus     chan Status
    10 	newStatus   chan Status
    11 	newlistener chan chan Status
    11 	newlistener chan chan Status
    12 }
    12 }
    13 
    13 
    14 func newStatmgr(client chan<- Status) *statmgr {
    14 func newStatmgr(client chan<- Status) *statmgr {
    15 	s := statmgr{}
    15 	s := statmgr{}