Documentation ¶
Index ¶
Constants ¶
View Source
const FAKEDNS_MARK = "FAKEDNS"
View Source
const (
MODE_MARK = "MODE"
)
Variables ¶
View Source
var BYPASS_DATA []byte
Functions ¶
This section is empty.
Types ¶
type Mode ¶
type Mode struct { Mode protoconfig.BypassMode Default bool Dialer proxy.Proxy Resolver dns.DNS Rules string }
type Resolvers ¶
type Resolvers struct {
// contains filtered or unexported fields
}
func NewResolvers ¶
func NewResolvers(direc, prox proxy.Proxy, counter statistics.Statistics) *Resolvers
func (*Resolvers) Update ¶
func (r *Resolvers) Update(s *protoconfig.Setting)
Click to show internal directories.
Click to hide internal directories.