package
0.0.0-20200103080059-261bb52eea6a
Repository: https://github.com/cluas/gim.git
Documentation: pkg.go.dev
# Functions
InitLogic is func for initial logic rpc client.
InitWebsocket is func to initial Websocket.
NewBucket is constructor of Bucket.
NewChannel is constructor of Channel.
NewRoom is constructor of Room.
NewServer returns a new Server.
# Variables
CurrentServer is var of current server.
ErrRoomIsDropped is err for room is dropped.
NoRoom is flag.
# Structs
Bucket is struct of Bucket.
BucketOptions is struct of Bucket Config.
Channel is struct of channel.
ConnectArg is rpc connect arg.
ConnectReply is struct for Connect reply.
DefaultOperator is default operator.
DisconnectArg is rpc disconnect arg.
DisconnectReply is struct for Disconnect reply.
Proto is struct for msg protocol.
Room is struct of Room.
RoomMsgArg is struct of room msg.
Server is struct for Comet Server.
# Interfaces
Operator is interface for operation.