Documentation ¶
Index ¶
- Variables
- func Aliyun() *net.Resolver
- func Cloudflare() *net.Resolver
- func DNSSB() *net.Resolver
- func Dnspod() *net.Resolver
- func DomainLookUp(host string, ipVersion string, dotServer string, disableOutput bool) (net.IP, error)
- func GetFastIP(domain string, port string, enableOutput bool) string
- func GetHostAndPort() (host string, port string)
- func GetICMPResponsePayload(data []byte) ([]byte, error)
- func GetIPHeaderLength(data []byte) (int, error)
- func GetPowProvider() string
- func GetProxy() *url.URL
- func GetTCPSeq(data []byte) uint32
- func GetUDPSrcPort(data []byte) uint16
- func GetenvDefault(key, defVal string) string
- func Google() *net.Resolver
- func HideIPPart(ip string) string
- func LocalIPPort(dstip net.IP) (net.IP, int)
- func LocalIPPortv6(dstip net.IP) (net.IP, int)
- func LookupAddr(addr string) ([]string, error)
- func StringInSlice(val string, list []string) bool
- type ResponseInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var DestIP string
View Source
var DisableMPLS = GetenvDefault("NEXTTRACE_DISABLEMPLS", "")
View Source
var EnableHidDstIP = GetenvDefault("NEXTTRACE_ENABLEHIDDENDSTIP", "")
View Source
var EnvIPInfoLocalPath = GetenvDefault("NEXTTRACE_IPINFOLOCALPATH", "")
View Source
var EnvToken = GetenvDefault("NEXTTRACE_TOKEN", "")
View Source
var FastIpCache = ""
View Source
var PowProviderParam = ""
View Source
var RdnsCache sync.Map
View Source
var Uninterrupted = GetenvDefault("NEXTTRACE_UNINTERRUPTED", "")
Functions ¶
func Cloudflare ¶
func DomainLookUp ¶
func GetHostAndPort ¶
func GetICMPResponsePayload ¶
func GetIPHeaderLength ¶
func GetPowProvider ¶
func GetPowProvider() string
func GetUDPSrcPort ¶
func GetenvDefault ¶
func HideIPPart ¶ added in v1.2.6
func LocalIPPort ¶
LocalIPPort get the local ip and port based on our destination ip
func LookupAddr ¶
func StringInSlice ¶
Types ¶
type ResponseInfo ¶
Click to show internal directories.
Click to hide internal directories.