package
Version:
v0.0.0-...-2824937
Opens a new window with list of versions in this module.
Published: Nov 2, 2020
License: MIT, Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Agent interface {
WriteMsg(msg interface{})
LocalAddr() net.Addr
RemoteAddr() net.Addr
Close()
Destroy()
UserData() interface{}
SetUserData(data interface{})
}
func (gate *Gate) OnDestroy()
func (gate *Gate) Run(closeSig chan bool)
type OnlineUser struct {
Connection Agent
StrMD5 string
MapSafe *concurrent.ConcurrentMap
}
在线玩家的数据的结构体
Source Files
¶
Click to show internal directories.
Click to hide internal directories.