Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v0.0.37
func (*Connection) DisconnectFromServer ¶ added in v0.0.37
func (o *Connection) DisconnectFromServer(reason string)
type OnConnctedFuncType ¶
type OnDisconnctedFuncType ¶
type TcpServer ¶
type TcpServer struct {
// contains filtered or unexported fields
}
func NewTcpServer ¶
func NewTcpServer(config *Config, onConnctedFunc OnConnctedFuncType, onDisconnctedFunc OnDisconnctedFuncType, onReceiveFunc OnReceiveFuncType) *TcpServer
func (*TcpServer) DisconnectConnection ¶ added in v0.0.37
func (*TcpServer) SendToUser ¶ added in v0.0.16
Click to show internal directories.
Click to hide internal directories.