# Functions
InitTCP listen all tcp.bind and start accept connections.
InitWebsocket listen all tcp.bind and start accept connections.
InitWebsocketWithTLS init websocket with tls.
InitWhitelist a whitelist struct.
NewBucket new a bucket struct.
NewChannel new a channel.
NewRing new a ring buffer.
NewRoom new a room struct, store channel room info.
NewRound new a round struct.
NewServer returns a new Server.
# Structs
Bucket is a channel holder.
Channel used by message pusher send msg to write goroutine.
Ring ring proto buffer.
Room is a room and store channel room info.
Round userd for connection round-robin get a reader/writer/timer for split big lock.
RoundOptions round options.
Server is comet server.
Whitelist .