Documentation
¶
Index ¶
- Variables
- func SniffClientHandshake(conn bufio.PeekConn, metadata *adapter.Metadata) error
- type Outbound
- func (o *Outbound) DialContext(context.Context, string, string) (net.Conn, error)
- func (o *Outbound) InjectConnection(ctx context.Context, conn *bufio.CachedConn, metadata *adapter.Metadata) error
- func (o *Outbound) Name() (name string)
- func (o *Outbound) PostInitialize(router adapter.Router, provider adapter.RouteResourceProvider) error
- func (o *Outbound) Reload(options adapter.OutboundReloadOptions) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadPacket = errors.New("bad Minecraft handshake packet")
Functions ¶
Types ¶
type Outbound ¶
type Outbound struct {
// contains filtered or unexported fields
}
func NewOutbound ¶
func (*Outbound) DialContext ¶
func (*Outbound) InjectConnection ¶
func (*Outbound) PostInitialize ¶
Click to show internal directories.
Click to hide internal directories.