Documentation
¶
Index ¶
- func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextLogger, ...) (adapter.Outbound, error)
- func RegisterOutbound(registry *outbound.Registry)
- type Outbound
- func (s *Outbound) CloseIdleConnections()
- func (s *Outbound) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error)
- func (s *Outbound) InterfaceUpdated(ctx context.Context)
- func (s *Outbound) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error)
- func (s *Outbound) MultiplexEnabled() bool
- func (s *Outbound) SetKeepIdleConnections(keep bool)
- func (s *Outbound) Start(stage adapter.StartStage, scope *adapter.Scope) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOutbound ¶
func RegisterOutbound ¶
Types ¶
type Outbound ¶
func (*Outbound) CloseIdleConnections ¶ added in v1.14.3
func (s *Outbound) CloseIdleConnections()
func (*Outbound) DialContext ¶
func (*Outbound) InterfaceUpdated ¶
func (*Outbound) ListenPacket ¶
func (*Outbound) MultiplexEnabled ¶ added in v1.14.3
func (*Outbound) SetKeepIdleConnections ¶ added in v1.14.3
Click to show internal directories.
Click to hide internal directories.