Documentation
¶
Index ¶
- func GetCachedDnsItem(ip string) (string, bool)
- func Handle(dnsMessage *D.Msg, metadata *constant.Metadata) (*D.Msg, error)
- func Hijack(_ string, server string, shouldReset bool) ([]string, error)
- func ResetCache()
- func Resume(_ string, shouldReset bool) error
- func UpdateDnsMap(local, remote cResolver.Resolver)
- type Conn
- type Statistic
- type StatisticItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCachedDnsItem ¶ added in v1.8.2
func ResetCache ¶ added in v1.8.2
func ResetCache()
func UpdateDnsMap ¶ added in v0.11.0
Types ¶
type Statistic ¶ added in v1.25.0
type Statistic struct { Proxy StatisticItem `json:"proxy"` Direct StatisticItem `json:"direct"` }
func GetStatistic ¶ added in v1.25.0
func GetStatistic() Statistic
Click to show internal directories.
Click to hide internal directories.