Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlayerConn ¶
type PlayerConn struct { Status byte Out chan []byte In chan *models.Event Close chan bool Closed bool // contains filtered or unexported fields }
func NewPlayerConn ¶
func NewPlayerConn(conn *websocket.Conn) *PlayerConn
func (*PlayerConn) CloseConnection ¶
func (p *PlayerConn) CloseConnection(unexpected bool)
Click to show internal directories.
Click to hide internal directories.