Documentation ¶
Index ¶
- func CopyEarlyConn(ctx context.Context, conn net.Conn, serverConn net.Conn) error
- func NewConnection(ctx context.Context, this N.Dialer, conn net.Conn, ...) error
- func NewDirectConnection(ctx context.Context, router adapter.Router, this N.Dialer, conn net.Conn, ...) error
- func NewDirectPacketConnection(ctx context.Context, router adapter.Router, this N.Dialer, conn N.PacketConn, ...) error
- func NewPacketConnection(ctx context.Context, this N.Dialer, conn N.PacketConn, ...) error
- func Register[Options any](registry *Registry, outboundType string, constructor ConstructorFunc[Options])
- type Adapter
- type ConstructorFunc
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyEarlyConn ¶
func NewConnection ¶
func NewDirectConnection ¶
func NewPacketConnection ¶
func NewPacketConnection(ctx context.Context, this N.Dialer, conn N.PacketConn, metadata adapter.InboundContext) error
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func NewAdapter ¶
func (*Adapter) Dependencies ¶
type ConstructorFunc ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
Click to show internal directories.
Click to hide internal directories.