Documentation ¶
Overview ¶
Package dialers provides implementations for N.Dialer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Overridden ¶
type Overridden struct {
// contains filtered or unexported fields
}
Overridden overrides destination.
func NewOverridden ¶
NewOverridden returns a new Overridden. dialer is optional while override must not nil.
func (*Overridden) DialContext ¶
func (*Overridden) ListenPacket ¶
func (o *Overridden) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error)
type Routed ¶
type Routed struct {
// contains filtered or unexported fields
}
Routed is a dialer with custom route rules.
func (*Routed) AppendRule ¶
AppendRule appends new rule.
func (*Routed) DialContext ¶
func (*Routed) ListenPacket ¶
Click to show internal directories.
Click to hide internal directories.