Documentation ¶
Index ¶
- Variables
- type DOMAIN_MARK_KEY
- type ForceModeKey
- type IP_MARK_KEY
- type Mode
- type Shunt
- func (f *Shunt) Close() error
- func (s *Shunt) Conn(ctx context.Context, host proxy.Address) (net.Conn, error)
- func (s *Shunt) Dispatch(ctx context.Context, host proxy.Address) (proxy.Address, error)
- func (f *Shunt) Do(ctx context.Context, addr string, b []byte) ([]byte, error)
- func (f *Shunt) LookupIP(ctx context.Context, domain string) ([]net.IP, error)
- func (s *Shunt) PacketConn(ctx context.Context, host proxy.Address) (net.PacketConn, error)
- func (f *Shunt) Record(ctx context.Context, domain string, t dnsmessage.Type) (dns.IPRecord, error)
- func (s *Shunt) Resolver(ctx context.Context, domain string) dns.DNS
- func (s *Shunt) Tags() []string
- func (s *Shunt) Update(c *pc.Setting)
Constants ¶
This section is empty.
Variables ¶
View Source
var BYPASS_DATA []byte
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
Click to show internal directories.
Click to hide internal directories.