Documentation ¶
Index ¶
- type DOMAIN_MARK_KEY
- type Dialer
- type ForceModeKey
- type IP_MARK_KEY
- type Resolver
- type Shunt
- func (f *Shunt) Close() error
- func (s *Shunt) Conn(ctx context.Context, host netapi.Address) (net.Conn, error)
- func (s *Shunt) Dispatch(ctx context.Context, host netapi.Address) (netapi.Address, error)
- func (c *Shunt) DumpProcess(ctx context.Context, addr netapi.Address) (s string)
- func (f *Shunt) LookupIP(ctx context.Context, domain string, opts ...func(*netapi.LookupIPOption)) ([]net.IP, error)
- func (s *Shunt) PacketConn(ctx context.Context, host netapi.Address) (net.PacketConn, error)
- func (f *Shunt) Raw(ctx context.Context, req dnsmessage.Question) (dnsmessage.Message, error)
- func (s *Shunt) Resolver(ctx context.Context, domain string) netapi.Resolver
- func (s *Shunt) Search(ctx context.Context, addr netapi.Address) bypass.ModeEnum
- func (s *Shunt) Tags() []string
- func (s *Shunt) Update(c *pc.Setting)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DOMAIN_MARK_KEY ¶
type DOMAIN_MARK_KEY struct{}
type ForceModeKey ¶
type ForceModeKey struct{}
type IP_MARK_KEY ¶
type IP_MARK_KEY struct{}
func (IP_MARK_KEY) String ¶
func (IP_MARK_KEY) String() string
type Shunt ¶
type Shunt struct { ProcessDumper netapi.ProcessDumper // contains filtered or unexported fields }
func (*Shunt) DumpProcess ¶ added in v0.3.5
func (*Shunt) PacketConn ¶
func (*Shunt) Raw ¶
func (f *Shunt) Raw(ctx context.Context, req dnsmessage.Question) (dnsmessage.Message, error)
Click to show internal directories.
Click to hide internal directories.