Documentation ¶
Index ¶
- func Broadcast(bcPro *BCWriteProto)
- func Connect(conn *ws.Conn, group string)
- func Init(createCh, destroyCh, joinCh chan<- *C)
- func JoinGroup(clientID, group string) error
- func LeaveAllGroup(clientID string) error
- func LeaveGroup(clientID, group string) error
- func OnlineClient() []string
- func SendToClient(pro *WriteProto)
- func SendToGroup(gPro *GWriteProto)
- type BCReadProto
- type BCWriteProto
- type C
- type GReadProto
- type GWriteProto
- type ReadProto
- type WriteProto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeaveAllGroup ¶
func LeaveGroup ¶
func OnlineClient ¶
func OnlineClient() []string
Types ¶
Click to show internal directories.
Click to hide internal directories.