Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comet ¶
type Comet struct { Ctx context.Context Cancel context.CancelFunc // contains filtered or unexported fields }
Comet is a comet.
func (*Comet) Broadcast ¶
func (c *Comet) Broadcast(arg *comet.BroadcastReq) (err error)
Broadcast broadcast a message.
func (*Comet) BroadcastRoom ¶
func (c *Comet) BroadcastRoom(arg *comet.BroadcastRoomReq) (err error)
BroadcastRoom broadcast a room message.
Click to show internal directories.
Click to hide internal directories.