MCPcopy
hub / github.com/shadow1ng/fscan / String

Method String

common/proxy/types.go:28–41  ·  view source on GitHub ↗

String 返回代理类型的字符串表示

()

Source from the content-addressed store, hash-verified

26
27// String 返回代理类型的字符串表示
28func (pt ProxyType) String() string {
29 switch pt {
30 case ProxyTypeNone:
31 return ProxyTypeStringNone
32 case ProxyTypeHTTP:
33 return ProxyTypeStringHTTP
34 case ProxyTypeHTTPS:
35 return ProxyTypeStringHTTPS
36 case ProxyTypeSOCKS5:
37 return ProxyTypeStringSOCKS5
38 default:
39 return ProxyTypeStringUnknown
40 }
41}
42
43// ProxyConfig 代理配置
44//

Callers 15

buildServiceLogMessageFunction · 0.45
RunIcmp1Function · 0.45
ExecCommandPingFunction · 0.45
TestDetectHTTPSchemeFunction · 0.45
BenchmarkTCPDialFunction · 0.45
BytesToRegexSafeStringFunction · 0.45
TrimBannerFunction · 0.45
truncateToWidthFunction · 0.45
stripAnsiCodesFunction · 0.45
SafeHTTPDoFunction · 0.45
parseIPCIDRFunction · 0.45
parseIPFullRangeFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestDetectHTTPSchemeFunction · 0.36
BenchmarkTCPDialFunction · 0.36
TestProxyType_StringFunction · 0.36
TestUpdateConfig_SuccessFunction · 0.36
TestStats_ReflectsConfigFunction · 0.36