Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { // bind to an entity ID interface{} // used in logging PrintID string // contains filtered or unexported fields }
type Handler ¶
type Handler interface { HandleRegisterArgs(*Conn, *cpb.ProviderMsg, *cpb.RegisterArgs) error HandleNotifyMsg(*Conn, *cpb.ProviderMsg, *cpb.NotifyMsgArgs) error HandleCloseGameMsg(*Conn, *cpb.ProviderMsg, *cpb.CloseGameArgs) error Disconnect(*Conn) }
Click to show internal directories.
Click to hide internal directories.