Documentation ¶
Index ¶
- func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLogger, ...) (adapter.Inbound, error)
- func RegisterInbound(registry *inbound.Registry)
- type Inbound
- func (t *Inbound) Close() error
- func (t *Inbound) NewConnectionEx(ctx context.Context, conn net.Conn, source M.Socksaddr, ...)
- func (t *Inbound) NewPacketConnectionEx(ctx context.Context, conn N.PacketConn, source M.Socksaddr, ...)
- func (t *Inbound) PostStart() error
- func (t *Inbound) PrepareConnection(network string, source M.Socksaddr, destination M.Socksaddr) error
- func (t *Inbound) Start() error
- func (t *Inbound) Tag() string
- func (t *Inbound) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInbound ¶
func RegisterInbound ¶
Types ¶
type Inbound ¶
type Inbound struct {
// contains filtered or unexported fields
}
func (*Inbound) NewConnectionEx ¶
func (*Inbound) NewPacketConnectionEx ¶
func (*Inbound) PrepareConnection ¶
Click to show internal directories.
Click to hide internal directories.