Documentation ¶
Index ¶
- func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextLogger, ...) (adapter.Outbound, error)
- func RegisterOutbound(registry *outbound.Registry)
- type Outbound
- func (w *Outbound) Close() error
- func (w *Outbound) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error)
- func (w *Outbound) InterfaceUpdated()
- func (w *Outbound) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error)
- func (w *Outbound) PostStart() error
- func (w *Outbound) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOutbound ¶
func RegisterOutbound ¶
Types ¶
type Outbound ¶
func (*Outbound) DialContext ¶
func (*Outbound) InterfaceUpdated ¶
func (w *Outbound) InterfaceUpdated()
func (*Outbound) ListenPacket ¶
Click to show internal directories.
Click to hide internal directories.