Documentation ¶
Index ¶
- type ProxyConfig
- type ProxyConnect
- func (this *ProxyConnect) AddLocalPlayer(player string, uuid uuid.UUID) (ok int)
- func (this *ProxyConnect) HasServer(name string) (val bool)
- func (this *ProxyConnect) MaxPlayers() (val uint16)
- func (this *ProxyConnect) OnRedirect(handler RedirectHandler)
- func (this *ProxyConnect) Players() (val uint16)
- func (this *ProxyConnect) QueryRemotePlayers()
- func (this *ProxyConnect) RemoveLocalPlayer(player string, uuid uuid.UUID)
- func (this *ProxyConnect) ResendLocalPlayers()
- func (this *ProxyConnect) Server(name string) (val *Server)
- type RedirectHandler
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyConfig ¶
type ProxyConfig struct { Address string Port uint16 Motd *string Version string Maxplayers *uint16 }
func NewProxyConfig ¶
type ProxyConnect ¶
type ProxyConnect struct {
// contains filtered or unexported fields
}
func NewProxyConnect ¶
func NewProxyConnect(addr *string, user *string, pass *string, proxy *ProxyConfig, done chan bool) (this *ProxyConnect)
func (*ProxyConnect) AddLocalPlayer ¶
func (this *ProxyConnect) AddLocalPlayer(player string, uuid uuid.UUID) (ok int)
func (*ProxyConnect) HasServer ¶
func (this *ProxyConnect) HasServer(name string) (val bool)
func (*ProxyConnect) MaxPlayers ¶
func (this *ProxyConnect) MaxPlayers() (val uint16)
func (*ProxyConnect) OnRedirect ¶
func (this *ProxyConnect) OnRedirect(handler RedirectHandler)
func (*ProxyConnect) Players ¶
func (this *ProxyConnect) Players() (val uint16)
func (*ProxyConnect) QueryRemotePlayers ¶
func (this *ProxyConnect) QueryRemotePlayers()
func (*ProxyConnect) RemoveLocalPlayer ¶
func (this *ProxyConnect) RemoveLocalPlayer(player string, uuid uuid.UUID)
func (*ProxyConnect) ResendLocalPlayers ¶
func (this *ProxyConnect) ResendLocalPlayers()
func (*ProxyConnect) Server ¶
func (this *ProxyConnect) Server(name string) (val *Server)
type RedirectHandler ¶
Click to show internal directories.
Click to hide internal directories.