Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { *raknet.Conn // contains filtered or unexported fields }
Conn is a minecraft Connection
type ConnProcessor ¶
Processing Node
func (ConnProcessor) ProcessConn ¶
func (cp ConnProcessor) ProcessConn(c net.Conn) (bedprox.ProcessedConn, error)
type Gateway ¶
type Gateway struct { ID string Listeners []Listener ClientTimeout time.Duration ServerIDs []string Log logr.Logger ServerNotFoundMessage string }
func (Gateway) GetServerIDs ¶
type Listener ¶
type Listener struct { Bind string ReceiveProxyProtocol bool ReceiveRealIP bool PingStatus PingStatus *raknet.Listener }
type PingStatus ¶
type ProcessedConn ¶
type ProcessedConn struct { *Conn // contains filtered or unexported fields }
func (ProcessedConn) Disconnect ¶
func (c ProcessedConn) Disconnect(msg string) error
func (ProcessedConn) GatewayID ¶
func (c ProcessedConn) GatewayID() string
func (ProcessedConn) RemoteAddr ¶
func (c ProcessedConn) RemoteAddr() net.Addr
func (ProcessedConn) ServerAddr ¶
func (c ProcessedConn) ServerAddr() string
func (ProcessedConn) ServerNotFoundMessage ¶
func (c ProcessedConn) ServerNotFoundMessage() string
func (ProcessedConn) Username ¶
func (c ProcessedConn) Username() string
Click to show internal directories.
Click to hide internal directories.