Documentation ¶
Index ¶
- Variables
- func Connect(conn *net.UDPConn, remote *net.UDPAddr, client ClientConfig)
- func MessageTypeController(conn *net.UDPConn, message []byte, rlen int, remote *net.UDPAddr)
- func Pong(port int)
- func PongHandleRequest(conn net.Conn)
- func Shutdown() int
- func Start()
- func Whoami(conn *net.UDPConn, remote *net.UDPAddr)
- type ClientConfig
- type Config
- type CurrentClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CurrentClientList map[string]CurrentClient CurrentClientIdList map[string]int TcpServerBool = true PongServer net.Listener ScriptFile string )
Functions ¶
func MessageTypeController ¶
Types ¶
type ClientConfig ¶
func Parse ¶
func Parse(configPath string) ([]ClientConfig, error)
type CurrentClient ¶
Click to show internal directories.
Click to hide internal directories.