SYMBOL INDEX (9480 symbols across 1123 files) FILE: annotations.go type Annotation (line 5) | type Annotation struct FILE: app/browserforwarder/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetListenAddr (line 58) | func (x *Config) GetListenAddr() string { method GetListenPort (line 65) | func (x *Config) GetListenPort() int32 { constant file_app_browserforwarder_config_proto_rawDesc (line 74) | file_app_browserforwarder_config_proto_rawDesc = "" + function file_app_browserforwarder_config_proto_rawDescGZIP (line 90) | func file_app_browserforwarder_config_proto_rawDescGZIP() []byte { function init (line 109) | func init() { file_app_browserforwarder_config_proto_init() } function file_app_browserforwarder_config_proto_init (line 110) | func file_app_browserforwarder_config_proto_init() { FILE: app/browserforwarder/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/browserforwarder/forwarder.go type Forwarder (line 22) | type Forwarder struct method ServeHTTP (line 31) | func (f *Forwarder) ServeHTTP(writer http.ResponseWriter, request *htt... method DialWebsocket (line 44) | func (f *Forwarder) DialWebsocket(url string, header http.Header) (io.... method Type (line 65) | func (f *Forwarder) Type() interface{} { method Start (line 69) | func (f *Forwarder) Start() error { method Close (line 99) | func (f *Forwarder) Close() error { function BridgeResource (line 106) | func BridgeResource(rw http.ResponseWriter, r *http.Request, path string) { function NewForwarder (line 121) | func NewForwarder(ctx context.Context, cfg *Config) *Forwarder { function init (line 125) | func init() { FILE: app/commander/commander.go type CommanderIfce (line 21) | type CommanderIfce interface type Commander (line 28) | type Commander struct method Type (line 66) | func (c *Commander) Type() interface{} { method Start (line 71) | func (c *Commander) Start() error { method Close (line 101) | func (c *Commander) Close() error { method ExtractGrpcServer (line 115) | func (c *Commander) ExtractGrpcServer() *grpc.Server { function NewCommander (line 37) | func NewCommander(ctx context.Context, config *Config) (*Commander, erro... function init (line 121) | func init() { function init (line 127) | func init() { FILE: app/commander/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 21) | type Config struct method Reset (line 32) | func (x *Config) Reset() { method String (line 39) | func (x *Config) String() string { method ProtoMessage (line 43) | func (*Config) ProtoMessage() {} method ProtoReflect (line 45) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 58) | func (*Config) Descriptor() ([]byte, []int) { method GetTag (line 62) | func (x *Config) GetTag() string { method GetService (line 69) | func (x *Config) GetService() []*anypb.Any { type ReflectionConfig (line 77) | type ReflectionConfig struct method Reset (line 83) | func (x *ReflectionConfig) Reset() { method String (line 90) | func (x *ReflectionConfig) String() string { method ProtoMessage (line 94) | func (*ReflectionConfig) ProtoMessage() {} method ProtoReflect (line 96) | func (x *ReflectionConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 109) | func (*ReflectionConfig) Descriptor() ([]byte, []int) { type SimplifiedConfig (line 113) | type SimplifiedConfig struct method Reset (line 121) | func (x *SimplifiedConfig) Reset() { method String (line 128) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 132) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 134) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 147) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetTag (line 151) | func (x *SimplifiedConfig) GetTag() string { method GetName (line 158) | func (x *SimplifiedConfig) GetName() []string { constant file_app_commander_config_proto_rawDesc (line 167) | file_app_commander_config_proto_rawDesc = "" + function file_app_commander_config_proto_rawDescGZIP (line 187) | func file_app_commander_config_proto_rawDescGZIP() []byte { function init (line 210) | func init() { file_app_commander_config_proto_init() } function file_app_commander_config_proto_init (line 211) | func file_app_commander_config_proto_init() { FILE: app/commander/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/commander/outbound.go function NewOutboundListener (line 13) | func NewOutboundListener() *OutboundListener { type OutboundListener (line 21) | type OutboundListener struct method add (line 26) | func (l *OutboundListener) add(conn net.Conn) { method Accept (line 37) | func (l *OutboundListener) Accept() (net.Conn, error) { method Close (line 47) | func (l *OutboundListener) Close() error { method Addr (line 62) | func (l *OutboundListener) Addr() net.Addr { function NewOutbound (line 69) | func NewOutbound(tag string, listener *OutboundListener) *Outbound { type Outbound (line 77) | type Outbound struct method Dispatch (line 85) | func (co *Outbound) Dispatch(ctx context.Context, link *transport.Link) { method Tag (line 103) | func (co *Outbound) Tag() string { method Start (line 108) | func (co *Outbound) Start() error { method Close (line 116) | func (co *Outbound) Close() error { FILE: app/commander/service.go type Service (line 13) | type Service interface type reflectionService (line 18) | type reflectionService struct method Register (line 20) | func (r reflectionService) Register(s *grpc.Server) { function init (line 24) | func init() { FILE: app/commander/webcommander/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 29) | func (x *Config) Reset() { method String (line 36) | func (x *Config) String() string { method ProtoMessage (line 40) | func (*Config) ProtoMessage() {} method ProtoReflect (line 42) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*Config) Descriptor() ([]byte, []int) { method GetTag (line 59) | func (x *Config) GetTag() string { method GetWebRoot (line 66) | func (x *Config) GetWebRoot() []byte { method GetWebRootFile (line 73) | func (x *Config) GetWebRootFile() string { method GetApiMountpoint (line 80) | func (x *Config) GetApiMountpoint() string { constant file_app_commander_webcommander_config_proto_rawDesc (line 89) | file_app_commander_webcommander_config_proto_rawDesc = "" + function file_app_commander_webcommander_config_proto_rawDescGZIP (line 106) | func file_app_commander_webcommander_config_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_app_commander_webcommander_config_proto_init() } function file_app_commander_webcommander_config_proto_init (line 126) | func file_app_commander_webcommander_config_proto_init() { FILE: app/commander/webcommander/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/commander/webcommander/webcommander.go function newWebCommander (line 24) | func newWebCommander(ctx context.Context, config *Config) (*WebCommander... type WebCommander (line 43) | type WebCommander struct method ServeHTTP (line 57) | func (w *WebCommander) ServeHTTP(writer http.ResponseWriter, request *... method asyncStart (line 73) | func (w *WebCommander) asyncStart() { method Type (line 106) | func (w *WebCommander) Type() interface{} { method Start (line 110) | func (w *WebCommander) Start() error { method Close (line 126) | func (w *WebCommander) Close() error { function init (line 141) | func init() { FILE: app/dispatcher/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type SessionConfig (line 18) | type SessionConfig struct method Reset (line 24) | func (x *SessionConfig) Reset() { method String (line 31) | func (x *SessionConfig) String() string { method ProtoMessage (line 35) | func (*SessionConfig) ProtoMessage() {} method ProtoReflect (line 37) | func (x *SessionConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*SessionConfig) Descriptor() ([]byte, []int) { type Config (line 54) | type Config struct method Reset (line 61) | func (x *Config) Reset() { method String (line 68) | func (x *Config) String() string { method ProtoMessage (line 72) | func (*Config) ProtoMessage() {} method ProtoReflect (line 74) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 87) | func (*Config) Descriptor() ([]byte, []int) { method GetSettings (line 91) | func (x *Config) GetSettings() *SessionConfig { constant file_app_dispatcher_config_proto_rawDesc (line 100) | file_app_dispatcher_config_proto_rawDesc = "" + function file_app_dispatcher_config_proto_rawDescGZIP (line 113) | func file_app_dispatcher_config_proto_rawDescGZIP() []byte { function init (line 134) | func init() { file_app_dispatcher_config_proto_init() } function file_app_dispatcher_config_proto_init (line 135) | func file_app_dispatcher_config_proto_init() { FILE: app/dispatcher/default.go type cachedReader (line 30) | type cachedReader struct method Cache (line 36) | func (r *cachedReader) Cache(b *buf.Buffer, deadline time.Duration) er... method readInternal (line 53) | func (r *cachedReader) readInternal() buf.MultiBuffer { method ReadMultiBuffer (line 66) | func (r *cachedReader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadMultiBufferTimeout (line 75) | func (r *cachedReader) ReadMultiBufferTimeout(timeout time.Duration) (... method Interrupt (line 84) | func (r *cachedReader) Interrupt() { type DefaultDispatcher (line 94) | type DefaultDispatcher struct method Init (line 114) | func (d *DefaultDispatcher) Init(config *Config, om outbound.Manager, ... method Type (line 123) | func (*DefaultDispatcher) Type() interface{} { method Start (line 128) | func (*DefaultDispatcher) Start() error { method Close (line 133) | func (*DefaultDispatcher) Close() error { return nil } method getLink (line 135) | func (d *DefaultDispatcher) getLink(ctx context.Context) (*transport.L... method Dispatch (line 203) | func (d *DefaultDispatcher) Dispatch(ctx context.Context, destination ... method routedDispatch (line 300) | func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *... function init (line 101) | func init() { function shouldOverride (line 181) | func shouldOverride(result SniffResult, domainOverride []string) bool { function sniffer (line 245) | func sniffer(ctx context.Context, cReader *cachedReader, metadataOnly bo... FILE: app/dispatcher/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/dispatcher/fakednssniffer.go function newFakeDNSSniffer (line 18) | func newFakeDNSSniffer(ctx context.Context) (protocolSnifferWithMetadata... type fakeDNSSniffResult (line 53) | type fakeDNSSniffResult struct method Protocol (line 57) | func (fakeDNSSniffResult) Protocol() string { method Domain (line 61) | func (f fakeDNSSniffResult) Domain() string { type fakeDNSExtraOpts (line 65) | type fakeDNSExtraOpts constant ipAddressInRange (line 67) | ipAddressInRange fakeDNSExtraOpts = 1 type ipAddressInRangeOpt (line 69) | type ipAddressInRangeOpt struct type DNSThenOthersSniffResult (line 73) | type DNSThenOthersSniffResult struct method IsProtoSubsetOf (line 78) | func (f DNSThenOthersSniffResult) IsProtoSubsetOf(protocolName string)... method Protocol (line 82) | func (DNSThenOthersSniffResult) Protocol() string { method Domain (line 86) | func (f DNSThenOthersSniffResult) Domain() string { function newFakeDNSThenOthers (line 90) | func newFakeDNSThenOthers(ctx context.Context, fakeDNSSniffer protocolSn... FILE: app/dispatcher/sniffer.go type SniffResult (line 15) | type SniffResult interface type protocolSniffer (line 20) | type protocolSniffer type protocolSnifferWithMetadata (line 22) | type protocolSnifferWithMetadata struct type Sniffer (line 31) | type Sniffer struct method Sniff (line 58) | func (s *Sniffer) Sniff(c context.Context, payload []byte, network net... method SniffMetadata (line 90) | func (s *Sniffer) SniffMetadata(c context.Context) (SniffResult, error) { function NewSniffer (line 35) | func NewSniffer(ctx context.Context) *Sniffer { function CompositeResult (line 117) | func CompositeResult(domainResult SniffResult, protocolResult SniffResul... type compositeResult (line 121) | type compositeResult struct method Protocol (line 126) | func (c compositeResult) Protocol() string { method Domain (line 130) | func (c compositeResult) Domain() string { method ProtocolForDomainResult (line 134) | func (c compositeResult) ProtocolForDomainResult() string { type SnifferResultComposite (line 138) | type SnifferResultComposite interface type SnifferIsProtoSubsetOf (line 142) | type SnifferIsProtoSubsetOf interface FILE: app/dispatcher/stats.go type SizeStatWriter (line 9) | type SizeStatWriter struct method WriteMultiBuffer (line 14) | func (w *SizeStatWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 19) | func (w *SizeStatWriter) Close() error { method Interrupt (line 23) | func (w *SizeStatWriter) Interrupt() { FILE: app/dispatcher/stats_test.go type TestCounter (line 11) | type TestCounter method Value (line 13) | func (c *TestCounter) Value() int64 { method Add (line 17) | func (c *TestCounter) Add(v int64) int64 { method Set (line 23) | func (c *TestCounter) Set(v int64) int64 { function TestStatsWriter (line 28) | func TestStatsWriter(t *testing.T) { FILE: app/dns/config.go function toStrMatcher (line 42) | func toStrMatcher(t DomainMatchingType, domain string) (strmatcher.Match... function toNetIP (line 54) | func toNetIP(addrs []net.Address) ([]net.IP, error) { function toIPOption (line 66) | func toIPOption(s QueryStrategy) dns.IPOption { function toReqTypes (line 74) | func toReqTypes(option dns.IPOption) []dnsmessage.Type { function generateRandomTag (line 85) | func generateRandomTag() string { FILE: app/dns/config.pb.go constant _ (line 17) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 19) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type DomainMatchingType (line 22) | type DomainMatchingType method Enum (line 47) | func (x DomainMatchingType) Enum() *DomainMatchingType { method String (line 53) | func (x DomainMatchingType) String() string { method Descriptor (line 57) | func (DomainMatchingType) Descriptor() protoreflect.EnumDescriptor { method Type (line 61) | func (DomainMatchingType) Type() protoreflect.EnumType { method Number (line 65) | func (x DomainMatchingType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 70) | func (DomainMatchingType) EnumDescriptor() ([]byte, []int) { constant DomainMatchingType_Full (line 25) | DomainMatchingType_Full DomainMatchingType = 0 constant DomainMatchingType_Subdomain (line 26) | DomainMatchingType_Subdomain DomainMatchingType = 1 constant DomainMatchingType_Keyword (line 27) | DomainMatchingType_Keyword DomainMatchingType = 2 constant DomainMatchingType_Regex (line 28) | DomainMatchingType_Regex DomainMatchingType = 3 type QueryStrategy (line 74) | type QueryStrategy method Enum (line 96) | func (x QueryStrategy) Enum() *QueryStrategy { method String (line 102) | func (x QueryStrategy) String() string { method Descriptor (line 106) | func (QueryStrategy) Descriptor() protoreflect.EnumDescriptor { method Type (line 110) | func (QueryStrategy) Type() protoreflect.EnumType { method Number (line 114) | func (x QueryStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 119) | func (QueryStrategy) EnumDescriptor() ([]byte, []int) { constant QueryStrategy_USE_IP (line 77) | QueryStrategy_USE_IP QueryStrategy = 0 constant QueryStrategy_USE_IP4 (line 78) | QueryStrategy_USE_IP4 QueryStrategy = 1 constant QueryStrategy_USE_IP6 (line 79) | QueryStrategy_USE_IP6 QueryStrategy = 2 type CacheStrategy (line 123) | type CacheStrategy method Enum (line 142) | func (x CacheStrategy) Enum() *CacheStrategy { method String (line 148) | func (x CacheStrategy) String() string { method Descriptor (line 152) | func (CacheStrategy) Descriptor() protoreflect.EnumDescriptor { method Type (line 156) | func (CacheStrategy) Type() protoreflect.EnumType { method Number (line 160) | func (x CacheStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 165) | func (CacheStrategy) EnumDescriptor() ([]byte, []int) { constant CacheStrategy_CacheEnabled (line 126) | CacheStrategy_CacheEnabled CacheStrategy = 0 constant CacheStrategy_CacheDisabled (line 127) | CacheStrategy_CacheDisabled CacheStrategy = 1 type FallbackStrategy (line 169) | type FallbackStrategy method Enum (line 191) | func (x FallbackStrategy) Enum() *FallbackStrategy { method String (line 197) | func (x FallbackStrategy) String() string { method Descriptor (line 201) | func (FallbackStrategy) Descriptor() protoreflect.EnumDescriptor { method Type (line 205) | func (FallbackStrategy) Type() protoreflect.EnumType { method Number (line 209) | func (x FallbackStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 214) | func (FallbackStrategy) EnumDescriptor() ([]byte, []int) { constant FallbackStrategy_Enabled (line 172) | FallbackStrategy_Enabled FallbackStrategy = 0 constant FallbackStrategy_Disabled (line 173) | FallbackStrategy_Disabled FallbackStrategy = 1 constant FallbackStrategy_DisabledIfAnyMatch (line 174) | FallbackStrategy_DisabledIfAnyMatch FallbackStrategy = 2 type NameServer (line 218) | type NameServer struct method Reset (line 238) | func (x *NameServer) Reset() { method String (line 245) | func (x *NameServer) String() string { method ProtoMessage (line 249) | func (*NameServer) ProtoMessage() {} method ProtoReflect (line 251) | func (x *NameServer) ProtoReflect() protoreflect.Message { method Descriptor (line 264) | func (*NameServer) Descriptor() ([]byte, []int) { method GetAddress (line 268) | func (x *NameServer) GetAddress() *net.Endpoint { method GetClientIp (line 275) | func (x *NameServer) GetClientIp() []byte { method GetTag (line 282) | func (x *NameServer) GetTag() string { method GetPrioritizedDomain (line 289) | func (x *NameServer) GetPrioritizedDomain() []*NameServer_PriorityDoma... method GetGeoip (line 296) | func (x *NameServer) GetGeoip() []*routercommon.GeoIP { method GetOriginalRules (line 303) | func (x *NameServer) GetOriginalRules() []*NameServer_OriginalRule { method GetFakeDns (line 310) | func (x *NameServer) GetFakeDns() *fakedns.FakeDnsPoolMulti { method GetSkipFallback (line 318) | func (x *NameServer) GetSkipFallback() bool { method GetQueryStrategy (line 325) | func (x *NameServer) GetQueryStrategy() QueryStrategy { method GetCacheStrategy (line 332) | func (x *NameServer) GetCacheStrategy() CacheStrategy { method GetFallbackStrategy (line 339) | func (x *NameServer) GetFallbackStrategy() FallbackStrategy { type HostMapping (line 346) | type HostMapping struct method Reset (line 358) | func (x *HostMapping) Reset() { method String (line 365) | func (x *HostMapping) String() string { method ProtoMessage (line 369) | func (*HostMapping) ProtoMessage() {} method ProtoReflect (line 371) | func (x *HostMapping) ProtoReflect() protoreflect.Message { method Descriptor (line 384) | func (*HostMapping) Descriptor() ([]byte, []int) { method GetType (line 388) | func (x *HostMapping) GetType() DomainMatchingType { method GetDomain (line 395) | func (x *HostMapping) GetDomain() string { method GetIp (line 402) | func (x *HostMapping) GetIp() [][]byte { method GetProxiedDomain (line 409) | func (x *HostMapping) GetProxiedDomain() string { type Config (line 416) | type Config struct method Reset (line 465) | func (x *Config) Reset() { method String (line 472) | func (x *Config) String() string { method ProtoMessage (line 476) | func (*Config) ProtoMessage() {} method ProtoReflect (line 478) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 491) | func (*Config) Descriptor() ([]byte, []int) { method GetNameServers (line 496) | func (x *Config) GetNameServers() []*net.Endpoint { method GetNameServer (line 503) | func (x *Config) GetNameServer() []*NameServer { method GetHosts (line 511) | func (x *Config) GetHosts() map[string]*net.IPOrDomain { method GetClientIp (line 518) | func (x *Config) GetClientIp() []byte { method GetStaticHosts (line 525) | func (x *Config) GetStaticHosts() []*HostMapping { method GetFakeDns (line 532) | func (x *Config) GetFakeDns() *fakedns.FakeDnsPoolMulti { method GetTag (line 539) | func (x *Config) GetTag() string { method GetDomainMatcher (line 546) | func (x *Config) GetDomainMatcher() string { method GetDisableCache (line 554) | func (x *Config) GetDisableCache() bool { method GetDisableFallback (line 562) | func (x *Config) GetDisableFallback() bool { method GetDisableFallbackIfMatch (line 570) | func (x *Config) GetDisableFallbackIfMatch() bool { method GetQueryStrategy (line 577) | func (x *Config) GetQueryStrategy() QueryStrategy { method GetCacheStrategy (line 584) | func (x *Config) GetCacheStrategy() CacheStrategy { method GetFallbackStrategy (line 591) | func (x *Config) GetFallbackStrategy() FallbackStrategy { type SimplifiedConfig (line 598) | type SimplifiedConfig struct method Reset (line 636) | func (x *SimplifiedConfig) Reset() { method String (line 643) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 647) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 649) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 662) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetNameServer (line 666) | func (x *SimplifiedConfig) GetNameServer() []*SimplifiedNameServer { method GetClientIp (line 673) | func (x *SimplifiedConfig) GetClientIp() string { method GetStaticHosts (line 680) | func (x *SimplifiedConfig) GetStaticHosts() []*SimplifiedHostMapping { method GetFakeDns (line 687) | func (x *SimplifiedConfig) GetFakeDns() *fakedns.FakeDnsPoolMulti { method GetTag (line 694) | func (x *SimplifiedConfig) GetTag() string { method GetDomainMatcher (line 701) | func (x *SimplifiedConfig) GetDomainMatcher() string { method GetDisableCache (line 709) | func (x *SimplifiedConfig) GetDisableCache() bool { method GetDisableFallback (line 717) | func (x *SimplifiedConfig) GetDisableFallback() bool { method GetDisableFallbackIfMatch (line 725) | func (x *SimplifiedConfig) GetDisableFallbackIfMatch() bool { method GetQueryStrategy (line 732) | func (x *SimplifiedConfig) GetQueryStrategy() QueryStrategy { method GetCacheStrategy (line 739) | func (x *SimplifiedConfig) GetCacheStrategy() CacheStrategy { method GetFallbackStrategy (line 746) | func (x *SimplifiedConfig) GetFallbackStrategy() FallbackStrategy { type SimplifiedHostMapping (line 753) | type SimplifiedHostMapping struct method Reset (line 765) | func (x *SimplifiedHostMapping) Reset() { method String (line 772) | func (x *SimplifiedHostMapping) String() string { method ProtoMessage (line 776) | func (*SimplifiedHostMapping) ProtoMessage() {} method ProtoReflect (line 778) | func (x *SimplifiedHostMapping) ProtoReflect() protoreflect.Message { method Descriptor (line 791) | func (*SimplifiedHostMapping) Descriptor() ([]byte, []int) { method GetType (line 795) | func (x *SimplifiedHostMapping) GetType() DomainMatchingType { method GetDomain (line 802) | func (x *SimplifiedHostMapping) GetDomain() string { method GetIp (line 809) | func (x *SimplifiedHostMapping) GetIp() []string { method GetProxiedDomain (line 816) | func (x *SimplifiedHostMapping) GetProxiedDomain() string { type SimplifiedNameServer (line 823) | type SimplifiedNameServer struct method Reset (line 844) | func (x *SimplifiedNameServer) Reset() { method String (line 851) | func (x *SimplifiedNameServer) String() string { method ProtoMessage (line 855) | func (*SimplifiedNameServer) ProtoMessage() {} method ProtoReflect (line 857) | func (x *SimplifiedNameServer) ProtoReflect() protoreflect.Message { method Descriptor (line 870) | func (*SimplifiedNameServer) Descriptor() ([]byte, []int) { method GetAddress (line 874) | func (x *SimplifiedNameServer) GetAddress() *net.Endpoint { method GetClientIp (line 881) | func (x *SimplifiedNameServer) GetClientIp() string { method GetTag (line 888) | func (x *SimplifiedNameServer) GetTag() string { method GetPrioritizedDomain (line 895) | func (x *SimplifiedNameServer) GetPrioritizedDomain() []*SimplifiedNam... method GetGeoip (line 902) | func (x *SimplifiedNameServer) GetGeoip() []*routercommon.GeoIP { method GetOriginalRules (line 909) | func (x *SimplifiedNameServer) GetOriginalRules() []*SimplifiedNameSer... method GetFakeDns (line 916) | func (x *SimplifiedNameServer) GetFakeDns() *fakedns.FakeDnsPoolMulti { method GetSkipFallback (line 924) | func (x *SimplifiedNameServer) GetSkipFallback() bool { method GetQueryStrategy (line 931) | func (x *SimplifiedNameServer) GetQueryStrategy() QueryStrategy { method GetCacheStrategy (line 938) | func (x *SimplifiedNameServer) GetCacheStrategy() CacheStrategy { method GetFallbackStrategy (line 945) | func (x *SimplifiedNameServer) GetFallbackStrategy() FallbackStrategy { method GetGeoDomain (line 952) | func (x *SimplifiedNameServer) GetGeoDomain() []*routercommon.GeoSite { type NameServer_PriorityDomain (line 959) | type NameServer_PriorityDomain struct method Reset (line 967) | func (x *NameServer_PriorityDomain) Reset() { method String (line 974) | func (x *NameServer_PriorityDomain) String() string { method ProtoMessage (line 978) | func (*NameServer_PriorityDomain) ProtoMessage() {} method ProtoReflect (line 980) | func (x *NameServer_PriorityDomain) ProtoReflect() protoreflect.Message { method Descriptor (line 993) | func (*NameServer_PriorityDomain) Descriptor() ([]byte, []int) { method GetType (line 997) | func (x *NameServer_PriorityDomain) GetType() DomainMatchingType { method GetDomain (line 1004) | func (x *NameServer_PriorityDomain) GetDomain() string { type NameServer_OriginalRule (line 1011) | type NameServer_OriginalRule struct method Reset (line 1019) | func (x *NameServer_OriginalRule) Reset() { method String (line 1026) | func (x *NameServer_OriginalRule) String() string { method ProtoMessage (line 1030) | func (*NameServer_OriginalRule) ProtoMessage() {} method ProtoReflect (line 1032) | func (x *NameServer_OriginalRule) ProtoReflect() protoreflect.Message { method Descriptor (line 1045) | func (*NameServer_OriginalRule) Descriptor() ([]byte, []int) { method GetRule (line 1049) | func (x *NameServer_OriginalRule) GetRule() string { method GetSize (line 1056) | func (x *NameServer_OriginalRule) GetSize() uint32 { type SimplifiedNameServer_PriorityDomain (line 1063) | type SimplifiedNameServer_PriorityDomain struct method Reset (line 1071) | func (x *SimplifiedNameServer_PriorityDomain) Reset() { method String (line 1078) | func (x *SimplifiedNameServer_PriorityDomain) String() string { method ProtoMessage (line 1082) | func (*SimplifiedNameServer_PriorityDomain) ProtoMessage() {} method ProtoReflect (line 1084) | func (x *SimplifiedNameServer_PriorityDomain) ProtoReflect() protorefl... method Descriptor (line 1097) | func (*SimplifiedNameServer_PriorityDomain) Descriptor() ([]byte, []in... method GetType (line 1101) | func (x *SimplifiedNameServer_PriorityDomain) GetType() DomainMatching... method GetDomain (line 1108) | func (x *SimplifiedNameServer_PriorityDomain) GetDomain() string { type SimplifiedNameServer_OriginalRule (line 1115) | type SimplifiedNameServer_OriginalRule struct method Reset (line 1123) | func (x *SimplifiedNameServer_OriginalRule) Reset() { method String (line 1130) | func (x *SimplifiedNameServer_OriginalRule) String() string { method ProtoMessage (line 1134) | func (*SimplifiedNameServer_OriginalRule) ProtoMessage() {} method ProtoReflect (line 1136) | func (x *SimplifiedNameServer_OriginalRule) ProtoReflect() protoreflec... method Descriptor (line 1149) | func (*SimplifiedNameServer_OriginalRule) Descriptor() ([]byte, []int) { method GetRule (line 1153) | func (x *SimplifiedNameServer_OriginalRule) GetRule() string { method GetSize (line 1160) | func (x *SimplifiedNameServer_OriginalRule) GetSize() uint32 { constant file_app_dns_config_proto_rawDesc (line 1169) | file_app_dns_config_proto_rawDesc = "" + function file_app_dns_config_proto_rawDescGZIP (line 1290) | func file_app_dns_config_proto_rawDescGZIP() []byte { function init (line 1365) | func init() { file_app_dns_config_proto_init() } function file_app_dns_config_proto_init (line 1366) | func file_app_dns_config_proto_init() { FILE: app/dns/dns.go type DNS (line 32) | type DNS struct method Type (line 228) | func (*DNS) Type() interface{} { method Start (line 233) | func (s *DNS) Start() error { method Close (line 238) | func (s *DNS) Close() error { method IsOwnLink (line 243) | func (s *DNS) IsOwnLink(ctx context.Context) bool { method AsFakeDNSClient (line 249) | func (s *DNS) AsFakeDNSClient() dns.Client { method AsFakeDNSEngine (line 254) | func (s *DNS) AsFakeDNSEngine() dns.FakeDNSEngine { method LookupIP (line 259) | func (s *DNS) LookupIP(domain string) ([]net.IP, error) { method LookupIPv4 (line 264) | func (s *DNS) LookupIPv4(domain string) ([]net.IP, error) { method LookupIPv6 (line 269) | func (s *DNS) LookupIPv6(domain string) ([]net.IP, error) { method lookupIPInternal (line 273) | func (s *DNS) lookupIPInternal(domain string, option dns.IPOption) ([]... method sortClients (line 319) | func (s *DNS) sortClients(domain string, option dns.IPOption) []*Client { method formatClientNames (line 370) | func (s *DNS) formatClientNames(clientIdxs []int, option dns.IPOption)... type DomainMatcherInfo (line 44) | type DomainMatcherInfo struct function New (line 50) | func New(ctx context.Context, config *Config) (*DNS, error) { function establishDomainRules (line 108) | func establishDomainRules(s *DNS, config *Config, nsClientMap map[int]in... function establishExpectedIPs (line 170) | func establishExpectedIPs(s *DNS, config *Config, nsClientMap map[int]in... function establishFakeDNS (line 187) | func establishFakeDNS(s *DNS, config *Config, nsClientMap map[int]int) e... function init (line 400) | func init() { FILE: app/dns/dns_test.go type staticHandler (line 27) | type staticHandler struct method ServeDNS (line 29) | func (*staticHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg) { function TestUDPServerSubnet (line 123) | func TestUDPServerSubnet(t *testing.T) { function TestUDPServer (line 178) | func TestUDPServer(t *testing.T) { function TestPrioritizedDomain (line 301) | func TestPrioritizedDomain(t *testing.T) { function TestUDPServerIPv6 (line 383) | func TestUDPServerIPv6(t *testing.T) { function TestStaticHostDomain (line 439) | func TestStaticHostDomain(t *testing.T) { function TestIPMatch (line 504) | func TestIPMatch(t *testing.T) { function TestLocalDomain (line 614) | func TestLocalDomain(t *testing.T) { function TestMultiMatchPrioritizedDomain (line 810) | func TestMultiMatchPrioritizedDomain(t *testing.T) { FILE: app/dns/dnscommon.go function Fqdn (line 17) | func Fqdn(domain string) string { type record (line 24) | type record struct type IPRecord (line 30) | type IPRecord struct method getIPs (line 37) | func (r *IPRecord) getIPs() ([]net.Address, error) { function isNewer (line 47) | func isNewer(baseRec *IPRecord, newRec *IPRecord) bool { type dnsRequest (line 59) | type dnsRequest struct function genEDNS0Options (line 67) | func genEDNS0Options(clientIP net.IP) *dnsmessage.Resource { function buildReqMsgs (line 115) | func buildReqMsgs(domain string, option dns_feature.IPOption, reqIDGen f... function parseResponse (line 167) | func parseResponse(payload []byte) (*IPRecord, error) { function filterIP (line 230) | func filterIP(ips []net.Address, option dns_feature.IPOption) []net.Addr... FILE: app/dns/dnscommon_test.go function Test_parseResponse (line 17) | func Test_parseResponse(t *testing.T) { function Test_buildReqMsgs (line 99) | func Test_buildReqMsgs(t *testing.T) { function Test_genEDNS0Options (line 143) | func Test_genEDNS0Options(t *testing.T) { function TestFqdn (line 165) | func TestFqdn(t *testing.T) { FILE: app/dns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/dns/fakedns.go type FakeDNSClient (line 13) | type FakeDNSClient struct method LookupIP (line 18) | func (s *FakeDNSClient) LookupIP(domain string) ([]net.IP, error) { method LookupIPv4 (line 23) | func (s *FakeDNSClient) LookupIPv4(domain string) ([]net.IP, error) { method LookupIPv6 (line 28) | func (s *FakeDNSClient) LookupIPv6(domain string) ([]net.IP, error) { type FakeDNSEngine (line 33) | type FakeDNSEngine struct method Type (line 40) | func (*FakeDNSEngine) Type() interface{} { method Start (line 45) | func (f *FakeDNSEngine) Start() error { method Close (line 50) | func (f *FakeDNSEngine) Close() error { method GetFakeIPForDomain (line 55) | func (f *FakeDNSEngine) GetFakeIPForDomain(domain string) []net.Address { method GetDomainFromFakeDNS (line 60) | func (f *FakeDNSEngine) GetDomainFromFakeDNS(ip net.Address) string { method IsIPInIPPool (line 65) | func (f *FakeDNSEngine) IsIPInIPPool(ip net.Address) bool { method GetFakeIPForDomain3 (line 70) | func (f *FakeDNSEngine) GetFakeIPForDomain3(domain string, IPv4 bool, ... FILE: app/dns/fakedns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/dns/fakedns/fake.go type Holder (line 19) | type Holder struct method IsIPInIPPool (line 29) | func (fkdns *Holder) IsIPInIPPool(ip net.Address) bool { method GetFakeIPForDomain3 (line 36) | func (fkdns *Holder) GetFakeIPForDomain3(domain string, ipv4, ipv6 boo... method Type (line 44) | func (*Holder) Type() interface{} { method Start (line 48) | func (fkdns *Holder) Start() error { method Close (line 55) | func (fkdns *Holder) Close() error { method initializeFromConfig (line 81) | func (fkdns *Holder) initializeFromConfig() error { method initialize (line 85) | func (fkdns *Holder) initialize(ipPoolCidr string, lruSize int) error { method GetFakeIPForDomain (line 113) | func (fkdns *Holder) GetFakeIPForDomain(domain string) []net.Address { method GetDomainFromFakeDNS (line 138) | func (fkdns *Holder) GetDomainFromFakeDNS(ip net.Address) string { function NewFakeDNSHolder (line 63) | func NewFakeDNSHolder() (*Holder, error) { function NewFakeDNSHolderConfigOnly (line 77) | func NewFakeDNSHolderConfigOnly(conf *FakeDnsPool) (*Holder, error) { type HolderMulti (line 148) | type HolderMulti struct method IsIPInIPPool (line 152) | func (h *HolderMulti) IsIPInIPPool(ip net.Address) bool { method GetFakeIPForDomain3 (line 164) | func (h *HolderMulti) GetFakeIPForDomain3(domain string, ipv4, ipv6 bo... method GetFakeIPForDomain (line 172) | func (h *HolderMulti) GetFakeIPForDomain(domain string) []net.Address { method GetDomainFromFakeDNS (line 180) | func (h *HolderMulti) GetDomainFromFakeDNS(ip net.Address) string { method IsEmpty (line 189) | func (h *HolderMulti) IsEmpty() bool { method AddPool (line 193) | func (h *HolderMulti) AddPool(poolConfig *FakeDnsPool) (*Holder, error) { method AddPoolMulti (line 230) | func (h *HolderMulti) AddPoolMulti(poolMultiConfig *FakeDnsPoolMulti) ... method Type (line 242) | func (h *HolderMulti) Type() interface{} { method Start (line 246) | func (h *HolderMulti) Start() error { method Close (line 255) | func (h *HolderMulti) Close() error { method createHolderGroups (line 264) | func (h *HolderMulti) createHolderGroups(conf *FakeDnsPoolMulti) error { function NewFakeDNSHolderMulti (line 274) | func NewFakeDNSHolderMulti(conf *FakeDnsPoolMulti) (*HolderMulti, error) { function init (line 282) | func init() { FILE: app/dns/fakedns/fakedns.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type FakeDnsPool (line 19) | type FakeDnsPool struct method Reset (line 27) | func (x *FakeDnsPool) Reset() { method String (line 34) | func (x *FakeDnsPool) String() string { method ProtoMessage (line 38) | func (*FakeDnsPool) ProtoMessage() {} method ProtoReflect (line 40) | func (x *FakeDnsPool) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*FakeDnsPool) Descriptor() ([]byte, []int) { method GetIpPool (line 57) | func (x *FakeDnsPool) GetIpPool() string { method GetLruSize (line 64) | func (x *FakeDnsPool) GetLruSize() int64 { type FakeDnsPoolMulti (line 71) | type FakeDnsPoolMulti struct method Reset (line 78) | func (x *FakeDnsPoolMulti) Reset() { method String (line 85) | func (x *FakeDnsPoolMulti) String() string { method ProtoMessage (line 89) | func (*FakeDnsPoolMulti) ProtoMessage() {} method ProtoReflect (line 91) | func (x *FakeDnsPoolMulti) ProtoReflect() protoreflect.Message { method Descriptor (line 104) | func (*FakeDnsPoolMulti) Descriptor() ([]byte, []int) { method GetPools (line 108) | func (x *FakeDnsPoolMulti) GetPools() []*FakeDnsPool { constant file_app_dns_fakedns_fakedns_proto_rawDesc (line 117) | file_app_dns_fakedns_fakedns_proto_rawDesc = "" + function file_app_dns_fakedns_fakedns_proto_rawDescGZIP (line 134) | func file_app_dns_fakedns_fakedns_proto_rawDescGZIP() []byte { function init (line 155) | func init() { file_app_dns_fakedns_fakedns_proto_init() } function file_app_dns_fakedns_fakedns_proto_init (line 156) | func file_app_dns_fakedns_fakedns_proto_init() { FILE: app/dns/fakedns/fakedns_test.go function TestNewFakeDnsHolder (line 16) | func TestNewFakeDnsHolder(_ *testing.T) { function TestFakeDnsHolderCreateMapping (line 21) | func TestFakeDnsHolderCreateMapping(t *testing.T) { function TestFakeDnsHolderCreateMappingMany (line 29) | func TestFakeDnsHolderCreateMappingMany(t *testing.T) { function TestFakeDnsHolderCreateMappingManyAndResolve (line 40) | func TestFakeDnsHolderCreateMappingManyAndResolve(t *testing.T) { function TestFakeDnsHolderCreateMappingManySingleDomain (line 65) | func TestFakeDnsHolderCreateMappingManySingleDomain(t *testing.T) { function TestGetFakeIPForDomainConcurrently (line 76) | func TestGetFakeIPForDomainConcurrently(t *testing.T) { function testGetFakeIP (line 94) | func testGetFakeIP(index int, addr [][]net.Address, fkdns *Holder) func(... function TestFakeDnsHolderCreateMappingAndRollOver (line 101) | func TestFakeDnsHolderCreateMappingAndRollOver(t *testing.T) { function TestFakeDNSMulti (line 145) | func TestFakeDNSMulti(t *testing.T) { function TestFakeDNSMultiAddPool (line 221) | func TestFakeDNSMultiAddPool(t *testing.T) { FILE: app/dns/fakedns_test.go function TestFakeDNS (line 25) | func TestFakeDNS(t *testing.T) { function TestFakeDNSEmptyGlobalConfig (line 176) | func TestFakeDNSEmptyGlobalConfig(t *testing.T) { FILE: app/dns/hosts.go type StaticHosts (line 12) | type StaticHosts struct method lookupInternal (line 70) | func (h *StaticHosts) lookupInternal(domain string) []net.Address { method lookup (line 78) | func (h *StaticHosts) lookup(domain string, option dns.IPOption, maxDe... method Lookup (line 97) | func (h *StaticHosts) Lookup(domain string, option dns.IPOption) []net... function NewStaticHosts (line 18) | func NewStaticHosts(hosts []*HostMapping, legacy map[string]*net.IPOrDom... FILE: app/dns/hosts_test.go function TestStaticHosts (line 14) | func TestStaticHosts(t *testing.T) { FILE: app/dns/nameserver.go type Server (line 21) | type Server interface type Client (line 29) | type Client struct method Name (line 177) | func (c *Client) Name() string { method QueryIP (line 182) | func (c *Client) QueryIP(ctx context.Context, domain string, option dn... method MatchExpectedIPs (line 206) | func (c *Client) MatchExpectedIPs(domain string, ips []net.IP) ([]net.... function NewServer (line 46) | func NewServer(ctx context.Context, dest net.Destination, onCreated func... function NewClient (line 85) | func NewClient(ctx context.Context, ns *NameServer, dns *Config) (*Clien... FILE: app/dns/nameserver_doh.go type DoHNameServer (line 32) | type DoHNameServer struct method Name (line 126) | func (s *DoHNameServer) Name() string { method Cleanup (line 131) | func (s *DoHNameServer) Cleanup() error { method updateIP (line 163) | func (s *DoHNameServer) updateIP(req *dnsRequest, ipRec *IPRecord) { method newReqID (line 204) | func (s *DoHNameServer) newReqID() uint16 { method sendQuery (line 208) | func (s *DoHNameServer) sendQuery(ctx context.Context, domain string, ... method dohHTTPSContext (line 263) | func (s *DoHNameServer) dohHTTPSContext(ctx context.Context, b []byte)... method findIPsForDomain (line 287) | func (s *DoHNameServer) findIPsForDomain(domain string, option dns_fea... method QueryIP (line 326) | func (s *DoHNameServer) QueryIP(ctx context.Context, domain string, cl... function NewDoHNameServer (line 43) | func NewDoHNameServer(url *url.URL, dispatcher routing.Dispatcher) (*DoH... function NewDoHLocalNameServer (line 85) | func NewDoHLocalNameServer(url *url.URL) *DoHNameServer { function baseDOHNameServer (line 111) | func baseDOHNameServer(url *url.URL, prefix string) *DoHNameServer { FILE: app/dns/nameserver_doh_test.go function TestDoHLocalNameServer (line 17) | func TestDoHLocalNameServer(t *testing.T) { function TestDoHLocalNameServerWithCache (line 34) | func TestDoHLocalNameServerWithCache(t *testing.T) { FILE: app/dns/nameserver_fakedns.go type FakeDNSServer (line 14) | type FakeDNSServer struct method Name (line 22) | func (FakeDNSServer) Name() string { method QueryIP (line 26) | func (f *FakeDNSServer) QueryIP(ctx context.Context, domain string, _ ... function NewFakeDNSServer (line 18) | func NewFakeDNSServer(fakeDNSEngine dns.FakeDNSEngine) *FakeDNSServer { function isFakeDNS (line 57) | func isFakeDNS(server Server) bool { FILE: app/dns/nameserver_local.go type LocalNameServer (line 15) | type LocalNameServer struct method QueryIP (line 20) | func (s *LocalNameServer) QueryIP(_ context.Context, domain string, _ ... method Name (line 41) | func (s *LocalNameServer) Name() string { function NewLocalNameServer (line 46) | func NewLocalNameServer() *LocalNameServer { function NewLocalDNSClient (line 54) | func NewLocalDNSClient() *Client { FILE: app/dns/nameserver_local_test.go function TestLocalNameServer (line 14) | func TestLocalNameServer(t *testing.T) { FILE: app/dns/nameserver_quic.go constant NextProtoDQ (line 27) | NextProtoDQ = "doq" constant handshakeIdleTimeout (line 29) | handshakeIdleTimeout = time.Second * 8 type QUICNameServer (line 32) | type QUICNameServer struct method Name (line 71) | func (s *QUICNameServer) Name() string { method Cleanup (line 76) | func (s *QUICNameServer) Cleanup() error { method updateIP (line 108) | func (s *QUICNameServer) updateIP(req *dnsRequest, ipRec *IPRecord) { method newReqID (line 149) | func (s *QUICNameServer) newReqID() uint16 { method sendQuery (line 153) | func (s *QUICNameServer) sendQuery(ctx context.Context, domain string,... method findIPsForDomain (line 240) | func (s *QUICNameServer) findIPsForDomain(domain string, option dns_fe... method QueryIP (line 279) | func (s *QUICNameServer) QueryIP(ctx context.Context, domain string, c... method getConnection (line 343) | func (s *QUICNameServer) getConnection(ctx context.Context) (*quic.Con... method openConnection (line 377) | func (s *QUICNameServer) openConnection(ctx context.Context) (*quic.Co... method openStream (line 402) | func (s *QUICNameServer) openStream(ctx context.Context) (*quic.Stream... function NewQUICNameServer (line 43) | func NewQUICNameServer(url *url.URL) (*QUICNameServer, error) { function isActive (line 334) | func isActive(s *quic.Conn) bool { FILE: app/dns/nameserver_quic_test.go function TestQUICNameServer (line 17) | func TestQUICNameServer(t *testing.T) { function TestQUICNameServerWithCache (line 34) | func TestQUICNameServerWithCache(t *testing.T) { FILE: app/dns/nameserver_tcp.go type TCPNameServer (line 30) | type TCPNameServer struct method Name (line 103) | func (s *TCPNameServer) Name() string { method Cleanup (line 108) | func (s *TCPNameServer) Cleanup() error { method updateIP (line 140) | func (s *TCPNameServer) updateIP(req *dnsRequest, ipRec *IPRecord) { method newReqID (line 181) | func (s *TCPNameServer) newReqID() uint16 { method sendQuery (line 185) | func (s *TCPNameServer) sendQuery(ctx context.Context, domain string, ... method findIPsForDomain (line 269) | func (s *TCPNameServer) findIPsForDomain(domain string, option dns_fea... method QueryIP (line 308) | func (s *TCPNameServer) QueryIP(ctx context.Context, domain string, cl... function NewTCPNameServer (line 42) | func NewTCPNameServer(url *url.URL, dispatcher routing.Dispatcher) (*TCP... function NewTCPLocalNameServer (line 64) | func NewTCPLocalNameServer(url *url.URL) (*TCPNameServer, error) { function baseTCPNameServer (line 77) | func baseTCPNameServer(url *url.URL, prefix string) (*TCPNameServer, err... FILE: app/dns/nameserver_tcp_test.go function TestTCPLocalNameServer (line 17) | func TestTCPLocalNameServer(t *testing.T) { function TestTCPLocalNameServerWithCache (line 34) | func TestTCPLocalNameServerWithCache(t *testing.T) { FILE: app/dns/nameserver_udp.go type ClassicNameServer (line 29) | type ClassicNameServer struct method Name (line 65) | func (s *ClassicNameServer) Name() string { method Cleanup (line 70) | func (s *ClassicNameServer) Cleanup() error { method HandleResponse (line 112) | func (s *ClassicNameServer) HandleResponse(ctx context.Context, packet... method updateIP (line 147) | func (s *ClassicNameServer) updateIP(domain string, newRec record) { method newReqID (line 176) | func (s *ClassicNameServer) newReqID() uint16 { method addPendingRequest (line 180) | func (s *ClassicNameServer) addPendingRequest(req *dnsRequest) { method sendQuery (line 189) | func (s *ClassicNameServer) sendQuery(ctx context.Context, domain stri... method findIPsForDomain (line 208) | func (s *ClassicNameServer) findIPsForDomain(domain string, option dns... method QueryIP (line 247) | func (s *ClassicNameServer) QueryIP(ctx context.Context, domain string... function NewClassicNameServer (line 42) | func NewClassicNameServer(address net.Destination, dispatcher routing.Di... FILE: app/instman/command/command.go type service (line 14) | type service struct method ListInstance (line 20) | func (s service) ListInstance(ctx context.Context, req *ListInstanceRe... method AddInstance (line 28) | func (s service) AddInstance(ctx context.Context, req *AddInstanceReq)... method StartInstance (line 40) | func (s service) StartInstance(ctx context.Context, req *StartInstance... method Register (line 48) | func (s service) Register(server *grpc.Server) { function init (line 52) | func init() { FILE: app/instman/command/command.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListInstanceReq (line 19) | type ListInstanceReq struct method Reset (line 25) | func (x *ListInstanceReq) Reset() { method String (line 32) | func (x *ListInstanceReq) String() string { method ProtoMessage (line 36) | func (*ListInstanceReq) ProtoMessage() {} method ProtoReflect (line 38) | func (x *ListInstanceReq) ProtoReflect() protoreflect.Message { method Descriptor (line 51) | func (*ListInstanceReq) Descriptor() ([]byte, []int) { type ListInstanceResp (line 55) | type ListInstanceResp struct method Reset (line 62) | func (x *ListInstanceResp) Reset() { method String (line 69) | func (x *ListInstanceResp) String() string { method ProtoMessage (line 73) | func (*ListInstanceResp) ProtoMessage() {} method ProtoReflect (line 75) | func (x *ListInstanceResp) ProtoReflect() protoreflect.Message { method Descriptor (line 88) | func (*ListInstanceResp) Descriptor() ([]byte, []int) { method GetName (line 92) | func (x *ListInstanceResp) GetName() []string { type AddInstanceReq (line 99) | type AddInstanceReq struct method Reset (line 108) | func (x *AddInstanceReq) Reset() { method String (line 115) | func (x *AddInstanceReq) String() string { method ProtoMessage (line 119) | func (*AddInstanceReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *AddInstanceReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*AddInstanceReq) Descriptor() ([]byte, []int) { method GetName (line 138) | func (x *AddInstanceReq) GetName() string { method GetConfigType (line 145) | func (x *AddInstanceReq) GetConfigType() string { method GetConfigContentB64 (line 152) | func (x *AddInstanceReq) GetConfigContentB64() string { type AddInstanceResp (line 159) | type AddInstanceResp struct method Reset (line 165) | func (x *AddInstanceResp) Reset() { method String (line 172) | func (x *AddInstanceResp) String() string { method ProtoMessage (line 176) | func (*AddInstanceResp) ProtoMessage() {} method ProtoReflect (line 178) | func (x *AddInstanceResp) ProtoReflect() protoreflect.Message { method Descriptor (line 191) | func (*AddInstanceResp) Descriptor() ([]byte, []int) { type StartInstanceReq (line 195) | type StartInstanceReq struct method Reset (line 202) | func (x *StartInstanceReq) Reset() { method String (line 209) | func (x *StartInstanceReq) String() string { method ProtoMessage (line 213) | func (*StartInstanceReq) ProtoMessage() {} method ProtoReflect (line 215) | func (x *StartInstanceReq) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*StartInstanceReq) Descriptor() ([]byte, []int) { method GetName (line 232) | func (x *StartInstanceReq) GetName() string { type StartInstanceResp (line 239) | type StartInstanceResp struct method Reset (line 245) | func (x *StartInstanceResp) Reset() { method String (line 252) | func (x *StartInstanceResp) String() string { method ProtoMessage (line 256) | func (*StartInstanceResp) ProtoMessage() {} method ProtoReflect (line 258) | func (x *StartInstanceResp) ProtoReflect() protoreflect.Message { method Descriptor (line 271) | func (*StartInstanceResp) Descriptor() ([]byte, []int) { type Config (line 275) | type Config struct method Reset (line 281) | func (x *Config) Reset() { method String (line 288) | func (x *Config) String() string { method ProtoMessage (line 292) | func (*Config) ProtoMessage() {} method ProtoReflect (line 294) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 307) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_instman_command_command_proto_rawDesc (line 313) | file_app_instman_command_command_proto_rawDesc = "" + function file_app_instman_command_command_proto_rawDescGZIP (line 342) | func file_app_instman_command_command_proto_rawDescGZIP() []byte { function init (line 373) | func init() { file_app_instman_command_command_proto_init() } function file_app_instman_command_command_proto_init (line 374) | func file_app_instman_command_command_proto_init() { FILE: app/instman/command/command_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant InstanceManagementService_ListInstance_FullMethodName (line 16) | InstanceManagementService_ListInstance_FullMethodName = "/v2ray.core.ap... constant InstanceManagementService_AddInstance_FullMethodName (line 17) | InstanceManagementService_AddInstance_FullMethodName = "/v2ray.core.ap... constant InstanceManagementService_StartInstance_FullMethodName (line 18) | InstanceManagementService_StartInstance_FullMethodName = "/v2ray.core.ap... type InstanceManagementServiceClient (line 24) | type InstanceManagementServiceClient interface type instanceManagementServiceClient (line 30) | type instanceManagementServiceClient struct method ListInstance (line 38) | func (c *instanceManagementServiceClient) ListInstance(ctx context.Con... method AddInstance (line 48) | func (c *instanceManagementServiceClient) AddInstance(ctx context.Cont... method StartInstance (line 58) | func (c *instanceManagementServiceClient) StartInstance(ctx context.Co... function NewInstanceManagementServiceClient (line 34) | func NewInstanceManagementServiceClient(cc grpc.ClientConnInterface) Ins... type InstanceManagementServiceServer (line 71) | type InstanceManagementServiceServer interface type UnimplementedInstanceManagementServiceServer (line 83) | type UnimplementedInstanceManagementServiceServer struct method ListInstance (line 85) | func (UnimplementedInstanceManagementServiceServer) ListInstance(conte... method AddInstance (line 88) | func (UnimplementedInstanceManagementServiceServer) AddInstance(contex... method StartInstance (line 91) | func (UnimplementedInstanceManagementServiceServer) StartInstance(cont... method mustEmbedUnimplementedInstanceManagementServiceServer (line 94) | func (UnimplementedInstanceManagementServiceServer) mustEmbedUnimpleme... method testEmbeddedByValue (line 96) | func (UnimplementedInstanceManagementServiceServer) testEmbeddedByValu... type UnsafeInstanceManagementServiceServer (line 101) | type UnsafeInstanceManagementServiceServer interface function RegisterInstanceManagementServiceServer (line 105) | func RegisterInstanceManagementServiceServer(s grpc.ServiceRegistrar, sr... function _InstanceManagementService_ListInstance_Handler (line 116) | func _InstanceManagementService_ListInstance_Handler(srv interface{}, ct... function _InstanceManagementService_AddInstance_Handler (line 134) | func _InstanceManagementService_AddInstance_Handler(srv interface{}, ctx... function _InstanceManagementService_StartInstance_Handler (line 152) | func _InstanceManagementService_StartInstance_Handler(srv interface{}, c... FILE: app/instman/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 25) | func (x *Config) Reset() { method String (line 32) | func (x *Config) String() string { method ProtoMessage (line 36) | func (*Config) ProtoMessage() {} method ProtoReflect (line 38) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 51) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_instman_config_proto_rawDesc (line 57) | file_app_instman_config_proto_rawDesc = "" + function file_app_instman_config_proto_rawDescGZIP (line 69) | func file_app_instman_config_proto_rawDescGZIP() []byte { function init (line 88) | func init() { file_app_instman_config_proto_init() } function file_app_instman_config_proto_init (line 89) | func file_app_instman_config_proto_init() { FILE: app/instman/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/instman/instman.go type InstanceMgr (line 13) | type InstanceMgr struct method Type (line 18) | func (i InstanceMgr) Type() interface{} { method Start (line 22) | func (i InstanceMgr) Start() error { method Close (line 26) | func (i InstanceMgr) Close() error { method ListInstance (line 30) | func (i InstanceMgr) ListInstance(ctx context.Context) ([]string, erro... method AddInstance (line 38) | func (i InstanceMgr) AddInstance(ctx context.Context, name string, con... method StartInstance (line 51) | func (i InstanceMgr) StartInstance(ctx context.Context, name string) e... method StopInstance (line 59) | func (i InstanceMgr) StopInstance(ctx context.Context, name string) er... method UntrackInstance (line 67) | func (i InstanceMgr) UntrackInstance(ctx context.Context, name string)... function NewInstanceMgr (line 72) | func NewInstanceMgr(ctx context.Context, config *Config) (extension.Inst... function init (line 76) | func init() { FILE: app/log/command/command.go type LoggerServer (line 17) | type LoggerServer struct method RestartLogger (line 22) | func (s *LoggerServer) RestartLogger(ctx context.Context, request *Res... method FollowLog (line 37) | func (s *LoggerServer) FollowLog(_ *FollowLogRequest, stream LoggerSer... method mustEmbedUnimplementedLoggerServiceServer (line 62) | func (s *LoggerServer) mustEmbedUnimplementedLoggerServiceServer() {} type service (line 64) | type service struct method Register (line 68) | func (s *service) Register(server *grpc.Server) { function init (line 74) | func init() { FILE: app/log/command/command_test.go function TestLoggerRestart (line 20) | func TestLoggerRestart(t *testing.T) { FILE: app/log/command/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 18) | type Config struct method Reset (line 24) | func (x *Config) Reset() { method String (line 31) | func (x *Config) String() string { method ProtoMessage (line 35) | func (*Config) ProtoMessage() {} method ProtoReflect (line 37) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*Config) Descriptor() ([]byte, []int) { type RestartLoggerRequest (line 54) | type RestartLoggerRequest struct method Reset (line 60) | func (x *RestartLoggerRequest) Reset() { method String (line 67) | func (x *RestartLoggerRequest) String() string { method ProtoMessage (line 71) | func (*RestartLoggerRequest) ProtoMessage() {} method ProtoReflect (line 73) | func (x *RestartLoggerRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 86) | func (*RestartLoggerRequest) Descriptor() ([]byte, []int) { type RestartLoggerResponse (line 90) | type RestartLoggerResponse struct method Reset (line 96) | func (x *RestartLoggerResponse) Reset() { method String (line 103) | func (x *RestartLoggerResponse) String() string { method ProtoMessage (line 107) | func (*RestartLoggerResponse) ProtoMessage() {} method ProtoReflect (line 109) | func (x *RestartLoggerResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 122) | func (*RestartLoggerResponse) Descriptor() ([]byte, []int) { type FollowLogRequest (line 126) | type FollowLogRequest struct method Reset (line 132) | func (x *FollowLogRequest) Reset() { method String (line 139) | func (x *FollowLogRequest) String() string { method ProtoMessage (line 143) | func (*FollowLogRequest) ProtoMessage() {} method ProtoReflect (line 145) | func (x *FollowLogRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 158) | func (*FollowLogRequest) Descriptor() ([]byte, []int) { type FollowLogResponse (line 162) | type FollowLogResponse struct method Reset (line 169) | func (x *FollowLogResponse) Reset() { method String (line 176) | func (x *FollowLogResponse) String() string { method ProtoMessage (line 180) | func (*FollowLogResponse) ProtoMessage() {} method ProtoReflect (line 182) | func (x *FollowLogResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 195) | func (*FollowLogResponse) Descriptor() ([]byte, []int) { method GetMessage (line 199) | func (x *FollowLogResponse) GetMessage() string { constant file_app_log_command_config_proto_rawDesc (line 208) | file_app_log_command_config_proto_rawDesc = "" + function file_app_log_command_config_proto_rawDescGZIP (line 227) | func file_app_log_command_config_proto_rawDescGZIP() []byte { function init (line 254) | func init() { file_app_log_command_config_proto_init() } function file_app_log_command_config_proto_init (line 255) | func file_app_log_command_config_proto_init() { FILE: app/log/command/config_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant LoggerService_RestartLogger_FullMethodName (line 16) | LoggerService_RestartLogger_FullMethodName = "/v2ray.core.app.log.comman... constant LoggerService_FollowLog_FullMethodName (line 17) | LoggerService_FollowLog_FullMethodName = "/v2ray.core.app.log.comman... type LoggerServiceClient (line 23) | type LoggerServiceClient interface type loggerServiceClient (line 29) | type loggerServiceClient struct method RestartLogger (line 37) | func (c *loggerServiceClient) RestartLogger(ctx context.Context, in *R... method FollowLog (line 47) | func (c *loggerServiceClient) FollowLog(ctx context.Context, in *Follo... function NewLoggerServiceClient (line 33) | func NewLoggerServiceClient(cc grpc.ClientConnInterface) LoggerServiceCl... type LoggerServiceServer (line 69) | type LoggerServiceServer interface type UnimplementedLoggerServiceServer (line 81) | type UnimplementedLoggerServiceServer struct method RestartLogger (line 83) | func (UnimplementedLoggerServiceServer) RestartLogger(context.Context,... method FollowLog (line 86) | func (UnimplementedLoggerServiceServer) FollowLog(*FollowLogRequest, g... method mustEmbedUnimplementedLoggerServiceServer (line 89) | func (UnimplementedLoggerServiceServer) mustEmbedUnimplementedLoggerSe... method testEmbeddedByValue (line 90) | func (UnimplementedLoggerServiceServer) testEmbeddedByValue() ... type UnsafeLoggerServiceServer (line 95) | type UnsafeLoggerServiceServer interface function RegisterLoggerServiceServer (line 99) | func RegisterLoggerServiceServer(s grpc.ServiceRegistrar, srv LoggerServ... function _LoggerService_RestartLogger_Handler (line 110) | func _LoggerService_RestartLogger_Handler(srv interface{}, ctx context.C... function _LoggerService_FollowLog_Handler (line 128) | func _LoggerService_FollowLog_Handler(srv interface{}, stream grpc.Serve... FILE: app/log/command/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/log/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LogType (line 20) | type LogType method Enum (line 45) | func (x LogType) Enum() *LogType { method String (line 51) | func (x LogType) String() string { method Descriptor (line 55) | func (LogType) Descriptor() protoreflect.EnumDescriptor { method Type (line 59) | func (LogType) Type() protoreflect.EnumType { method Number (line 63) | func (x LogType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 68) | func (LogType) EnumDescriptor() ([]byte, []int) { constant LogType_None (line 23) | LogType_None LogType = 0 constant LogType_Console (line 24) | LogType_Console LogType = 1 constant LogType_File (line 25) | LogType_File LogType = 2 constant LogType_Event (line 26) | LogType_Event LogType = 3 type LogSpecification (line 72) | type LogSpecification struct method Reset (line 81) | func (x *LogSpecification) Reset() { method String (line 88) | func (x *LogSpecification) String() string { method ProtoMessage (line 92) | func (*LogSpecification) ProtoMessage() {} method ProtoReflect (line 94) | func (x *LogSpecification) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*LogSpecification) Descriptor() ([]byte, []int) { method GetType (line 111) | func (x *LogSpecification) GetType() LogType { method GetLevel (line 118) | func (x *LogSpecification) GetLevel() log.Severity { method GetPath (line 125) | func (x *LogSpecification) GetPath() string { type Config (line 132) | type Config struct method Reset (line 140) | func (x *Config) Reset() { method String (line 147) | func (x *Config) String() string { method ProtoMessage (line 151) | func (*Config) ProtoMessage() {} method ProtoReflect (line 153) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 166) | func (*Config) Descriptor() ([]byte, []int) { method GetError (line 170) | func (x *Config) GetError() *LogSpecification { method GetAccess (line 177) | func (x *Config) GetAccess() *LogSpecification { constant file_app_log_config_proto_rawDesc (line 186) | file_app_log_config_proto_rawDesc = "" + function file_app_log_config_proto_rawDescGZIP (line 209) | func file_app_log_config_proto_rawDescGZIP() []byte { function init (line 236) | func init() { file_app_log_config_proto_init() } function file_app_log_config_proto_init (line 237) | func file_app_log_config_proto_init() { FILE: app/log/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/log/log.go type Instance (line 15) | type Instance struct method initAccessLogger (line 50) | func (g *Instance) initAccessLogger() error { method initErrorLogger (line 61) | func (g *Instance) initErrorLogger() error { method Type (line 73) | func (*Instance) Type() interface{} { method startInternal (line 77) | func (g *Instance) startInternal() error { method Start (line 98) | func (g *Instance) Start() error { method AddFollower (line 103) | func (g *Instance) AddFollower(f func(msg log.Message)) { method RemoveFollower (line 113) | func (g *Instance) RemoveFollower(f func(msg log.Message)) { method Handle (line 120) | func (g *Instance) Handle(msg log.Message) { method Close (line 147) | func (g *Instance) Close() error { function New (line 25) | func New(ctx context.Context, config *Config) (*Instance, error) { function init (line 168) | func init() { FILE: app/log/log_creator.go type HandlerCreatorOptions (line 8) | type HandlerCreatorOptions struct type HandlerCreator (line 12) | type HandlerCreator function RegisterHandlerCreator (line 16) | func RegisterHandlerCreator(logType LogType, f HandlerCreator) error { function createHandler (line 25) | func createHandler(logType LogType, options HandlerCreatorOptions) (log.... function init (line 33) | func init() { FILE: app/log/log_test.go function TestCustomLogHandler (line 15) | func TestCustomLogHandler(t *testing.T) { FILE: app/observatory/burst/burst.go constant rttFailed (line 11) | rttFailed = time.Duration(math.MaxInt64 - iota) constant rttUntested (line 12) | rttUntested constant rttUnqualified (line 13) | rttUnqualified FILE: app/observatory/burst/burstobserver.go type Observer (line 17) | type Observer struct method GetObservation (line 29) | func (o *Observer) GetObservation(ctx context.Context) (proto.Message,... method createResult (line 33) | func (o *Observer) createResult() []*observatory.OutboundStatus { method Type (line 59) | func (o *Observer) Type() interface{} { method Start (line 63) | func (o *Observer) Start() error { method Close (line 79) | func (o *Observer) Close() error { function New (line 87) | func New(ctx context.Context, config *Config) (*Observer, error) { function init (line 104) | func init() { FILE: app/observatory/burst/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetSubjectSelector (line 58) | func (x *Config) GetSubjectSelector() []string { method GetPingConfig (line 65) | func (x *Config) GetPingConfig() *HealthPingConfig { type HealthPingConfig (line 72) | type HealthPingConfig struct method Reset (line 89) | func (x *HealthPingConfig) Reset() { method String (line 96) | func (x *HealthPingConfig) String() string { method ProtoMessage (line 100) | func (*HealthPingConfig) ProtoMessage() {} method ProtoReflect (line 102) | func (x *HealthPingConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 115) | func (*HealthPingConfig) Descriptor() ([]byte, []int) { method GetDestination (line 119) | func (x *HealthPingConfig) GetDestination() string { method GetConnectivity (line 126) | func (x *HealthPingConfig) GetConnectivity() string { method GetInterval (line 133) | func (x *HealthPingConfig) GetInterval() int64 { method GetSamplingCount (line 140) | func (x *HealthPingConfig) GetSamplingCount() int32 { method GetTimeout (line 147) | func (x *HealthPingConfig) GetTimeout() int64 { constant file_app_observatory_burst_config_proto_rawDesc (line 156) | file_app_observatory_burst_config_proto_rawDesc = "" + function file_app_observatory_burst_config_proto_rawDescGZIP (line 177) | func file_app_observatory_burst_config_proto_rawDescGZIP() []byte { function init (line 198) | func init() { file_app_observatory_burst_config_proto_init() } function file_app_observatory_burst_config_proto_init (line 199) | func file_app_observatory_burst_config_proto_init() { FILE: app/observatory/burst/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/observatory/burst/healthping.go type HealthPingSettings (line 14) | type HealthPingSettings struct type HealthPing (line 23) | type HealthPing struct method StartScheduler (line 73) | func (h *HealthPing) StartScheduler(selector func() ([]string, error)) { method StopScheduler (line 104) | func (h *HealthPing) StopScheduler() { method Check (line 115) | func (h *HealthPing) Check(tags []string) error { method doCheck (line 131) | func (h *HealthPing) doCheck(tags []string, duration time.Duration, ro... method PutResult (line 192) | func (h *HealthPing) PutResult(tag string, rtt time.Duration) { method Cleanup (line 213) | func (h *HealthPing) Cleanup(tags []string) { method checkConnectivity (line 232) | func (h *HealthPing) checkConnectivity() bool { function NewHealthPing (line 34) | func NewHealthPing(ctx context.Context, config *HealthPingConfig) *Healt... type rtt (line 124) | type rtt struct FILE: app/observatory/burst/healthping_result.go type HealthPingStats (line 9) | type HealthPingStats struct type HealthPingRTTS (line 19) | type HealthPingRTTS struct method Get (line 40) | func (h *HealthPingRTTS) Get() *HealthPingStats { method GetWithCache (line 47) | func (h *HealthPingRTTS) GetWithCache() *HealthPingStats { method Put (line 58) | func (h *HealthPingRTTS) Put(d time.Duration) { method calcIndex (line 72) | func (h *HealthPingRTTS) calcIndex(step int) int { method getStatistics (line 81) | func (h *HealthPingRTTS) getStatistics() *HealthPingStats { method findOutdated (line 130) | func (h *HealthPingRTTS) findOutdated(now time.Time) int { type pingRTT (line 29) | type pingRTT struct function NewHealthPingResult (line 35) | func NewHealthPingResult(cap int, validity time.Duration) *HealthPingRTTS { FILE: app/observatory/burst/healthping_result_test.go function TestHealthPingResults (line 12) | func TestHealthPingResults(t *testing.T) { function TestHealthPingResultsIgnoreOutdated (line 54) | func TestHealthPingResultsIgnoreOutdated(t *testing.T) { FILE: app/observatory/burst/ping.go type pingClient (line 12) | type pingClient struct method MeasureDelay (line 53) | func (s *pingClient) MeasureDelay() (time.Duration, error) { function newPingClient (line 17) | func newPingClient(ctx context.Context, destination string, timeout time... function newDirectPingClient (line 24) | func newDirectPingClient(destination string, timeout time.Duration) *pin... function newHTTPClient (line 31) | func newHTTPClient(ctxv context.Context, handler string, timeout time.Du... FILE: app/observatory/command/command.go type service (line 21) | type service struct method GetOutboundStatus (line 28) | func (s *service) GetOutboundStatus(ctx context.Context, request *GetO... method Register (line 56) | func (s *service) Register(server *grpc.Server) { function init (line 60) | func init() { FILE: app/observatory/command/command.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type GetOutboundStatusRequest (line 20) | type GetOutboundStatusRequest struct method Reset (line 27) | func (x *GetOutboundStatusRequest) Reset() { method String (line 34) | func (x *GetOutboundStatusRequest) String() string { method ProtoMessage (line 38) | func (*GetOutboundStatusRequest) ProtoMessage() {} method ProtoReflect (line 40) | func (x *GetOutboundStatusRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*GetOutboundStatusRequest) Descriptor() ([]byte, []int) { method GetTag (line 57) | func (x *GetOutboundStatusRequest) GetTag() string { type GetOutboundStatusResponse (line 64) | type GetOutboundStatusResponse struct method Reset (line 71) | func (x *GetOutboundStatusResponse) Reset() { method String (line 78) | func (x *GetOutboundStatusResponse) String() string { method ProtoMessage (line 82) | func (*GetOutboundStatusResponse) ProtoMessage() {} method ProtoReflect (line 84) | func (x *GetOutboundStatusResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 97) | func (*GetOutboundStatusResponse) Descriptor() ([]byte, []int) { method GetStatus (line 101) | func (x *GetOutboundStatusResponse) GetStatus() *observatory.Observati... type Config (line 108) | type Config struct method Reset (line 114) | func (x *Config) Reset() { method String (line 121) | func (x *Config) String() string { method ProtoMessage (line 125) | func (*Config) ProtoMessage() {} method ProtoReflect (line 127) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 140) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_observatory_command_command_proto_rawDesc (line 146) | file_app_observatory_command_command_proto_rawDesc = "" + function file_app_observatory_command_command_proto_rawDescGZIP (line 164) | func file_app_observatory_command_command_proto_rawDescGZIP() []byte { function init (line 189) | func init() { file_app_observatory_command_command_proto_init() } function file_app_observatory_command_command_proto_init (line 190) | func file_app_observatory_command_command_proto_init() { FILE: app/observatory/command/command_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant ObservatoryService_GetOutboundStatus_FullMethodName (line 16) | ObservatoryService_GetOutboundStatus_FullMethodName = "/v2ray.core.app.o... type ObservatoryServiceClient (line 22) | type ObservatoryServiceClient interface type observatoryServiceClient (line 26) | type observatoryServiceClient struct method GetOutboundStatus (line 34) | func (c *observatoryServiceClient) GetOutboundStatus(ctx context.Conte... function NewObservatoryServiceClient (line 30) | func NewObservatoryServiceClient(cc grpc.ClientConnInterface) Observator... type ObservatoryServiceServer (line 47) | type ObservatoryServiceServer interface type UnimplementedObservatoryServiceServer (line 57) | type UnimplementedObservatoryServiceServer struct method GetOutboundStatus (line 59) | func (UnimplementedObservatoryServiceServer) GetOutboundStatus(context... method mustEmbedUnimplementedObservatoryServiceServer (line 62) | func (UnimplementedObservatoryServiceServer) mustEmbedUnimplementedObs... method testEmbeddedByValue (line 63) | func (UnimplementedObservatoryServiceServer) testEmbeddedByValue() ... type UnsafeObservatoryServiceServer (line 68) | type UnsafeObservatoryServiceServer interface function RegisterObservatoryServiceServer (line 72) | func RegisterObservatoryServiceServer(s grpc.ServiceRegistrar, srv Obser... function _ObservatoryService_GetOutboundStatus_Handler (line 83) | func _ObservatoryService_GetOutboundStatus_Handler(srv interface{}, ctx ... FILE: app/observatory/command/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/observatory/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ObservationResult (line 19) | type ObservationResult struct method Reset (line 26) | func (x *ObservationResult) Reset() { method String (line 33) | func (x *ObservationResult) String() string { method ProtoMessage (line 37) | func (*ObservationResult) ProtoMessage() {} method ProtoReflect (line 39) | func (x *ObservationResult) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*ObservationResult) Descriptor() ([]byte, []int) { method GetStatus (line 56) | func (x *ObservationResult) GetStatus() []*OutboundStatus { type HealthPingMeasurementResult (line 63) | type HealthPingMeasurementResult struct method Reset (line 75) | func (x *HealthPingMeasurementResult) Reset() { method String (line 82) | func (x *HealthPingMeasurementResult) String() string { method ProtoMessage (line 86) | func (*HealthPingMeasurementResult) ProtoMessage() {} method ProtoReflect (line 88) | func (x *HealthPingMeasurementResult) ProtoReflect() protoreflect.Mess... method Descriptor (line 101) | func (*HealthPingMeasurementResult) Descriptor() ([]byte, []int) { method GetAll (line 105) | func (x *HealthPingMeasurementResult) GetAll() int64 { method GetFail (line 112) | func (x *HealthPingMeasurementResult) GetFail() int64 { method GetDeviation (line 119) | func (x *HealthPingMeasurementResult) GetDeviation() int64 { method GetAverage (line 126) | func (x *HealthPingMeasurementResult) GetAverage() int64 { method GetMax (line 133) | func (x *HealthPingMeasurementResult) GetMax() int64 { method GetMin (line 140) | func (x *HealthPingMeasurementResult) GetMin() int64 { type OutboundStatus (line 147) | type OutboundStatus struct method Reset (line 173) | func (x *OutboundStatus) Reset() { method String (line 180) | func (x *OutboundStatus) String() string { method ProtoMessage (line 184) | func (*OutboundStatus) ProtoMessage() {} method ProtoReflect (line 186) | func (x *OutboundStatus) ProtoReflect() protoreflect.Message { method Descriptor (line 199) | func (*OutboundStatus) Descriptor() ([]byte, []int) { method GetAlive (line 203) | func (x *OutboundStatus) GetAlive() bool { method GetDelay (line 210) | func (x *OutboundStatus) GetDelay() int64 { method GetLastErrorReason (line 217) | func (x *OutboundStatus) GetLastErrorReason() string { method GetOutboundTag (line 224) | func (x *OutboundStatus) GetOutboundTag() string { method GetLastSeenTime (line 231) | func (x *OutboundStatus) GetLastSeenTime() int64 { method GetLastTryTime (line 238) | func (x *OutboundStatus) GetLastTryTime() int64 { method GetHealthPing (line 245) | func (x *OutboundStatus) GetHealthPing() *HealthPingMeasurementResult { type ProbeResult (line 252) | type ProbeResult struct method Reset (line 268) | func (x *ProbeResult) Reset() { method String (line 275) | func (x *ProbeResult) String() string { method ProtoMessage (line 279) | func (*ProbeResult) ProtoMessage() {} method ProtoReflect (line 281) | func (x *ProbeResult) ProtoReflect() protoreflect.Message { method Descriptor (line 294) | func (*ProbeResult) Descriptor() ([]byte, []int) { method GetAlive (line 298) | func (x *ProbeResult) GetAlive() bool { method GetDelay (line 305) | func (x *ProbeResult) GetDelay() int64 { method GetLastErrorReason (line 312) | func (x *ProbeResult) GetLastErrorReason() string { type Intensity (line 319) | type Intensity struct method Reset (line 328) | func (x *Intensity) Reset() { method String (line 335) | func (x *Intensity) String() string { method ProtoMessage (line 339) | func (*Intensity) ProtoMessage() {} method ProtoReflect (line 341) | func (x *Intensity) ProtoReflect() protoreflect.Message { method Descriptor (line 354) | func (*Intensity) Descriptor() ([]byte, []int) { method GetProbeInterval (line 358) | func (x *Intensity) GetProbeInterval() uint32 { type Config (line 365) | type Config struct method Reset (line 376) | func (x *Config) Reset() { method String (line 383) | func (x *Config) String() string { method ProtoMessage (line 387) | func (*Config) ProtoMessage() {} method ProtoReflect (line 389) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 402) | func (*Config) Descriptor() ([]byte, []int) { method GetSubjectSelector (line 406) | func (x *Config) GetSubjectSelector() []string { method GetProbeUrl (line 413) | func (x *Config) GetProbeUrl() string { method GetProbeInterval (line 420) | func (x *Config) GetProbeInterval() int64 { method GetPersistentProbeResult (line 427) | func (x *Config) GetPersistentProbeResult() bool { constant file_app_observatory_config_proto_rawDesc (line 436) | file_app_observatory_config_proto_rawDesc = "" + function file_app_observatory_config_proto_rawDescGZIP (line 476) | func file_app_observatory_config_proto_rawDescGZIP() []byte { function init (line 502) | func init() { file_app_observatory_config_proto_init() } function file_app_observatory_config_proto_init (line 503) | func file_app_observatory_config_proto_init() { FILE: app/observatory/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/observatory/explainErrors.go type errorCollector (line 5) | type errorCollector struct method SubmitError (line 9) | func (e *errorCollector) SubmitError(err error) { method UnderlyingError (line 21) | func (e *errorCollector) UnderlyingError() error { function newErrorCollector (line 17) | func newErrorCollector() *errorCollector { FILE: app/observatory/multiobservatory/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 27) | func (x *Config) Reset() { method String (line 34) | func (x *Config) String() string { method ProtoMessage (line 38) | func (*Config) ProtoMessage() {} method ProtoReflect (line 40) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*Config) Descriptor() ([]byte, []int) { method GetHolders (line 57) | func (x *Config) GetHolders() *taggedfeatures.Config { constant file_app_observatory_multiobservatory_config_proto_rawDesc (line 66) | file_app_observatory_multiobservatory_config_proto_rawDesc = "" + function file_app_observatory_multiobservatory_config_proto_rawDescGZIP (line 79) | func file_app_observatory_multiobservatory_config_proto_rawDescGZIP() []... function init (line 100) | func init() { file_app_observatory_multiobservatory_config_proto_init() } function file_app_observatory_multiobservatory_config_proto_init (line 101) | func file_app_observatory_multiobservatory_config_proto_init() { FILE: app/observatory/multiobservatory/multi.go type Observer (line 15) | type Observer struct method GetObservation (line 21) | func (o Observer) GetObservation(ctx context.Context) (proto.Message, ... method Type (line 25) | func (o Observer) Type() interface{} { function New (line 29) | func New(ctx context.Context, config *Config) (*Observer, error) { method UnmarshalJSONPB (line 37) | func (x *Config) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarshaler, bytes ... function init (line 43) | func init() { FILE: app/observatory/observer.go type Observer (line 33) | type Observer struct method GetObservation (line 48) | func (o *Observer) GetObservation(ctx context.Context) (proto.Message,... method Type (line 52) | func (o *Observer) Type() interface{} { method Start (line 56) | func (o *Observer) Start() error { method Close (line 82) | func (o *Observer) Close() error { method background (line 89) | func (o *Observer) background() { method updateStatus (line 126) | func (o *Observer) updateStatus(outbounds []string) { method probe (line 133) | func (o *Observer) probe(outbound string) ProbeResult { method updateStatusForResult (line 202) | func (o *Observer) updateStatusForResult(outbound string, result *Prob... method findStatusLocationLockHolderOnly (line 232) | func (o *Observer) findStatusLocationLockHolderOnly(outbound string) i... method loadOutboundStatus (line 241) | func (o *Observer) loadOutboundStatus(name string) { function New (line 254) | func New(ctx context.Context, config *Config) (*Observer, error) { function init (line 270) | func init() { FILE: app/persistentstorage/filesystemstorage/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type StateStorageRoot (line 19) | type StateStorageRoot method Enum (line 35) | func (x StateStorageRoot) Enum() *StateStorageRoot { method String (line 41) | func (x StateStorageRoot) String() string { method Descriptor (line 45) | func (StateStorageRoot) Descriptor() protoreflect.EnumDescriptor { method Type (line 49) | func (StateStorageRoot) Type() protoreflect.EnumType { method Number (line 53) | func (x StateStorageRoot) Number() protoreflect.EnumNumber { method EnumDescriptor (line 58) | func (StateStorageRoot) EnumDescriptor() ([]byte, []int) { constant StateStorageRoot_WorkDir (line 22) | StateStorageRoot_WorkDir StateStorageRoot = 0 type Config (line 62) | type Config struct method Reset (line 71) | func (x *Config) Reset() { method String (line 78) | func (x *Config) String() string { method ProtoMessage (line 82) | func (*Config) ProtoMessage() {} method ProtoReflect (line 84) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 97) | func (*Config) Descriptor() ([]byte, []int) { method GetStateStorageRoot (line 101) | func (x *Config) GetStateStorageRoot() StateStorageRoot { method GetInstanceName (line 108) | func (x *Config) GetInstanceName() string { method GetProtojson (line 115) | func (x *Config) GetProtojson() bool { constant file_app_persistentstorage_filesystemstorage_config_proto_rawDesc (line 124) | file_app_persistentstorage_filesystemstorage_config_proto_rawDesc = "" + function file_app_persistentstorage_filesystemstorage_config_proto_rawDescGZIP (line 141) | func file_app_persistentstorage_filesystemstorage_config_proto_rawDescGZ... function init (line 163) | func init() { file_app_persistentstorage_filesystemstorage_config_proto_... function file_app_persistentstorage_filesystemstorage_config_proto_init (line 164) | func file_app_persistentstorage_filesystemstorage_config_proto_init() { FILE: app/persistentstorage/filesystemstorage/fs.go function newFileSystemStorage (line 19) | func newFileSystemStorage(ctx context.Context, config *Config) storage.S... type fileSystemStorage (line 33) | type fileSystemStorage struct method Type (line 42) | func (f *fileSystemStorage) Type() interface{} { method Start (line 46) | func (f *fileSystemStorage) Start() error { method Close (line 50) | func (f *fileSystemStorage) Close() error { method PutProto (line 54) | func (f *fileSystemStorage) PutProto(ctx context.Context, key string, ... method GetProto (line 58) | func (f *fileSystemStorage) GetProto(ctx context.Context, key string, ... method ScopedPersistentStorageEngine (line 62) | func (f *fileSystemStorage) ScopedPersistentStorageEngine() { method Put (line 65) | func (f *fileSystemStorage) Put(ctx context.Context, key []byte, value... method Get (line 79) | func (f *fileSystemStorage) Get(ctx context.Context, key []byte) ([]by... method List (line 89) | func (f *fileSystemStorage) List(ctx context.Context, keyPrefix []byte... method Clear (line 103) | func (f *fileSystemStorage) Clear(ctx context.Context) { method NarrowScope (line 113) | func (f *fileSystemStorage) NarrowScope(ctx context.Context, key []byt... method DropScope (line 125) | func (f *fileSystemStorage) DropScope(ctx context.Context, key []byte)... function init (line 129) | func init() { FILE: app/persistentstorage/protostorage/protokv.go type ProtoPersistentStorage (line 12) | type ProtoPersistentStorage interface type protoStorage (line 17) | type protoStorage struct method PutProto (line 22) | func (p *protoStorage) PutProto(ctx context.Context, key string, pb pr... method GetProto (line 35) | func (p *protoStorage) GetProto(ctx context.Context, key string, pb pr... function NewProtoStorage (line 46) | func NewProtoStorage(storage storage.ScopedPersistentStorage, textFormat... FILE: app/policy/config.go method Duration (line 10) | func (s *Second) Duration() time.Duration { function defaultPolicy (line 17) | func defaultPolicy() *Policy { method overrideWith (line 33) | func (p *Policy_Timeout) overrideWith(another *Policy_Timeout) { method overrideWith (line 48) | func (p *Policy) overrideWith(another *Policy) { method ToCorePolicy (line 64) | func (p *Policy) ToCorePolicy() policy.Session { method ToCorePolicy (line 84) | func (p *SystemPolicy) ToCorePolicy() policy.System { FILE: app/policy/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Second (line 19) | type Second struct method Reset (line 26) | func (x *Second) Reset() { method String (line 33) | func (x *Second) String() string { method ProtoMessage (line 37) | func (*Second) ProtoMessage() {} method ProtoReflect (line 39) | func (x *Second) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*Second) Descriptor() ([]byte, []int) { method GetValue (line 56) | func (x *Second) GetValue() uint32 { type Policy (line 63) | type Policy struct method Reset (line 72) | func (x *Policy) Reset() { method String (line 79) | func (x *Policy) String() string { method ProtoMessage (line 83) | func (*Policy) ProtoMessage() {} method ProtoReflect (line 85) | func (x *Policy) ProtoReflect() protoreflect.Message { method Descriptor (line 98) | func (*Policy) Descriptor() ([]byte, []int) { method GetTimeout (line 102) | func (x *Policy) GetTimeout() *Policy_Timeout { method GetStats (line 109) | func (x *Policy) GetStats() *Policy_Stats { method GetBuffer (line 116) | func (x *Policy) GetBuffer() *Policy_Buffer { type SystemPolicy (line 123) | type SystemPolicy struct method Reset (line 131) | func (x *SystemPolicy) Reset() { method String (line 138) | func (x *SystemPolicy) String() string { method ProtoMessage (line 142) | func (*SystemPolicy) ProtoMessage() {} method ProtoReflect (line 144) | func (x *SystemPolicy) ProtoReflect() protoreflect.Message { method Descriptor (line 157) | func (*SystemPolicy) Descriptor() ([]byte, []int) { method GetStats (line 161) | func (x *SystemPolicy) GetStats() *SystemPolicy_Stats { method GetOverrideAccessLogDest (line 168) | func (x *SystemPolicy) GetOverrideAccessLogDest() bool { type Config (line 175) | type Config struct method Reset (line 183) | func (x *Config) Reset() { method String (line 190) | func (x *Config) String() string { method ProtoMessage (line 194) | func (*Config) ProtoMessage() {} method ProtoReflect (line 196) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 209) | func (*Config) Descriptor() ([]byte, []int) { method GetLevel (line 213) | func (x *Config) GetLevel() map[uint32]*Policy { method GetSystem (line 220) | func (x *Config) GetSystem() *SystemPolicy { type Policy_Timeout (line 228) | type Policy_Timeout struct method Reset (line 238) | func (x *Policy_Timeout) Reset() { method String (line 245) | func (x *Policy_Timeout) String() string { method ProtoMessage (line 249) | func (*Policy_Timeout) ProtoMessage() {} method ProtoReflect (line 251) | func (x *Policy_Timeout) ProtoReflect() protoreflect.Message { method Descriptor (line 264) | func (*Policy_Timeout) Descriptor() ([]byte, []int) { method GetHandshake (line 268) | func (x *Policy_Timeout) GetHandshake() *Second { method GetConnectionIdle (line 275) | func (x *Policy_Timeout) GetConnectionIdle() *Second { method GetUplinkOnly (line 282) | func (x *Policy_Timeout) GetUplinkOnly() *Second { method GetDownlinkOnly (line 289) | func (x *Policy_Timeout) GetDownlinkOnly() *Second { type Policy_Stats (line 296) | type Policy_Stats struct method Reset (line 304) | func (x *Policy_Stats) Reset() { method String (line 311) | func (x *Policy_Stats) String() string { method ProtoMessage (line 315) | func (*Policy_Stats) ProtoMessage() {} method ProtoReflect (line 317) | func (x *Policy_Stats) ProtoReflect() protoreflect.Message { method Descriptor (line 330) | func (*Policy_Stats) Descriptor() ([]byte, []int) { method GetUserUplink (line 334) | func (x *Policy_Stats) GetUserUplink() bool { method GetUserDownlink (line 341) | func (x *Policy_Stats) GetUserDownlink() bool { type Policy_Buffer (line 348) | type Policy_Buffer struct method Reset (line 356) | func (x *Policy_Buffer) Reset() { method String (line 363) | func (x *Policy_Buffer) String() string { method ProtoMessage (line 367) | func (*Policy_Buffer) ProtoMessage() {} method ProtoReflect (line 369) | func (x *Policy_Buffer) ProtoReflect() protoreflect.Message { method Descriptor (line 382) | func (*Policy_Buffer) Descriptor() ([]byte, []int) { method GetConnection (line 386) | func (x *Policy_Buffer) GetConnection() int32 { type SystemPolicy_Stats (line 393) | type SystemPolicy_Stats struct method Reset (line 403) | func (x *SystemPolicy_Stats) Reset() { method String (line 410) | func (x *SystemPolicy_Stats) String() string { method ProtoMessage (line 414) | func (*SystemPolicy_Stats) ProtoMessage() {} method ProtoReflect (line 416) | func (x *SystemPolicy_Stats) ProtoReflect() protoreflect.Message { method Descriptor (line 429) | func (*SystemPolicy_Stats) Descriptor() ([]byte, []int) { method GetInboundUplink (line 433) | func (x *SystemPolicy_Stats) GetInboundUplink() bool { method GetInboundDownlink (line 440) | func (x *SystemPolicy_Stats) GetInboundDownlink() bool { method GetOutboundUplink (line 447) | func (x *SystemPolicy_Stats) GetOutboundUplink() bool { method GetOutboundDownlink (line 454) | func (x *SystemPolicy_Stats) GetOutboundDownlink() bool { constant file_app_policy_config_proto_rawDesc (line 463) | file_app_policy_config_proto_rawDesc = "" + function file_app_policy_config_proto_rawDescGZIP (line 509) | func file_app_policy_config_proto_rawDescGZIP() []byte { function init (line 547) | func init() { file_app_policy_config_proto_init() } function file_app_policy_config_proto_init (line 548) | func file_app_policy_config_proto_init() { FILE: app/policy/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/policy/manager.go type Instance (line 11) | type Instance struct method Type (line 34) | func (*Instance) Type() interface{} { method ForLevel (line 39) | func (m *Instance) ForLevel(level uint32) policy.Session { method ForSystem (line 47) | func (m *Instance) ForSystem() policy.System { method Start (line 55) | func (m *Instance) Start() error { method Close (line 60) | func (m *Instance) Close() error { function New (line 17) | func New(ctx context.Context, config *Config) (*Instance, error) { function init (line 64) | func init() { FILE: app/policy/manager_test.go function TestPolicy (line 13) | func TestPolicy(t *testing.T) { FILE: app/proxyman/command/command.go type InboundOperation (line 17) | type InboundOperation interface type OutboundOperation (line 23) | type OutboundOperation interface function getInbound (line 28) | func getInbound(handler inbound.Handler) (proxy.Inbound, error) { method ApplyInbound (line 37) | func (op *AddUserOperation) ApplyInbound(ctx context.Context, handler in... method ApplyInbound (line 54) | func (op *RemoveUserOperation) ApplyInbound(ctx context.Context, handler... type handlerServer (line 66) | type handlerServer struct method AddInbound (line 72) | func (s *handlerServer) AddInbound(ctx context.Context, request *AddIn... method RemoveInbound (line 80) | func (s *handlerServer) RemoveInbound(ctx context.Context, request *Re... method AlterInbound (line 84) | func (s *handlerServer) AlterInbound(ctx context.Context, request *Alt... method AddOutbound (line 102) | func (s *handlerServer) AddOutbound(ctx context.Context, request *AddO... method RemoveOutbound (line 109) | func (s *handlerServer) RemoveOutbound(ctx context.Context, request *R... method AlterOutbound (line 113) | func (s *handlerServer) AlterOutbound(ctx context.Context, request *Al... method mustEmbedUnimplementedHandlerServiceServer (line 127) | func (s *handlerServer) mustEmbedUnimplementedHandlerServiceServer() {} type service (line 129) | type service struct method Register (line 133) | func (s *service) Register(server *grpc.Server) { function init (line 144) | func init() { FILE: app/proxyman/command/command.pb.go constant _ (line 17) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 19) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddUserOperation (line 22) | type AddUserOperation struct method Reset (line 29) | func (x *AddUserOperation) Reset() { method String (line 36) | func (x *AddUserOperation) String() string { method ProtoMessage (line 40) | func (*AddUserOperation) ProtoMessage() {} method ProtoReflect (line 42) | func (x *AddUserOperation) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*AddUserOperation) Descriptor() ([]byte, []int) { method GetUser (line 59) | func (x *AddUserOperation) GetUser() *protocol.User { type RemoveUserOperation (line 66) | type RemoveUserOperation struct method Reset (line 73) | func (x *RemoveUserOperation) Reset() { method String (line 80) | func (x *RemoveUserOperation) String() string { method ProtoMessage (line 84) | func (*RemoveUserOperation) ProtoMessage() {} method ProtoReflect (line 86) | func (x *RemoveUserOperation) ProtoReflect() protoreflect.Message { method Descriptor (line 99) | func (*RemoveUserOperation) Descriptor() ([]byte, []int) { method GetEmail (line 103) | func (x *RemoveUserOperation) GetEmail() string { type AddInboundRequest (line 110) | type AddInboundRequest struct method Reset (line 117) | func (x *AddInboundRequest) Reset() { method String (line 124) | func (x *AddInboundRequest) String() string { method ProtoMessage (line 128) | func (*AddInboundRequest) ProtoMessage() {} method ProtoReflect (line 130) | func (x *AddInboundRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 143) | func (*AddInboundRequest) Descriptor() ([]byte, []int) { method GetInbound (line 147) | func (x *AddInboundRequest) GetInbound() *v5.InboundHandlerConfig { type AddInboundResponse (line 154) | type AddInboundResponse struct method Reset (line 160) | func (x *AddInboundResponse) Reset() { method String (line 167) | func (x *AddInboundResponse) String() string { method ProtoMessage (line 171) | func (*AddInboundResponse) ProtoMessage() {} method ProtoReflect (line 173) | func (x *AddInboundResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 186) | func (*AddInboundResponse) Descriptor() ([]byte, []int) { type RemoveInboundRequest (line 190) | type RemoveInboundRequest struct method Reset (line 197) | func (x *RemoveInboundRequest) Reset() { method String (line 204) | func (x *RemoveInboundRequest) String() string { method ProtoMessage (line 208) | func (*RemoveInboundRequest) ProtoMessage() {} method ProtoReflect (line 210) | func (x *RemoveInboundRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 223) | func (*RemoveInboundRequest) Descriptor() ([]byte, []int) { method GetTag (line 227) | func (x *RemoveInboundRequest) GetTag() string { type RemoveInboundResponse (line 234) | type RemoveInboundResponse struct method Reset (line 240) | func (x *RemoveInboundResponse) Reset() { method String (line 247) | func (x *RemoveInboundResponse) String() string { method ProtoMessage (line 251) | func (*RemoveInboundResponse) ProtoMessage() {} method ProtoReflect (line 253) | func (x *RemoveInboundResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 266) | func (*RemoveInboundResponse) Descriptor() ([]byte, []int) { type AlterInboundRequest (line 270) | type AlterInboundRequest struct method Reset (line 278) | func (x *AlterInboundRequest) Reset() { method String (line 285) | func (x *AlterInboundRequest) String() string { method ProtoMessage (line 289) | func (*AlterInboundRequest) ProtoMessage() {} method ProtoReflect (line 291) | func (x *AlterInboundRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*AlterInboundRequest) Descriptor() ([]byte, []int) { method GetTag (line 308) | func (x *AlterInboundRequest) GetTag() string { method GetOperation (line 315) | func (x *AlterInboundRequest) GetOperation() *anypb.Any { type AlterInboundResponse (line 322) | type AlterInboundResponse struct method Reset (line 328) | func (x *AlterInboundResponse) Reset() { method String (line 335) | func (x *AlterInboundResponse) String() string { method ProtoMessage (line 339) | func (*AlterInboundResponse) ProtoMessage() {} method ProtoReflect (line 341) | func (x *AlterInboundResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 354) | func (*AlterInboundResponse) Descriptor() ([]byte, []int) { type AddOutboundRequest (line 358) | type AddOutboundRequest struct method Reset (line 365) | func (x *AddOutboundRequest) Reset() { method String (line 372) | func (x *AddOutboundRequest) String() string { method ProtoMessage (line 376) | func (*AddOutboundRequest) ProtoMessage() {} method ProtoReflect (line 378) | func (x *AddOutboundRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 391) | func (*AddOutboundRequest) Descriptor() ([]byte, []int) { method GetOutbound (line 395) | func (x *AddOutboundRequest) GetOutbound() *v5.OutboundHandlerConfig { type AddOutboundResponse (line 402) | type AddOutboundResponse struct method Reset (line 408) | func (x *AddOutboundResponse) Reset() { method String (line 415) | func (x *AddOutboundResponse) String() string { method ProtoMessage (line 419) | func (*AddOutboundResponse) ProtoMessage() {} method ProtoReflect (line 421) | func (x *AddOutboundResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 434) | func (*AddOutboundResponse) Descriptor() ([]byte, []int) { type RemoveOutboundRequest (line 438) | type RemoveOutboundRequest struct method Reset (line 445) | func (x *RemoveOutboundRequest) Reset() { method String (line 452) | func (x *RemoveOutboundRequest) String() string { method ProtoMessage (line 456) | func (*RemoveOutboundRequest) ProtoMessage() {} method ProtoReflect (line 458) | func (x *RemoveOutboundRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 471) | func (*RemoveOutboundRequest) Descriptor() ([]byte, []int) { method GetTag (line 475) | func (x *RemoveOutboundRequest) GetTag() string { type RemoveOutboundResponse (line 482) | type RemoveOutboundResponse struct method Reset (line 488) | func (x *RemoveOutboundResponse) Reset() { method String (line 495) | func (x *RemoveOutboundResponse) String() string { method ProtoMessage (line 499) | func (*RemoveOutboundResponse) ProtoMessage() {} method ProtoReflect (line 501) | func (x *RemoveOutboundResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 514) | func (*RemoveOutboundResponse) Descriptor() ([]byte, []int) { type AlterOutboundRequest (line 518) | type AlterOutboundRequest struct method Reset (line 526) | func (x *AlterOutboundRequest) Reset() { method String (line 533) | func (x *AlterOutboundRequest) String() string { method ProtoMessage (line 537) | func (*AlterOutboundRequest) ProtoMessage() {} method ProtoReflect (line 539) | func (x *AlterOutboundRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 552) | func (*AlterOutboundRequest) Descriptor() ([]byte, []int) { method GetTag (line 556) | func (x *AlterOutboundRequest) GetTag() string { method GetOperation (line 563) | func (x *AlterOutboundRequest) GetOperation() *anypb.Any { type AlterOutboundResponse (line 570) | type AlterOutboundResponse struct method Reset (line 576) | func (x *AlterOutboundResponse) Reset() { method String (line 583) | func (x *AlterOutboundResponse) String() string { method ProtoMessage (line 587) | func (*AlterOutboundResponse) ProtoMessage() {} method ProtoReflect (line 589) | func (x *AlterOutboundResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 602) | func (*AlterOutboundResponse) Descriptor() ([]byte, []int) { type Config (line 606) | type Config struct method Reset (line 612) | func (x *Config) Reset() { method String (line 619) | func (x *Config) String() string { method ProtoMessage (line 623) | func (*Config) ProtoMessage() {} method ProtoReflect (line 625) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 638) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_proxyman_command_command_proto_rawDesc (line 644) | file_app_proxyman_command_command_proto_rawDesc = "" + function file_app_proxyman_command_command_proto_rawDescGZIP (line 688) | func file_app_proxyman_command_command_proto_rawDescGZIP() []byte { function init (line 742) | func init() { file_app_proxyman_command_command_proto_init() } function file_app_proxyman_command_command_proto_init (line 743) | func file_app_proxyman_command_command_proto_init() { FILE: app/proxyman/command/command_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant HandlerService_AddInbound_FullMethodName (line 16) | HandlerService_AddInbound_FullMethodName = "/v2ray.core.app.proxyman... constant HandlerService_RemoveInbound_FullMethodName (line 17) | HandlerService_RemoveInbound_FullMethodName = "/v2ray.core.app.proxyman... constant HandlerService_AlterInbound_FullMethodName (line 18) | HandlerService_AlterInbound_FullMethodName = "/v2ray.core.app.proxyman... constant HandlerService_AddOutbound_FullMethodName (line 19) | HandlerService_AddOutbound_FullMethodName = "/v2ray.core.app.proxyman... constant HandlerService_RemoveOutbound_FullMethodName (line 20) | HandlerService_RemoveOutbound_FullMethodName = "/v2ray.core.app.proxyman... constant HandlerService_AlterOutbound_FullMethodName (line 21) | HandlerService_AlterOutbound_FullMethodName = "/v2ray.core.app.proxyman... type HandlerServiceClient (line 27) | type HandlerServiceClient interface type handlerServiceClient (line 36) | type handlerServiceClient struct method AddInbound (line 44) | func (c *handlerServiceClient) AddInbound(ctx context.Context, in *Add... method RemoveInbound (line 54) | func (c *handlerServiceClient) RemoveInbound(ctx context.Context, in *... method AlterInbound (line 64) | func (c *handlerServiceClient) AlterInbound(ctx context.Context, in *A... method AddOutbound (line 74) | func (c *handlerServiceClient) AddOutbound(ctx context.Context, in *Ad... method RemoveOutbound (line 84) | func (c *handlerServiceClient) RemoveOutbound(ctx context.Context, in ... method AlterOutbound (line 94) | func (c *handlerServiceClient) AlterOutbound(ctx context.Context, in *... function NewHandlerServiceClient (line 40) | func NewHandlerServiceClient(cc grpc.ClientConnInterface) HandlerService... type HandlerServiceServer (line 107) | type HandlerServiceServer interface type UnimplementedHandlerServiceServer (line 122) | type UnimplementedHandlerServiceServer struct method AddInbound (line 124) | func (UnimplementedHandlerServiceServer) AddInbound(context.Context, *... method RemoveInbound (line 127) | func (UnimplementedHandlerServiceServer) RemoveInbound(context.Context... method AlterInbound (line 130) | func (UnimplementedHandlerServiceServer) AlterInbound(context.Context,... method AddOutbound (line 133) | func (UnimplementedHandlerServiceServer) AddOutbound(context.Context, ... method RemoveOutbound (line 136) | func (UnimplementedHandlerServiceServer) RemoveOutbound(context.Contex... method AlterOutbound (line 139) | func (UnimplementedHandlerServiceServer) AlterOutbound(context.Context... method mustEmbedUnimplementedHandlerServiceServer (line 142) | func (UnimplementedHandlerServiceServer) mustEmbedUnimplementedHandler... method testEmbeddedByValue (line 143) | func (UnimplementedHandlerServiceServer) testEmbeddedByValue() ... type UnsafeHandlerServiceServer (line 148) | type UnsafeHandlerServiceServer interface function RegisterHandlerServiceServer (line 152) | func RegisterHandlerServiceServer(s grpc.ServiceRegistrar, srv HandlerSe... function _HandlerService_AddInbound_Handler (line 163) | func _HandlerService_AddInbound_Handler(srv interface{}, ctx context.Con... function _HandlerService_RemoveInbound_Handler (line 181) | func _HandlerService_RemoveInbound_Handler(srv interface{}, ctx context.... function _HandlerService_AlterInbound_Handler (line 199) | func _HandlerService_AlterInbound_Handler(srv interface{}, ctx context.C... function _HandlerService_AddOutbound_Handler (line 217) | func _HandlerService_AddOutbound_Handler(srv interface{}, ctx context.Co... function _HandlerService_RemoveOutbound_Handler (line 235) | func _HandlerService_RemoveOutbound_Handler(srv interface{}, ctx context... function _HandlerService_AlterOutbound_Handler (line 253) | func _HandlerService_AlterOutbound_Handler(srv interface{}, ctx context.... FILE: app/proxyman/command/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/proxyman/config.go method GetConcurrencyValue (line 3) | func (s *AllocationStrategy) GetConcurrencyValue() uint32 { method GetRefreshValue (line 10) | func (s *AllocationStrategy) GetRefreshValue() uint32 { method GetEffectiveSniffingSettings (line 17) | func (c *ReceiverConfig) GetEffectiveSniffingSettings() *SniffingConfig { FILE: app/proxyman/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type KnownProtocols (line 21) | type KnownProtocols method Enum (line 40) | func (x KnownProtocols) Enum() *KnownProtocols { method String (line 46) | func (x KnownProtocols) String() string { method Descriptor (line 50) | func (KnownProtocols) Descriptor() protoreflect.EnumDescriptor { method Type (line 54) | func (KnownProtocols) Type() protoreflect.EnumType { method Number (line 58) | func (x KnownProtocols) Number() protoreflect.EnumNumber { method EnumDescriptor (line 63) | func (KnownProtocols) EnumDescriptor() ([]byte, []int) { constant KnownProtocols_HTTP (line 24) | KnownProtocols_HTTP KnownProtocols = 0 constant KnownProtocols_TLS (line 25) | KnownProtocols_TLS KnownProtocols = 1 type AllocationStrategy_Type (line 67) | type AllocationStrategy_Type method Enum (line 92) | func (x AllocationStrategy_Type) Enum() *AllocationStrategy_Type { method String (line 98) | func (x AllocationStrategy_Type) String() string { method Descriptor (line 102) | func (AllocationStrategy_Type) Descriptor() protoreflect.EnumDescriptor { method Type (line 106) | func (AllocationStrategy_Type) Type() protoreflect.EnumType { method Number (line 110) | func (x AllocationStrategy_Type) Number() protoreflect.EnumNumber { method EnumDescriptor (line 115) | func (AllocationStrategy_Type) EnumDescriptor() ([]byte, []int) { constant AllocationStrategy_Always (line 71) | AllocationStrategy_Always AllocationStrategy_Type = 0 constant AllocationStrategy_Random (line 73) | AllocationStrategy_Random AllocationStrategy_Type = 1 constant AllocationStrategy_External (line 75) | AllocationStrategy_External AllocationStrategy_Type = 2 type SenderConfig_DomainStrategy (line 119) | type SenderConfig_DomainStrategy method Enum (line 144) | func (x SenderConfig_DomainStrategy) Enum() *SenderConfig_DomainStrate... method String (line 150) | func (x SenderConfig_DomainStrategy) String() string { method Descriptor (line 154) | func (SenderConfig_DomainStrategy) Descriptor() protoreflect.EnumDescr... method Type (line 158) | func (SenderConfig_DomainStrategy) Type() protoreflect.EnumType { method Number (line 162) | func (x SenderConfig_DomainStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 167) | func (SenderConfig_DomainStrategy) EnumDescriptor() ([]byte, []int) { constant SenderConfig_AS_IS (line 122) | SenderConfig_AS_IS SenderConfig_DomainStrategy = 0 constant SenderConfig_USE_IP (line 123) | SenderConfig_USE_IP SenderConfig_DomainStrategy = 1 constant SenderConfig_USE_IP4 (line 124) | SenderConfig_USE_IP4 SenderConfig_DomainStrategy = 2 constant SenderConfig_USE_IP6 (line 125) | SenderConfig_USE_IP6 SenderConfig_DomainStrategy = 3 type InboundConfig (line 171) | type InboundConfig struct method Reset (line 177) | func (x *InboundConfig) Reset() { method String (line 184) | func (x *InboundConfig) String() string { method ProtoMessage (line 188) | func (*InboundConfig) ProtoMessage() {} method ProtoReflect (line 190) | func (x *InboundConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 203) | func (*InboundConfig) Descriptor() ([]byte, []int) { type AllocationStrategy (line 207) | type AllocationStrategy struct method Reset (line 220) | func (x *AllocationStrategy) Reset() { method String (line 227) | func (x *AllocationStrategy) String() string { method ProtoMessage (line 231) | func (*AllocationStrategy) ProtoMessage() {} method ProtoReflect (line 233) | func (x *AllocationStrategy) ProtoReflect() protoreflect.Message { method Descriptor (line 246) | func (*AllocationStrategy) Descriptor() ([]byte, []int) { method GetType (line 250) | func (x *AllocationStrategy) GetType() AllocationStrategy_Type { method GetConcurrency (line 257) | func (x *AllocationStrategy) GetConcurrency() *AllocationStrategy_Allo... method GetRefresh (line 264) | func (x *AllocationStrategy) GetRefresh() *AllocationStrategy_Allocati... type SniffingConfig (line 271) | type SniffingConfig struct method Reset (line 285) | func (x *SniffingConfig) Reset() { method String (line 292) | func (x *SniffingConfig) String() string { method ProtoMessage (line 296) | func (*SniffingConfig) ProtoMessage() {} method ProtoReflect (line 298) | func (x *SniffingConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 311) | func (*SniffingConfig) Descriptor() ([]byte, []int) { method GetEnabled (line 315) | func (x *SniffingConfig) GetEnabled() bool { method GetDestinationOverride (line 322) | func (x *SniffingConfig) GetDestinationOverride() []string { method GetMetadataOnly (line 329) | func (x *SniffingConfig) GetMetadataOnly() bool { type ReceiverConfig (line 336) | type ReceiverConfig struct method Reset (line 355) | func (x *ReceiverConfig) Reset() { method String (line 362) | func (x *ReceiverConfig) String() string { method ProtoMessage (line 366) | func (*ReceiverConfig) ProtoMessage() {} method ProtoReflect (line 368) | func (x *ReceiverConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 381) | func (*ReceiverConfig) Descriptor() ([]byte, []int) { method GetPortRange (line 385) | func (x *ReceiverConfig) GetPortRange() *net.PortRange { method GetListen (line 392) | func (x *ReceiverConfig) GetListen() *net.IPOrDomain { method GetAllocationStrategy (line 399) | func (x *ReceiverConfig) GetAllocationStrategy() *AllocationStrategy { method GetStreamSettings (line 406) | func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig { method GetReceiveOriginalDestination (line 413) | func (x *ReceiverConfig) GetReceiveOriginalDestination() bool { method GetDomainOverride (line 421) | func (x *ReceiverConfig) GetDomainOverride() []KnownProtocols { method GetSniffingSettings (line 428) | func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig { type InboundHandlerConfig (line 435) | type InboundHandlerConfig struct method Reset (line 444) | func (x *InboundHandlerConfig) Reset() { method String (line 451) | func (x *InboundHandlerConfig) String() string { method ProtoMessage (line 455) | func (*InboundHandlerConfig) ProtoMessage() {} method ProtoReflect (line 457) | func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 470) | func (*InboundHandlerConfig) Descriptor() ([]byte, []int) { method GetTag (line 474) | func (x *InboundHandlerConfig) GetTag() string { method GetReceiverSettings (line 481) | func (x *InboundHandlerConfig) GetReceiverSettings() *anypb.Any { method GetProxySettings (line 488) | func (x *InboundHandlerConfig) GetProxySettings() *anypb.Any { type OutboundConfig (line 495) | type OutboundConfig struct method Reset (line 501) | func (x *OutboundConfig) Reset() { method String (line 508) | func (x *OutboundConfig) String() string { method ProtoMessage (line 512) | func (*OutboundConfig) ProtoMessage() {} method ProtoReflect (line 514) | func (x *OutboundConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 527) | func (*OutboundConfig) Descriptor() ([]byte, []int) { type SenderConfig (line 531) | type SenderConfig struct method Reset (line 543) | func (x *SenderConfig) Reset() { method String (line 550) | func (x *SenderConfig) String() string { method ProtoMessage (line 554) | func (*SenderConfig) ProtoMessage() {} method ProtoReflect (line 556) | func (x *SenderConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 569) | func (*SenderConfig) Descriptor() ([]byte, []int) { method GetVia (line 573) | func (x *SenderConfig) GetVia() *net.IPOrDomain { method GetStreamSettings (line 580) | func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig { method GetProxySettings (line 587) | func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig { method GetMultiplexSettings (line 594) | func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig { method GetDomainStrategy (line 601) | func (x *SenderConfig) GetDomainStrategy() SenderConfig_DomainStrategy { type MultiplexingConfig (line 608) | type MultiplexingConfig struct method Reset (line 618) | func (x *MultiplexingConfig) Reset() { method String (line 625) | func (x *MultiplexingConfig) String() string { method ProtoMessage (line 629) | func (*MultiplexingConfig) ProtoMessage() {} method ProtoReflect (line 631) | func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 644) | func (*MultiplexingConfig) Descriptor() ([]byte, []int) { method GetEnabled (line 648) | func (x *MultiplexingConfig) GetEnabled() bool { method GetConcurrency (line 655) | func (x *MultiplexingConfig) GetConcurrency() uint32 { type AllocationStrategy_AllocationStrategyConcurrency (line 662) | type AllocationStrategy_AllocationStrategyConcurrency struct method Reset (line 669) | func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() { method String (line 676) | func (x *AllocationStrategy_AllocationStrategyConcurrency) String() st... method ProtoMessage (line 680) | func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage(... method ProtoReflect (line 682) | func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflec... method Descriptor (line 695) | func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ... method GetValue (line 699) | func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() ... type AllocationStrategy_AllocationStrategyRefresh (line 706) | type AllocationStrategy_AllocationStrategyRefresh struct method Reset (line 713) | func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() { method String (line 720) | func (x *AllocationStrategy_AllocationStrategyRefresh) String() string { method ProtoMessage (line 724) | func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {} method ProtoReflect (line 726) | func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() ... method Descriptor (line 739) | func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]b... method GetValue (line 743) | func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint... constant file_app_proxyman_config_proto_rawDesc (line 752) | file_app_proxyman_config_proto_rawDesc = "" + function file_app_proxyman_config_proto_rawDescGZIP (line 813) | func file_app_proxyman_config_proto_rawDescGZIP() []byte { function init (line 866) | func init() { file_app_proxyman_config_proto_init() } function file_app_proxyman_config_proto_init (line 867) | func file_app_proxyman_config_proto_init() { FILE: app/proxyman/inbound/always.go function getStatCounter (line 19) | func getStatCounter(v *core.Instance, tag string) (stats.Counter, stats.... type AlwaysOnInboundHandler (line 44) | type AlwaysOnInboundHandler struct method Start (line 151) | func (h *AlwaysOnInboundHandler) Start() error { method Close (line 161) | func (h *AlwaysOnInboundHandler) Close() error { method GetRandomInboundProxy (line 173) | func (h *AlwaysOnInboundHandler) GetRandomInboundProxy() (interface{},... method Tag (line 181) | func (h *AlwaysOnInboundHandler) Tag() string { method GetInbound (line 185) | func (h *AlwaysOnInboundHandler) GetInbound() proxy.Inbound { function NewAlwaysOnInboundHandler (line 51) | func NewAlwaysOnInboundHandler(ctx context.Context, tag string, receiver... FILE: app/proxyman/inbound/dynamic.go type DynamicInboundHandler (line 18) | type DynamicInboundHandler struct method allocatePort (line 71) | func (h *DynamicInboundHandler) allocatePort() net.Port { method closeWorkers (line 89) | func (h *DynamicInboundHandler) closeWorkers(workers []worker) { method refresh (line 105) | func (h *DynamicInboundHandler) refresh() error { method Start (line 181) | func (h *DynamicInboundHandler) Start() error { method Close (line 185) | func (h *DynamicInboundHandler) Close() error { method GetRandomInboundProxy (line 189) | func (h *DynamicInboundHandler) GetRandomInboundProxy() (interface{}, ... method Tag (line 201) | func (h *DynamicInboundHandler) Tag() string { function NewDynamicInboundHandler (line 35) | func NewDynamicInboundHandler(ctx context.Context, tag string, receiverC... FILE: app/proxyman/inbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/proxyman/inbound/inbound.go type Manager (line 18) | type Manager struct method Type (line 36) | func (*Manager) Type() interface{} { method AddHandler (line 41) | func (m *Manager) AddHandler(ctx context.Context, handler inbound.Hand... method GetHandler (line 60) | func (m *Manager) GetHandler(ctx context.Context, tag string) (inbound... method RemoveHandler (line 72) | func (m *Manager) RemoveHandler(ctx context.Context, tag string) error { method Start (line 92) | func (m *Manager) Start() error { method Close (line 113) | func (m *Manager) Close() error { function New (line 27) | func New(ctx context.Context, config *proxyman.InboundConfig) (*Manager,... function NewHandler (line 139) | func NewHandler(ctx context.Context, config *core.InboundHandlerConfig) ... function init (line 173) | func init() { FILE: app/proxyman/inbound/worker.go type worker (line 28) | type worker interface type tcpWorker (line 35) | type tcpWorker struct method callback (line 59) | func (w *tcpWorker) callback(conn internet.Connection) { method Proxy (line 111) | func (w *tcpWorker) Proxy() proxy.Inbound { method Start (line 115) | func (w *tcpWorker) Start() error { method Close (line 133) | func (w *tcpWorker) Close() error { method Port (line 150) | func (w *tcpWorker) Port() net.Port { function getTProxyType (line 52) | func getTProxyType(s *internet.MemoryStreamConfig) internet.SocketConfig... type udpConn (line 154) | type udpConn struct method setInactive (line 167) | func (c *udpConn) setInactive() { method updateActivity (line 171) | func (c *udpConn) updateActivity() { method ReadMultiBuffer (line 176) | func (c *udpConn) ReadMultiBuffer() (buf.MultiBuffer, error) { method Read (line 190) | func (c *udpConn) Read(buf []byte) (int, error) { method Write (line 195) | func (c *udpConn) Write(buf []byte) (int, error) { method Close (line 206) | func (c *udpConn) Close() error { method RemoteAddr (line 212) | func (c *udpConn) RemoteAddr() net.Addr { method LocalAddr (line 216) | func (c *udpConn) LocalAddr() net.Addr { method SetDeadline (line 220) | func (*udpConn) SetDeadline(time.Time) error { method SetReadDeadline (line 224) | func (*udpConn) SetReadDeadline(time.Time) error { method SetWriteDeadline (line 228) | func (*udpConn) SetWriteDeadline(time.Time) error { type connID (line 232) | type connID struct type udpWorker (line 237) | type udpWorker struct method getConnection (line 257) | func (w *udpWorker) getConnection(id connID) (*udpConn, bool) { method callback (line 290) | func (w *udpWorker) callback(b *buf.Buffer, source net.Destination, or... method removeConn (line 340) | func (w *udpWorker) removeConn(id connID) { method handlePackets (line 346) | func (w *udpWorker) handlePackets() { method clean (line 353) | func (w *udpWorker) clean() error { method Start (line 379) | func (w *udpWorker) Start() error { method Close (line 403) | func (w *udpWorker) Close() error { method Port (line 431) | func (w *udpWorker) Port() net.Port { method Proxy (line 435) | func (w *udpWorker) Proxy() proxy.Inbound { type dsWorker (line 439) | type dsWorker struct method callback (line 454) | func (w *dsWorker) callback(conn internet.Connection) { method Proxy (line 487) | func (w *dsWorker) Proxy() proxy.Inbound { method Port (line 491) | func (w *dsWorker) Port() net.Port { method Start (line 495) | func (w *dsWorker) Start() error { method Close (line 513) | func (w *dsWorker) Close() error { FILE: app/proxyman/outbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/proxyman/outbound/handler.go function getStatCounter (line 28) | func getStatCounter(v *core.Instance, tag string) (stats.Counter, stats.... type Handler (line 54) | type Handler struct method Tag (line 148) | func (h *Handler) Tag() string { method Dispatch (line 153) | func (h *Handler) Dispatch(ctx context.Context, link *transport.Link) { method Address (line 188) | func (h *Handler) Address() net.Address { method Dial (line 196) | func (h *Handler) Dial(ctx context.Context, dest net.Destination) (int... method resolveIP (line 280) | func (h *Handler) resolveIP(ctx context.Context, domain string, localA... method getStatCouterConnection (line 296) | func (h *Handler) getStatCouterConnection(conn internet.Connection) in... method GetOutbound (line 308) | func (h *Handler) GetOutbound() proxy.Outbound { method Start (line 313) | func (h *Handler) Start() error { method Close (line 318) | func (h *Handler) Close() error { function NewHandler (line 68) | func NewHandler(ctx context.Context, config *core.OutboundHandlerConfig)... FILE: app/proxyman/outbound/handler_test.go function TestInterfaces (line 27) | func TestInterfaces(t *testing.T) { function toContext (line 33) | func toContext(ctx context.Context, v *core.Instance) context.Context function TestOutboundWithoutStatCounter (line 35) | func TestOutboundWithoutStatCounter(t *testing.T) { function TestOutboundWithStatCounter (line 71) | func TestOutboundWithStatCounter(t *testing.T) { FILE: app/proxyman/outbound/outbound.go type Manager (line 19) | type Manager struct method Type (line 36) | func (m *Manager) Type() interface{} { method Start (line 41) | func (m *Manager) Start() error { method Close (line 63) | func (m *Manager) Close() error { method GetDefaultHandler (line 82) | func (m *Manager) GetDefaultHandler() outbound.Handler { method GetHandler (line 90) | func (m *Manager) GetHandler(tag string) outbound.Handler { method AddHandler (line 100) | func (m *Manager) AddHandler(ctx context.Context, handler outbound.Han... method RemoveHandler (line 128) | func (m *Manager) RemoveHandler(ctx context.Context, tag string) error { method Select (line 150) | func (m *Manager) Select(selectors []string) []string { function New (line 28) | func New(ctx context.Context, config *proxyman.OutboundConfig) (*Manager... function init (line 172) | func init() { FILE: app/restfulapi/config.go function init (line 9) | func init() { FILE: app/restfulapi/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetListenAddr (line 58) | func (x *Config) GetListenAddr() string { method GetListenPort (line 65) | func (x *Config) GetListenPort() int32 { method GetAuthToken (line 72) | func (x *Config) GetAuthToken() string { constant file_app_restfulapi_config_proto_rawDesc (line 81) | file_app_restfulapi_config_proto_rawDesc = "" + function file_app_restfulapi_config_proto_rawDescGZIP (line 100) | func file_app_restfulapi_config_proto_rawDescGZIP() []byte { function init (line 119) | func init() { file_app_restfulapi_config_proto_init() } function file_app_restfulapi_config_proto_init (line 120) | func file_app_restfulapi_config_proto_init() { FILE: app/restfulapi/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/restfulapi/restful_api.go type StatsBound (line 19) | type StatsBound struct method tagStats (line 24) | func (rs *restfulService) tagStats(w http.ResponseWriter, r *http.Reques... method version (line 50) | func (rs *restfulService) version(w http.ResponseWriter, r *http.Request) { method TokenAuthMiddleware (line 54) | func (rs *restfulService) TokenAuthMiddleware(next http.Handler) http.Ha... method start (line 71) | func (rs *restfulService) start() error { FILE: app/restfulapi/service.go type restfulService (line 15) | type restfulService struct method Type (line 25) | func (rs *restfulService) Type() interface{} { method Start (line 29) | func (rs *restfulService) Start() error { method Close (line 35) | func (rs *restfulService) Close() error { method init (line 44) | func (rs *restfulService) init(config *Config, stats feature_stats.Man... function newRestfulService (line 49) | func newRestfulService(ctx context.Context, config *Config) (features.Fe... FILE: app/restfulapi/service_test.go function TestTypeReturnAnonymousType (line 10) | func TestTypeReturnAnonymousType(t *testing.T) { FILE: app/reverse/bridge.go type Bridge (line 19) | type Bridge struct method cleanup (line 50) | func (b *Bridge) cleanup() { method monitor (line 64) | func (b *Bridge) monitor() error { method Start (line 89) | func (b *Bridge) Start() error { method Close (line 93) | func (b *Bridge) Close() error { function NewBridge (line 29) | func NewBridge(ctx context.Context, config *BridgeConfig, dispatcher rou... type BridgeWorker (line 97) | type BridgeWorker struct method Type (line 131) | func (w *BridgeWorker) Type() interface{} { method Start (line 135) | func (w *BridgeWorker) Start() error { method Close (line 139) | func (w *BridgeWorker) Close() error { method IsActive (line 143) | func (w *BridgeWorker) IsActive() bool { method Connections (line 147) | func (w *BridgeWorker) Connections() uint32 { method handleInternalConn (line 151) | func (w *BridgeWorker) handleInternalConn(link transport.Link) { method Dispatch (line 173) | func (w *BridgeWorker) Dispatch(ctx context.Context, dest net.Destinat... function NewBridgeWorker (line 104) | func NewBridgeWorker(ctx context.Context, domain string, tag string, d r... FILE: app/reverse/config.go method FillInRandom (line 10) | func (c *Control) FillInRandom() { FILE: app/reverse/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Control_State (line 19) | type Control_State method Enum (line 38) | func (x Control_State) Enum() *Control_State { method String (line 44) | func (x Control_State) String() string { method Descriptor (line 48) | func (Control_State) Descriptor() protoreflect.EnumDescriptor { method Type (line 52) | func (Control_State) Type() protoreflect.EnumType { method Number (line 56) | func (x Control_State) Number() protoreflect.EnumNumber { method EnumDescriptor (line 61) | func (Control_State) EnumDescriptor() ([]byte, []int) { constant Control_ACTIVE (line 22) | Control_ACTIVE Control_State = 0 constant Control_DRAIN (line 23) | Control_DRAIN Control_State = 1 type Control (line 65) | type Control struct method Reset (line 73) | func (x *Control) Reset() { method String (line 80) | func (x *Control) String() string { method ProtoMessage (line 84) | func (*Control) ProtoMessage() {} method ProtoReflect (line 86) | func (x *Control) ProtoReflect() protoreflect.Message { method Descriptor (line 99) | func (*Control) Descriptor() ([]byte, []int) { method GetState (line 103) | func (x *Control) GetState() Control_State { method GetRandom (line 110) | func (x *Control) GetRandom() []byte { type BridgeConfig (line 117) | type BridgeConfig struct method Reset (line 125) | func (x *BridgeConfig) Reset() { method String (line 132) | func (x *BridgeConfig) String() string { method ProtoMessage (line 136) | func (*BridgeConfig) ProtoMessage() {} method ProtoReflect (line 138) | func (x *BridgeConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 151) | func (*BridgeConfig) Descriptor() ([]byte, []int) { method GetTag (line 155) | func (x *BridgeConfig) GetTag() string { method GetDomain (line 162) | func (x *BridgeConfig) GetDomain() string { type PortalConfig (line 169) | type PortalConfig struct method Reset (line 177) | func (x *PortalConfig) Reset() { method String (line 184) | func (x *PortalConfig) String() string { method ProtoMessage (line 188) | func (*PortalConfig) ProtoMessage() {} method ProtoReflect (line 190) | func (x *PortalConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 203) | func (*PortalConfig) Descriptor() ([]byte, []int) { method GetTag (line 207) | func (x *PortalConfig) GetTag() string { method GetDomain (line 214) | func (x *PortalConfig) GetDomain() string { type Config (line 221) | type Config struct method Reset (line 229) | func (x *Config) Reset() { method String (line 236) | func (x *Config) String() string { method ProtoMessage (line 240) | func (*Config) ProtoMessage() {} method ProtoReflect (line 242) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*Config) Descriptor() ([]byte, []int) { method GetBridgeConfig (line 259) | func (x *Config) GetBridgeConfig() []*BridgeConfig { method GetPortalConfig (line 266) | func (x *Config) GetPortalConfig() []*PortalConfig { constant file_app_reverse_config_proto_rawDesc (line 275) | file_app_reverse_config_proto_rawDesc = "" + function file_app_reverse_config_proto_rawDescGZIP (line 302) | func file_app_reverse_config_proto_rawDescGZIP() []byte { function init (line 329) | func init() { file_app_reverse_config_proto_init() } function file_app_reverse_config_proto_init (line 330) | func file_app_reverse_config_proto_init() { FILE: app/reverse/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/reverse/portal.go type Portal (line 21) | type Portal struct method Start (line 56) | func (p *Portal) Start() error { method Close (line 63) | func (p *Portal) Close() error { method HandleConnection (line 67) | func (p *Portal) HandleConnection(ctx context.Context, link *transport... function NewPortal (line 30) | func NewPortal(ctx context.Context, config *PortalConfig, ohm outbound.M... type Outbound (line 91) | type Outbound struct method Tag (line 96) | func (o *Outbound) Tag() string { method Dispatch (line 100) | func (o *Outbound) Dispatch(ctx context.Context, link *transport.Link) { method Start (line 107) | func (o *Outbound) Start() error { method Close (line 111) | func (o *Outbound) Close() error { type StaticMuxPicker (line 115) | type StaticMuxPicker struct method cleanup (line 131) | func (p *StaticMuxPicker) cleanup() error { method PickAvailable (line 149) | func (p *StaticMuxPicker) PickAvailable() (*mux.ClientWorker, error) { method AddWorker (line 191) | func (p *StaticMuxPicker) AddWorker(worker *PortalWorker) { function NewStaticMuxPicker (line 121) | func NewStaticMuxPicker() (*StaticMuxPicker, error) { type PortalWorker (line 198) | type PortalWorker struct method heartbeat (line 234) | func (w *PortalWorker) heartbeat() error { method IsFull (line 263) | func (w *PortalWorker) IsFull() bool { method Closed (line 267) | func (w *PortalWorker) Closed() bool { function NewPortalWorker (line 206) | func NewPortalWorker(ctx context.Context, client *mux.ClientWorker) (*Po... FILE: app/reverse/portal_test.go function TestStaticPickerEmpty (line 10) | func TestStaticPickerEmpty(t *testing.T) { FILE: app/reverse/reverse.go constant internalDomain (line 17) | internalDomain = "reverse.internal.v2fly.org" function isDomain (line 20) | func isDomain(dest net.Destination, domain string) bool { function isInternalDomain (line 24) | func isInternalDomain(dest net.Destination) bool { function init (line 28) | func init() { type Reverse (line 40) | type Reverse struct method Init (line 45) | func (r *Reverse) Init(ctx context.Context, config *Config, d routing.... method Type (line 65) | func (r *Reverse) Type() interface{} { method Start (line 69) | func (r *Reverse) Start() error { method Close (line 85) | func (r *Reverse) Close() error { FILE: app/router/balancing.go type BalancingStrategy (line 13) | type BalancingStrategy interface type BalancingPrincipleTarget (line 17) | type BalancingPrincipleTarget interface type Balancer (line 21) | type Balancer struct method PickOutbound (line 31) | func (b *Balancer) PickOutbound() (string, error) { method InjectContext (line 57) | func (b *Balancer) InjectContext(ctx context.Context) { method SelectOutbounds (line 64) | func (b *Balancer) SelectOutbounds() ([]string, error) { method GetPrincipleTarget (line 74) | func (r *Router) GetPrincipleTarget(tag string) ([]string, error) { method SetOverrideTarget (line 89) | func (r *Router) SetOverrideTarget(tag, target string) error { method GetOverrideTarget (line 98) | func (r *Router) GetOverrideTarget(tag string) (string, error) { FILE: app/router/balancing_override.go method OverrideBalancer (line 7) | func (r *Router) OverrideBalancer(balancer string, target string) error { type overrideSettings (line 22) | type overrideSettings struct type override (line 26) | type override struct method Get (line 32) | func (o *override) Get() string { method Put (line 39) | func (o *override) Put(target string) { method Clear (line 46) | func (o *override) Clear() { FILE: app/router/command/command.go type routingServer (line 18) | type routingServer struct method GetBalancerInfo (line 23) | func (s *routingServer) GetBalancerInfo(ctx context.Context, request *... method OverrideBalancerTarget (line 51) | func (s *routingServer) OverrideBalancerTarget(ctx context.Context, re... method TestRoute (line 66) | func (s *routingServer) TestRoute(ctx context.Context, request *TestRo... method SubscribeRoutingStats (line 81) | func (s *routingServer) SubscribeRoutingStats(request *SubscribeRoutin... method mustEmbedUnimplementedRoutingServiceServer (line 111) | func (s *routingServer) mustEmbedUnimplementedRoutingServiceServer() {} function NewRoutingServer (line 59) | func NewRoutingServer(router routing.Router, routingStats stats.Channel)... type service (line 113) | type service struct method Register (line 117) | func (s *service) Register(server *grpc.Server) { function init (line 123) | func init() { FILE: app/router/command/command.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RoutingContext (line 23) | type RoutingContext struct method Reset (line 41) | func (x *RoutingContext) Reset() { method String (line 48) | func (x *RoutingContext) String() string { method ProtoMessage (line 52) | func (*RoutingContext) ProtoMessage() {} method ProtoReflect (line 54) | func (x *RoutingContext) ProtoReflect() protoreflect.Message { method Descriptor (line 67) | func (*RoutingContext) Descriptor() ([]byte, []int) { method GetInboundTag (line 71) | func (x *RoutingContext) GetInboundTag() string { method GetNetwork (line 78) | func (x *RoutingContext) GetNetwork() net.Network { method GetSourceIPs (line 85) | func (x *RoutingContext) GetSourceIPs() [][]byte { method GetTargetIPs (line 92) | func (x *RoutingContext) GetTargetIPs() [][]byte { method GetSourcePort (line 99) | func (x *RoutingContext) GetSourcePort() uint32 { method GetTargetPort (line 106) | func (x *RoutingContext) GetTargetPort() uint32 { method GetTargetDomain (line 113) | func (x *RoutingContext) GetTargetDomain() string { method GetProtocol (line 120) | func (x *RoutingContext) GetProtocol() string { method GetUser (line 127) | func (x *RoutingContext) GetUser() string { method GetAttributes (line 134) | func (x *RoutingContext) GetAttributes() map[string]string { method GetOutboundGroupTags (line 141) | func (x *RoutingContext) GetOutboundGroupTags() []string { method GetOutboundTag (line 148) | func (x *RoutingContext) GetOutboundTag() string { type SubscribeRoutingStatsRequest (line 173) | type SubscribeRoutingStatsRequest struct method Reset (line 180) | func (x *SubscribeRoutingStatsRequest) Reset() { method String (line 187) | func (x *SubscribeRoutingStatsRequest) String() string { method ProtoMessage (line 191) | func (*SubscribeRoutingStatsRequest) ProtoMessage() {} method ProtoReflect (line 193) | func (x *SubscribeRoutingStatsRequest) ProtoReflect() protoreflect.Mes... method Descriptor (line 206) | func (*SubscribeRoutingStatsRequest) Descriptor() ([]byte, []int) { method GetFieldSelectors (line 210) | func (x *SubscribeRoutingStatsRequest) GetFieldSelectors() []string { type TestRouteRequest (line 224) | type TestRouteRequest struct method Reset (line 233) | func (x *TestRouteRequest) Reset() { method String (line 240) | func (x *TestRouteRequest) String() string { method ProtoMessage (line 244) | func (*TestRouteRequest) ProtoMessage() {} method ProtoReflect (line 246) | func (x *TestRouteRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 259) | func (*TestRouteRequest) Descriptor() ([]byte, []int) { method GetRoutingContext (line 263) | func (x *TestRouteRequest) GetRoutingContext() *RoutingContext { method GetFieldSelectors (line 270) | func (x *TestRouteRequest) GetFieldSelectors() []string { method GetPublishResult (line 277) | func (x *TestRouteRequest) GetPublishResult() bool { type PrincipleTargetInfo (line 284) | type PrincipleTargetInfo struct method Reset (line 291) | func (x *PrincipleTargetInfo) Reset() { method String (line 298) | func (x *PrincipleTargetInfo) String() string { method ProtoMessage (line 302) | func (*PrincipleTargetInfo) ProtoMessage() {} method ProtoReflect (line 304) | func (x *PrincipleTargetInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 317) | func (*PrincipleTargetInfo) Descriptor() ([]byte, []int) { method GetTag (line 321) | func (x *PrincipleTargetInfo) GetTag() []string { type OverrideInfo (line 328) | type OverrideInfo struct method Reset (line 335) | func (x *OverrideInfo) Reset() { method String (line 342) | func (x *OverrideInfo) String() string { method ProtoMessage (line 346) | func (*OverrideInfo) ProtoMessage() {} method ProtoReflect (line 348) | func (x *OverrideInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 361) | func (*OverrideInfo) Descriptor() ([]byte, []int) { method GetTarget (line 365) | func (x *OverrideInfo) GetTarget() string { type BalancerMsg (line 372) | type BalancerMsg struct method Reset (line 380) | func (x *BalancerMsg) Reset() { method String (line 387) | func (x *BalancerMsg) String() string { method ProtoMessage (line 391) | func (*BalancerMsg) ProtoMessage() {} method ProtoReflect (line 393) | func (x *BalancerMsg) ProtoReflect() protoreflect.Message { method Descriptor (line 406) | func (*BalancerMsg) Descriptor() ([]byte, []int) { method GetOverride (line 410) | func (x *BalancerMsg) GetOverride() *OverrideInfo { method GetPrincipleTarget (line 417) | func (x *BalancerMsg) GetPrincipleTarget() *PrincipleTargetInfo { type GetBalancerInfoRequest (line 424) | type GetBalancerInfoRequest struct method Reset (line 431) | func (x *GetBalancerInfoRequest) Reset() { method String (line 438) | func (x *GetBalancerInfoRequest) String() string { method ProtoMessage (line 442) | func (*GetBalancerInfoRequest) ProtoMessage() {} method ProtoReflect (line 444) | func (x *GetBalancerInfoRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 457) | func (*GetBalancerInfoRequest) Descriptor() ([]byte, []int) { method GetTag (line 461) | func (x *GetBalancerInfoRequest) GetTag() string { type GetBalancerInfoResponse (line 468) | type GetBalancerInfoResponse struct method Reset (line 475) | func (x *GetBalancerInfoResponse) Reset() { method String (line 482) | func (x *GetBalancerInfoResponse) String() string { method ProtoMessage (line 486) | func (*GetBalancerInfoResponse) ProtoMessage() {} method ProtoReflect (line 488) | func (x *GetBalancerInfoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 501) | func (*GetBalancerInfoResponse) Descriptor() ([]byte, []int) { method GetBalancer (line 505) | func (x *GetBalancerInfoResponse) GetBalancer() *BalancerMsg { type OverrideBalancerTargetRequest (line 512) | type OverrideBalancerTargetRequest struct method Reset (line 520) | func (x *OverrideBalancerTargetRequest) Reset() { method String (line 527) | func (x *OverrideBalancerTargetRequest) String() string { method ProtoMessage (line 531) | func (*OverrideBalancerTargetRequest) ProtoMessage() {} method ProtoReflect (line 533) | func (x *OverrideBalancerTargetRequest) ProtoReflect() protoreflect.Me... method Descriptor (line 546) | func (*OverrideBalancerTargetRequest) Descriptor() ([]byte, []int) { method GetBalancerTag (line 550) | func (x *OverrideBalancerTargetRequest) GetBalancerTag() string { method GetTarget (line 557) | func (x *OverrideBalancerTargetRequest) GetTarget() string { type OverrideBalancerTargetResponse (line 564) | type OverrideBalancerTargetResponse struct method Reset (line 570) | func (x *OverrideBalancerTargetResponse) Reset() { method String (line 577) | func (x *OverrideBalancerTargetResponse) String() string { method ProtoMessage (line 581) | func (*OverrideBalancerTargetResponse) ProtoMessage() {} method ProtoReflect (line 583) | func (x *OverrideBalancerTargetResponse) ProtoReflect() protoreflect.M... method Descriptor (line 596) | func (*OverrideBalancerTargetResponse) Descriptor() ([]byte, []int) { type Config (line 600) | type Config struct method Reset (line 606) | func (x *Config) Reset() { method String (line 613) | func (x *Config) String() string { method ProtoMessage (line 617) | func (*Config) ProtoMessage() {} method ProtoReflect (line 619) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 632) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_router_command_command_proto_rawDesc (line 638) | file_app_router_command_command_proto_rawDesc = "" + function file_app_router_command_command_proto_rawDescGZIP (line 701) | func file_app_router_command_command_proto_rawDescGZIP() []byte { function init (line 746) | func init() { file_app_router_command_command_proto_init() } function file_app_router_command_command_proto_init (line 747) | func file_app_router_command_command_proto_init() { FILE: app/router/command/command_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant RoutingService_SubscribeRoutingStats_FullMethodName (line 16) | RoutingService_SubscribeRoutingStats_FullMethodName = "/v2ray.core.app.... constant RoutingService_TestRoute_FullMethodName (line 17) | RoutingService_TestRoute_FullMethodName = "/v2ray.core.app.... constant RoutingService_GetBalancerInfo_FullMethodName (line 18) | RoutingService_GetBalancerInfo_FullMethodName = "/v2ray.core.app.... constant RoutingService_OverrideBalancerTarget_FullMethodName (line 19) | RoutingService_OverrideBalancerTarget_FullMethodName = "/v2ray.core.app.... type RoutingServiceClient (line 25) | type RoutingServiceClient interface type routingServiceClient (line 32) | type routingServiceClient struct method SubscribeRoutingStats (line 40) | func (c *routingServiceClient) SubscribeRoutingStats(ctx context.Conte... method TestRoute (line 59) | func (c *routingServiceClient) TestRoute(ctx context.Context, in *Test... method GetBalancerInfo (line 69) | func (c *routingServiceClient) GetBalancerInfo(ctx context.Context, in... method OverrideBalancerTarget (line 79) | func (c *routingServiceClient) OverrideBalancerTarget(ctx context.Cont... function NewRoutingServiceClient (line 36) | func NewRoutingServiceClient(cc grpc.ClientConnInterface) RoutingService... type RoutingServiceServer (line 92) | type RoutingServiceServer interface type UnimplementedRoutingServiceServer (line 105) | type UnimplementedRoutingServiceServer struct method SubscribeRoutingStats (line 107) | func (UnimplementedRoutingServiceServer) SubscribeRoutingStats(*Subscr... method TestRoute (line 110) | func (UnimplementedRoutingServiceServer) TestRoute(context.Context, *T... method GetBalancerInfo (line 113) | func (UnimplementedRoutingServiceServer) GetBalancerInfo(context.Conte... method OverrideBalancerTarget (line 116) | func (UnimplementedRoutingServiceServer) OverrideBalancerTarget(contex... method mustEmbedUnimplementedRoutingServiceServer (line 119) | func (UnimplementedRoutingServiceServer) mustEmbedUnimplementedRouting... method testEmbeddedByValue (line 120) | func (UnimplementedRoutingServiceServer) testEmbeddedByValue() ... type UnsafeRoutingServiceServer (line 125) | type UnsafeRoutingServiceServer interface function RegisterRoutingServiceServer (line 129) | func RegisterRoutingServiceServer(s grpc.ServiceRegistrar, srv RoutingSe... function _RoutingService_SubscribeRoutingStats_Handler (line 140) | func _RoutingService_SubscribeRoutingStats_Handler(srv interface{}, stre... function _RoutingService_TestRoute_Handler (line 151) | func _RoutingService_TestRoute_Handler(srv interface{}, ctx context.Cont... function _RoutingService_GetBalancerInfo_Handler (line 169) | func _RoutingService_GetBalancerInfo_Handler(srv interface{}, ctx contex... function _RoutingService_OverrideBalancerTarget_Handler (line 187) | func _RoutingService_OverrideBalancerTarget_Handler(srv interface{}, ctx... FILE: app/router/command/command_test.go function TestServiceSubscribeRoutingStats (line 25) | func TestServiceSubscribeRoutingStats(t *testing.T) { function TestSerivceTestRoute (line 211) | func TestSerivceTestRoute(t *testing.T) { FILE: app/router/command/config.go type routingContext (line 11) | type routingContext struct method GetSourceIPs (line 15) | func (c routingContext) GetSourceIPs() []net.IP { method GetSourcePort (line 19) | func (c routingContext) GetSourcePort() net.Port { method GetTargetIPs (line 23) | func (c routingContext) GetTargetIPs() []net.IP { method GetTargetPort (line 27) | func (c routingContext) GetTargetPort() net.Port { method GetSkipDNSResolve (line 34) | func (c routingContext) GetSkipDNSResolve() bool { function AsRoutingContext (line 39) | func AsRoutingContext(r *RoutingContext) routing.Context { function AsRoutingRoute (line 44) | func AsRoutingRoute(r *RoutingContext) routing.Route { function AsProtobufMessage (line 64) | func AsProtobufMessage(fieldSelectors []string) func(routing.Route) *Rou... function mapBytesToIPs (line 87) | func mapBytesToIPs(bytes [][]byte) []net.IP { function mapIPsToBytes (line 95) | func mapIPsToBytes(ips []net.IP) [][]byte { FILE: app/router/command/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/router/condition.go type Condition (line 15) | type Condition interface type ConditionChan (line 19) | type ConditionChan method Add (line 26) | func (v *ConditionChan) Add(cond Condition) *ConditionChan { method Apply (line 32) | func (v *ConditionChan) Apply(ctx routing.Context) bool { method Len (line 41) | func (v *ConditionChan) Len() int { function NewConditionChan (line 21) | func NewConditionChan() *ConditionChan { function domainToMatcher (line 52) | func domainToMatcher(domain *routercommon.Domain) (strmatcher.Matcher, e... type DomainMatcher (line 66) | type DomainMatcher struct method Match (line 93) | func (m *DomainMatcher) Match(domain string) bool { method Apply (line 98) | func (m *DomainMatcher) Apply(ctx routing.Context) bool { function NewDomainMatcher (line 70) | func NewDomainMatcher(matcherType string, domains []*routercommon.Domain... type MultiGeoIPMatcher (line 106) | type MultiGeoIPMatcher struct method Apply (line 130) | func (m *MultiGeoIPMatcher) Apply(ctx routing.Context) bool { function NewMultiGeoIPMatcher (line 111) | func NewMultiGeoIPMatcher(geoips []*routercommon.GeoIP, onSource bool) (... type PortMatcher (line 147) | type PortMatcher struct method Apply (line 161) | func (v *PortMatcher) Apply(ctx routing.Context) bool { function NewPortMatcher (line 153) | func NewPortMatcher(list *net.PortList, onSource bool) *PortMatcher { type NetworkMatcher (line 168) | type NetworkMatcher struct method Apply (line 181) | func (v NetworkMatcher) Apply(ctx routing.Context) bool { function NewNetworkMatcher (line 172) | func NewNetworkMatcher(network []net.Network) NetworkMatcher { type UserMatcher (line 185) | type UserMatcher struct method Apply (line 202) | func (v *UserMatcher) Apply(ctx routing.Context) bool { function NewUserMatcher (line 189) | func NewUserMatcher(users []string) *UserMatcher { type InboundTagMatcher (line 215) | type InboundTagMatcher struct method Apply (line 232) | func (v *InboundTagMatcher) Apply(ctx routing.Context) bool { function NewInboundTagMatcher (line 219) | func NewInboundTagMatcher(tags []string) *InboundTagMatcher { type ProtocolMatcher (line 245) | type ProtocolMatcher struct method Apply (line 264) | func (m *ProtocolMatcher) Apply(ctx routing.Context) bool { function NewProtocolMatcher (line 249) | func NewProtocolMatcher(protocols []string) *ProtocolMatcher { type AttributeMatcher (line 277) | type AttributeMatcher struct method Match (line 298) | func (m *AttributeMatcher) Match(attrs map[string]string) bool { method Apply (line 319) | func (m *AttributeMatcher) Apply(ctx routing.Context) bool { function NewAttributeMatcher (line 281) | func NewAttributeMatcher(code string) (*AttributeMatcher, error) { FILE: app/router/condition_geoip.go type GeoIPMatcher (line 12) | type GeoIPMatcher struct method Init (line 19) | func (m *GeoIPMatcher) Init(cidrs []*routercommon.CIDR) error { method SetReverseMatch (line 50) | func (m *GeoIPMatcher) SetReverseMatch(isReverseMatch bool) { method match4 (line 54) | func (m *GeoIPMatcher) match4(ip net.IP) bool { method match6 (line 62) | func (m *GeoIPMatcher) match6(ip net.IP) bool { method Match (line 71) | func (m *GeoIPMatcher) Match(ip net.IP) bool { type GeoIPMatcherContainer (line 86) | type GeoIPMatcherContainer struct method Add (line 92) | func (c *GeoIPMatcherContainer) Add(geoip *routercommon.GeoIP) (*GeoIP... FILE: app/router/condition_geoip_test.go function init (line 20) | func init() { function TestGeoIPMatcherContainer (line 39) | func TestGeoIPMatcherContainer(t *testing.T) { function TestGeoIPMatcher (line 66) | func TestGeoIPMatcher(t *testing.T) { function TestGeoIPReverseMatcher (line 138) | func TestGeoIPReverseMatcher(t *testing.T) { function TestGeoIPMatcher4CN (line 174) | func TestGeoIPMatcher4CN(t *testing.T) { function TestGeoIPMatcher6US (line 186) | func TestGeoIPMatcher6US(t *testing.T) { function loadGeoIP (line 198) | func loadGeoIP(country string) ([]*routercommon.CIDR, error) { function BenchmarkGeoIPMatcher4CN (line 217) | func BenchmarkGeoIPMatcher4CN(b *testing.B) { function BenchmarkGeoIPMatcher6US (line 231) | func BenchmarkGeoIPMatcher6US(b *testing.B) { FILE: app/router/condition_test.go function init (line 26) | func init() { function withBackground (line 55) | func withBackground() routing.Context { function withOutbound (line 59) | func withOutbound(outbound *session.Outbound) routing.Context { function withInbound (line 63) | func withInbound(inbound *session.Inbound) routing.Context { function withContent (line 67) | func withContent(content *session.Content) routing.Context { function TestRoutingRule (line 71) | func TestRoutingRule(t *testing.T) { function loadGeoSite (line 355) | func loadGeoSite(country string) ([]*routercommon.Domain, error) { function TestChinaSites (line 374) | func TestChinaSites(t *testing.T) { function BenchmarkMphDomainMatcher (line 421) | func BenchmarkMphDomainMatcher(b *testing.B) { function BenchmarkDomainMatcher (line 463) | func BenchmarkDomainMatcher(b *testing.B) { function BenchmarkMultiGeoIPMatcher (line 505) | func BenchmarkMultiGeoIPMatcher(b *testing.B) { FILE: app/router/config.go type Rule (line 20) | type Rule struct method GetTag (line 26) | func (r *Rule) GetTag() (string, error) { method Apply (line 34) | func (r *Rule) Apply(ctx routing.Context) bool { method BuildCondition (line 38) | func (rr *RoutingRule) BuildCondition() (Condition, error) { method Build (line 133) | func (br *BalancingRule) Build(ohm outbound.Manager, dispatcher routing.... method UnmarshalJSONPB (line 189) | func (br *BalancingRule) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarshaler... FILE: app/router/config.pb.go constant _ (line 17) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 19) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type DomainStrategy (line 22) | type DomainStrategy method Enum (line 51) | func (x DomainStrategy) Enum() *DomainStrategy { method String (line 57) | func (x DomainStrategy) String() string { method Descriptor (line 61) | func (DomainStrategy) Descriptor() protoreflect.EnumDescriptor { method Type (line 65) | func (DomainStrategy) Type() protoreflect.EnumType { method Number (line 69) | func (x DomainStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 74) | func (DomainStrategy) EnumDescriptor() ([]byte, []int) { constant DomainStrategy_AsIs (line 26) | DomainStrategy_AsIs DomainStrategy = 0 constant DomainStrategy_UseIp (line 28) | DomainStrategy_UseIp DomainStrategy = 1 constant DomainStrategy_IpIfNonMatch (line 30) | DomainStrategy_IpIfNonMatch DomainStrategy = 2 constant DomainStrategy_IpOnDemand (line 32) | DomainStrategy_IpOnDemand DomainStrategy = 3 type RoutingRule (line 78) | type RoutingRule struct method Reset (line 130) | func (x *RoutingRule) Reset() { method String (line 137) | func (x *RoutingRule) String() string { method ProtoMessage (line 141) | func (*RoutingRule) ProtoMessage() {} method ProtoReflect (line 143) | func (x *RoutingRule) ProtoReflect() protoreflect.Message { method Descriptor (line 156) | func (*RoutingRule) Descriptor() ([]byte, []int) { method GetTargetTag (line 160) | func (x *RoutingRule) GetTargetTag() isRoutingRule_TargetTag { method GetTag (line 167) | func (x *RoutingRule) GetTag() string { method GetBalancingTag (line 176) | func (x *RoutingRule) GetBalancingTag() string { method GetDomain (line 185) | func (x *RoutingRule) GetDomain() []*routercommon.Domain { method GetCidr (line 193) | func (x *RoutingRule) GetCidr() []*routercommon.CIDR { method GetGeoip (line 200) | func (x *RoutingRule) GetGeoip() []*routercommon.GeoIP { method GetPortRange (line 208) | func (x *RoutingRule) GetPortRange() *net.PortRange { method GetPortList (line 215) | func (x *RoutingRule) GetPortList() *net.PortList { method GetNetworkList (line 223) | func (x *RoutingRule) GetNetworkList() *net.NetworkList { method GetNetworks (line 230) | func (x *RoutingRule) GetNetworks() []net.Network { method GetSourceCidr (line 238) | func (x *RoutingRule) GetSourceCidr() []*routercommon.CIDR { method GetSourceGeoip (line 245) | func (x *RoutingRule) GetSourceGeoip() []*routercommon.GeoIP { method GetSourcePortList (line 252) | func (x *RoutingRule) GetSourcePortList() *net.PortList { method GetUserEmail (line 259) | func (x *RoutingRule) GetUserEmail() []string { method GetInboundTag (line 266) | func (x *RoutingRule) GetInboundTag() []string { method GetProtocol (line 273) | func (x *RoutingRule) GetProtocol() []string { method GetAttributes (line 280) | func (x *RoutingRule) GetAttributes() string { method GetDomainMatcher (line 287) | func (x *RoutingRule) GetDomainMatcher() string { method GetGeoDomain (line 294) | func (x *RoutingRule) GetGeoDomain() []*routercommon.GeoSite { type isRoutingRule_TargetTag (line 301) | type isRoutingRule_TargetTag interface type RoutingRule_Tag (line 305) | type RoutingRule_Tag struct method isRoutingRule_TargetTag (line 315) | func (*RoutingRule_Tag) isRoutingRule_TargetTag() {} type RoutingRule_BalancingTag (line 310) | type RoutingRule_BalancingTag struct method isRoutingRule_TargetTag (line 317) | func (*RoutingRule_BalancingTag) isRoutingRule_TargetTag() {} type BalancingRule (line 319) | type BalancingRule struct method Reset (line 330) | func (x *BalancingRule) Reset() { method String (line 337) | func (x *BalancingRule) String() string { method ProtoMessage (line 341) | func (*BalancingRule) ProtoMessage() {} method ProtoReflect (line 343) | func (x *BalancingRule) ProtoReflect() protoreflect.Message { method Descriptor (line 356) | func (*BalancingRule) Descriptor() ([]byte, []int) { method GetTag (line 360) | func (x *BalancingRule) GetTag() string { method GetOutboundSelector (line 367) | func (x *BalancingRule) GetOutboundSelector() []string { method GetStrategy (line 374) | func (x *BalancingRule) GetStrategy() string { method GetStrategySettings (line 381) | func (x *BalancingRule) GetStrategySettings() *anypb.Any { method GetFallbackTag (line 388) | func (x *BalancingRule) GetFallbackTag() string { type StrategyWeight (line 395) | type StrategyWeight struct method Reset (line 404) | func (x *StrategyWeight) Reset() { method String (line 411) | func (x *StrategyWeight) String() string { method ProtoMessage (line 415) | func (*StrategyWeight) ProtoMessage() {} method ProtoReflect (line 417) | func (x *StrategyWeight) ProtoReflect() protoreflect.Message { method Descriptor (line 430) | func (*StrategyWeight) Descriptor() ([]byte, []int) { method GetRegexp (line 434) | func (x *StrategyWeight) GetRegexp() bool { method GetMatch (line 441) | func (x *StrategyWeight) GetMatch() string { method GetValue (line 448) | func (x *StrategyWeight) GetValue() float32 { type StrategyRandomConfig (line 455) | type StrategyRandomConfig struct method Reset (line 463) | func (x *StrategyRandomConfig) Reset() { method String (line 470) | func (x *StrategyRandomConfig) String() string { method ProtoMessage (line 474) | func (*StrategyRandomConfig) ProtoMessage() {} method ProtoReflect (line 476) | func (x *StrategyRandomConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 489) | func (*StrategyRandomConfig) Descriptor() ([]byte, []int) { method GetObserverTag (line 493) | func (x *StrategyRandomConfig) GetObserverTag() string { method GetAliveOnly (line 500) | func (x *StrategyRandomConfig) GetAliveOnly() bool { type StrategyLeastPingConfig (line 507) | type StrategyLeastPingConfig struct method Reset (line 515) | func (x *StrategyLeastPingConfig) Reset() { method String (line 522) | func (x *StrategyLeastPingConfig) String() string { method ProtoMessage (line 526) | func (*StrategyLeastPingConfig) ProtoMessage() {} method ProtoReflect (line 528) | func (x *StrategyLeastPingConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 541) | func (*StrategyLeastPingConfig) Descriptor() ([]byte, []int) { method GetObserverTag (line 545) | func (x *StrategyLeastPingConfig) GetObserverTag() string { method GetStickyChoice (line 552) | func (x *StrategyLeastPingConfig) GetStickyChoice() bool { type StrategyLeastLoadConfig (line 559) | type StrategyLeastLoadConfig struct method Reset (line 576) | func (x *StrategyLeastLoadConfig) Reset() { method String (line 583) | func (x *StrategyLeastLoadConfig) String() string { method ProtoMessage (line 587) | func (*StrategyLeastLoadConfig) ProtoMessage() {} method ProtoReflect (line 589) | func (x *StrategyLeastLoadConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 602) | func (*StrategyLeastLoadConfig) Descriptor() ([]byte, []int) { method GetCosts (line 606) | func (x *StrategyLeastLoadConfig) GetCosts() []*StrategyWeight { method GetBaselines (line 613) | func (x *StrategyLeastLoadConfig) GetBaselines() []int64 { method GetExpected (line 620) | func (x *StrategyLeastLoadConfig) GetExpected() int32 { method GetMaxRTT (line 627) | func (x *StrategyLeastLoadConfig) GetMaxRTT() int64 { method GetTolerance (line 634) | func (x *StrategyLeastLoadConfig) GetTolerance() float32 { method GetObserverTag (line 641) | func (x *StrategyLeastLoadConfig) GetObserverTag() string { type Config (line 648) | type Config struct method Reset (line 657) | func (x *Config) Reset() { method String (line 664) | func (x *Config) String() string { method ProtoMessage (line 668) | func (*Config) ProtoMessage() {} method ProtoReflect (line 670) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 683) | func (*Config) Descriptor() ([]byte, []int) { method GetDomainStrategy (line 687) | func (x *Config) GetDomainStrategy() DomainStrategy { method GetRule (line 694) | func (x *Config) GetRule() []*RoutingRule { method GetBalancingRule (line 701) | func (x *Config) GetBalancingRule() []*BalancingRule { type SimplifiedRoutingRule (line 708) | type SimplifiedRoutingRule struct method Reset (line 742) | func (x *SimplifiedRoutingRule) Reset() { method String (line 749) | func (x *SimplifiedRoutingRule) String() string { method ProtoMessage (line 753) | func (*SimplifiedRoutingRule) ProtoMessage() {} method ProtoReflect (line 755) | func (x *SimplifiedRoutingRule) ProtoReflect() protoreflect.Message { method Descriptor (line 768) | func (*SimplifiedRoutingRule) Descriptor() ([]byte, []int) { method GetTargetTag (line 772) | func (x *SimplifiedRoutingRule) GetTargetTag() isSimplifiedRoutingRule... method GetTag (line 779) | func (x *SimplifiedRoutingRule) GetTag() string { method GetBalancingTag (line 788) | func (x *SimplifiedRoutingRule) GetBalancingTag() string { method GetDomain (line 797) | func (x *SimplifiedRoutingRule) GetDomain() []*routercommon.Domain { method GetGeoip (line 804) | func (x *SimplifiedRoutingRule) GetGeoip() []*routercommon.GeoIP { method GetPortList (line 811) | func (x *SimplifiedRoutingRule) GetPortList() string { method GetNetworks (line 818) | func (x *SimplifiedRoutingRule) GetNetworks() *net.NetworkList { method GetSourceGeoip (line 825) | func (x *SimplifiedRoutingRule) GetSourceGeoip() []*routercommon.GeoIP { method GetSourcePortList (line 832) | func (x *SimplifiedRoutingRule) GetSourcePortList() string { method GetUserEmail (line 839) | func (x *SimplifiedRoutingRule) GetUserEmail() []string { method GetInboundTag (line 846) | func (x *SimplifiedRoutingRule) GetInboundTag() []string { method GetProtocol (line 853) | func (x *SimplifiedRoutingRule) GetProtocol() []string { method GetAttributes (line 860) | func (x *SimplifiedRoutingRule) GetAttributes() string { method GetDomainMatcher (line 867) | func (x *SimplifiedRoutingRule) GetDomainMatcher() string { method GetGeoDomain (line 874) | func (x *SimplifiedRoutingRule) GetGeoDomain() []*routercommon.GeoSite { type isSimplifiedRoutingRule_TargetTag (line 881) | type isSimplifiedRoutingRule_TargetTag interface type SimplifiedRoutingRule_Tag (line 885) | type SimplifiedRoutingRule_Tag struct method isSimplifiedRoutingRule_TargetTag (line 895) | func (*SimplifiedRoutingRule_Tag) isSimplifiedRoutingRule_TargetTag() {} type SimplifiedRoutingRule_BalancingTag (line 890) | type SimplifiedRoutingRule_BalancingTag struct method isSimplifiedRoutingRule_TargetTag (line 897) | func (*SimplifiedRoutingRule_BalancingTag) isSimplifiedRoutingRule_Tar... type SimplifiedConfig (line 899) | type SimplifiedConfig struct method Reset (line 908) | func (x *SimplifiedConfig) Reset() { method String (line 915) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 919) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 921) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 934) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetDomainStrategy (line 938) | func (x *SimplifiedConfig) GetDomainStrategy() DomainStrategy { method GetRule (line 945) | func (x *SimplifiedConfig) GetRule() []*SimplifiedRoutingRule { method GetBalancingRule (line 952) | func (x *SimplifiedConfig) GetBalancingRule() []*BalancingRule { constant file_app_router_config_proto_rawDesc (line 961) | file_app_router_config_proto_rawDesc = "" + function file_app_router_config_proto_rawDescGZIP (line 1065) | func file_app_router_config_proto_rawDescGZIP() []byte { function init (line 1127) | func init() { file_app_router_config_proto_init() } function file_app_router_config_proto_init (line 1128) | func file_app_router_config_proto_init() { FILE: app/router/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/router/router.go type Router (line 20) | type Router struct method Init (line 35) | func (r *Router) Init(ctx context.Context, config *Config, d dns.Clien... method PickRoute (line 74) | func (r *Router) PickRoute(ctx routing.Context) (routing.Route, error) { method pickRouteInternal (line 86) | func (r *Router) pickRouteInternal(ctx routing.Context) (*Rule, routin... method Start (line 119) | func (r *Router) Start() error { method Close (line 124) | func (r *Router) Close() error { method Type (line 129) | func (*Router) Type() interface{} { type Route (line 28) | type Route struct method GetOutboundGroupTags (line 134) | func (r *Route) GetOutboundGroupTags() []string { method GetOutboundTag (line 139) | func (r *Route) GetOutboundTag() string { function init (line 143) | func init() { FILE: app/router/router_test.go type mockOutboundManager (line 19) | type mockOutboundManager struct function TestSimpleRouter (line 24) | func TestSimpleRouter(t *testing.T) { function TestSimpleBalancer (line 57) | func TestSimpleBalancer(t *testing.T) { function TestIPOnDemand (line 147) | func TestIPOnDemand(t *testing.T) { function TestIPIfNonMatchDomain (line 182) | func TestIPIfNonMatchDomain(t *testing.T) { function TestIPIfNonMatchIP (line 217) | func TestIPIfNonMatchIP(t *testing.T) { FILE: app/router/routercommon/common.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Domain_Type (line 20) | type Domain_Type method Enum (line 49) | func (x Domain_Type) Enum() *Domain_Type { method String (line 55) | func (x Domain_Type) String() string { method Descriptor (line 59) | func (Domain_Type) Descriptor() protoreflect.EnumDescriptor { method Type (line 63) | func (Domain_Type) Type() protoreflect.EnumType { method Number (line 67) | func (x Domain_Type) Number() protoreflect.EnumNumber { method EnumDescriptor (line 72) | func (Domain_Type) EnumDescriptor() ([]byte, []int) { constant Domain_Plain (line 24) | Domain_Plain Domain_Type = 0 constant Domain_Regex (line 26) | Domain_Regex Domain_Type = 1 constant Domain_RootDomain (line 28) | Domain_RootDomain Domain_Type = 2 constant Domain_Full (line 30) | Domain_Full Domain_Type = 3 type Domain (line 77) | type Domain struct method Reset (line 89) | func (x *Domain) Reset() { method String (line 96) | func (x *Domain) String() string { method ProtoMessage (line 100) | func (*Domain) ProtoMessage() {} method ProtoReflect (line 102) | func (x *Domain) ProtoReflect() protoreflect.Message { method Descriptor (line 115) | func (*Domain) Descriptor() ([]byte, []int) { method GetType (line 119) | func (x *Domain) GetType() Domain_Type { method GetValue (line 126) | func (x *Domain) GetValue() string { method GetAttribute (line 133) | func (x *Domain) GetAttribute() []*Domain_Attribute { type CIDR (line 141) | type CIDR struct method Reset (line 152) | func (x *CIDR) Reset() { method String (line 159) | func (x *CIDR) String() string { method ProtoMessage (line 163) | func (*CIDR) ProtoMessage() {} method ProtoReflect (line 165) | func (x *CIDR) ProtoReflect() protoreflect.Message { method Descriptor (line 178) | func (*CIDR) Descriptor() ([]byte, []int) { method GetIp (line 182) | func (x *CIDR) GetIp() []byte { method GetPrefix (line 189) | func (x *CIDR) GetPrefix() uint32 { method GetIpAddr (line 196) | func (x *CIDR) GetIpAddr() string { type GeoIP (line 203) | type GeoIP struct method Reset (line 216) | func (x *GeoIP) Reset() { method String (line 223) | func (x *GeoIP) String() string { method ProtoMessage (line 227) | func (*GeoIP) ProtoMessage() {} method ProtoReflect (line 229) | func (x *GeoIP) ProtoReflect() protoreflect.Message { method Descriptor (line 242) | func (*GeoIP) Descriptor() ([]byte, []int) { method GetCountryCode (line 246) | func (x *GeoIP) GetCountryCode() string { method GetCidr (line 253) | func (x *GeoIP) GetCidr() []*CIDR { method GetInverseMatch (line 260) | func (x *GeoIP) GetInverseMatch() bool { method GetResourceHash (line 267) | func (x *GeoIP) GetResourceHash() []byte { method GetCode (line 274) | func (x *GeoIP) GetCode() string { method GetFilePath (line 281) | func (x *GeoIP) GetFilePath() string { type GeoIPList (line 288) | type GeoIPList struct method Reset (line 295) | func (x *GeoIPList) Reset() { method String (line 302) | func (x *GeoIPList) String() string { method ProtoMessage (line 306) | func (*GeoIPList) ProtoMessage() {} method ProtoReflect (line 308) | func (x *GeoIPList) ProtoReflect() protoreflect.Message { method Descriptor (line 321) | func (*GeoIPList) Descriptor() ([]byte, []int) { method GetEntry (line 325) | func (x *GeoIPList) GetEntry() []*GeoIP { type GeoSite (line 332) | type GeoSite struct method Reset (line 344) | func (x *GeoSite) Reset() { method String (line 351) | func (x *GeoSite) String() string { method ProtoMessage (line 355) | func (*GeoSite) ProtoMessage() {} method ProtoReflect (line 357) | func (x *GeoSite) ProtoReflect() protoreflect.Message { method Descriptor (line 370) | func (*GeoSite) Descriptor() ([]byte, []int) { method GetCountryCode (line 374) | func (x *GeoSite) GetCountryCode() string { method GetDomain (line 381) | func (x *GeoSite) GetDomain() []*Domain { method GetResourceHash (line 388) | func (x *GeoSite) GetResourceHash() []byte { method GetCode (line 395) | func (x *GeoSite) GetCode() string { method GetFilePath (line 402) | func (x *GeoSite) GetFilePath() string { type GeoSiteList (line 409) | type GeoSiteList struct method Reset (line 416) | func (x *GeoSiteList) Reset() { method String (line 423) | func (x *GeoSiteList) String() string { method ProtoMessage (line 427) | func (*GeoSiteList) ProtoMessage() {} method ProtoReflect (line 429) | func (x *GeoSiteList) ProtoReflect() protoreflect.Message { method Descriptor (line 442) | func (*GeoSiteList) Descriptor() ([]byte, []int) { method GetEntry (line 446) | func (x *GeoSiteList) GetEntry() []*GeoSite { type Domain_Attribute (line 453) | type Domain_Attribute struct method Reset (line 465) | func (x *Domain_Attribute) Reset() { method String (line 472) | func (x *Domain_Attribute) String() string { method ProtoMessage (line 476) | func (*Domain_Attribute) ProtoMessage() {} method ProtoReflect (line 478) | func (x *Domain_Attribute) ProtoReflect() protoreflect.Message { method Descriptor (line 491) | func (*Domain_Attribute) Descriptor() ([]byte, []int) { method GetKey (line 495) | func (x *Domain_Attribute) GetKey() string { method GetTypedValue (line 502) | func (x *Domain_Attribute) GetTypedValue() isDomain_Attribute_TypedVal... method GetBoolValue (line 509) | func (x *Domain_Attribute) GetBoolValue() bool { method GetIntValue (line 518) | func (x *Domain_Attribute) GetIntValue() int64 { type isDomain_Attribute_TypedValue (line 527) | type isDomain_Attribute_TypedValue interface type Domain_Attribute_BoolValue (line 531) | type Domain_Attribute_BoolValue struct method isDomain_Attribute_TypedValue (line 539) | func (*Domain_Attribute_BoolValue) isDomain_Attribute_TypedValue() {} type Domain_Attribute_IntValue (line 535) | type Domain_Attribute_IntValue struct method isDomain_Attribute_TypedValue (line 541) | func (*Domain_Attribute_IntValue) isDomain_Attribute_TypedValue() {} constant file_app_router_routercommon_common_proto_rawDesc (line 545) | file_app_router_routercommon_common_proto_rawDesc = "" + function file_app_router_routercommon_common_proto_rawDescGZIP (line 592) | func file_app_router_routercommon_common_proto_rawDescGZIP() []byte { function init (line 625) | func init() { file_app_router_routercommon_common_proto_init() } function file_app_router_routercommon_common_proto_init (line 626) | func file_app_router_routercommon_common_proto_init() { FILE: app/router/strategy_leastload.go type LeastLoadStrategy (line 20) | type LeastLoadStrategy struct method GetPrincipleTarget (line 29) | func (l *LeastLoadStrategy) GetPrincipleTarget(strings []string) []str... method InjectContext (line 63) | func (l *LeastLoadStrategy) InjectContext(ctx context.Context) { method PickOutbound (line 67) | func (l *LeastLoadStrategy) PickOutbound(candidates []string) string { method pickOutbounds (line 77) | func (l *LeastLoadStrategy) pickOutbounds(candidates []string) []*node { method selectLeastLoad (line 99) | func (l *LeastLoadStrategy) selectLeastLoad(nodes []*node) []*node { method getNodes (line 139) | func (l *LeastLoadStrategy) getNodes(candidates []string, maxRTT time.... function NewLeastLoadStrategy (line 39) | func NewLeastLoadStrategy(settings *StrategyLeastLoadConfig) *LeastLoadS... type node (line 54) | type node struct function leastloadSort (line 196) | func leastloadSort(nodes []*node) { function init (line 216) | func init() { FILE: app/router/strategy_leastload_test.go function TestSelectLeastExpected (line 69) | func TestSelectLeastExpected(t *testing.T) { function TestSelectLeastExpected2 (line 89) | func TestSelectLeastExpected2(t *testing.T) { function TestSelectLeastExpectedAndBaselines (line 107) | func TestSelectLeastExpectedAndBaselines(t *testing.T) { function TestSelectLeastExpectedAndBaselines2 (line 128) | func TestSelectLeastExpectedAndBaselines2(t *testing.T) { function TestSelectLeastLoadBaselines (line 149) | func TestSelectLeastLoadBaselines(t *testing.T) { function TestSelectLeastLoadBaselinesNoQualified (line 168) | func TestSelectLeastLoadBaselinesNoQualified(t *testing.T) { FILE: app/router/strategy_leastping.go type LeastPingStrategy (line 17) | type LeastPingStrategy struct method GetPrincipleTarget (line 27) | func (l *LeastPingStrategy) GetPrincipleTarget(strings []string) []str... method InjectContext (line 31) | func (l *LeastPingStrategy) InjectContext(ctx context.Context) { method PickOutbound (line 35) | func (l *LeastPingStrategy) PickOutbound(strings []string) string { type outboundList (line 83) | type outboundList method contains (line 85) | func (o outboundList) contains(name string) bool { function init (line 94) | func init() { FILE: app/router/strategy_random.go type RandomStrategy (line 17) | type RandomStrategy struct method GetPrincipleTarget (line 23) | func (s *RandomStrategy) GetPrincipleTarget(strings []string) []string { method InjectContext (line 34) | func (s *RandomStrategy) InjectContext(ctx context.Context) { method PickOutbound (line 40) | func (s *RandomStrategy) PickOutbound(candidates []string) string { function NewRandomStrategy (line 28) | func NewRandomStrategy(settings *StrategyRandomConfig) *RandomStrategy { function init (line 90) | func init() { FILE: app/router/weight.go type weightScaler (line 10) | type weightScaler function NewWeightManager (line 15) | func NewWeightManager(s []*StrategyWeight, defaultWeight float64, scaler... type WeightManager (line 25) | type WeightManager struct method Get (line 34) | func (s *WeightManager) Get(tag string) float64 { method Apply (line 47) | func (s *WeightManager) Apply(tag string, value float64) float64 { method findValue (line 51) | func (s *WeightManager) findValue(tag string) float64 { method getMatch (line 75) | func (s *WeightManager) getMatch(tag, find string, isRegexp bool) stri... FILE: app/router/weight_test.go function TestWeight (line 10) | func TestWeight(t *testing.T) { FILE: app/stats/channel.go type Channel (line 11) | type Channel struct method Subscribers (line 36) | func (c *Channel) Subscribers() []chan interface{} { method Subscribe (line 43) | func (c *Channel) Subscribe() (chan interface{}, error) { method Unsubscribe (line 55) | func (c *Channel) Unsubscribe(subscriber chan interface{}) error { method Publish (line 71) | func (c *Channel) Publish(ctx context.Context, msg interface{}) { method Running (line 86) | func (c *Channel) Running() bool { method Start (line 98) | func (c *Channel) Start() error { method Close (line 128) | func (c *Channel) Close() error { function NewChannel (line 26) | func NewChannel(config *ChannelConfig) *Channel { type channelMessage (line 139) | type channelMessage struct method publish (line 144) | func (c channelMessage) publish(publisher chan channelMessage) { method publishNonBlocking (line 151) | func (c channelMessage) publishNonBlocking(publisher chan channelMessa... method broadcast (line 159) | func (c channelMessage) broadcast(subscriber chan interface{}) { method broadcastNonBlocking (line 166) | func (c channelMessage) broadcastNonBlocking(subscriber chan interface... FILE: app/stats/channel_test.go function TestStatsChannel (line 14) | func TestStatsChannel(t *testing.T) { function TestStatsChannelUnsubcribe (line 98) | func TestStatsChannelUnsubcribe(t *testing.T) { function TestStatsChannelBlocking (line 188) | func TestStatsChannelBlocking(t *testing.T) { function TestStatsChannelNonBlocking (line 262) | func TestStatsChannelNonBlocking(t *testing.T) { function TestStatsChannelConcurrency (line 338) | func TestStatsChannelConcurrency(t *testing.T) { FILE: app/stats/command/command.go type statsServer (line 20) | type statsServer struct method GetStats (line 32) | func (s *statsServer) GetStats(ctx context.Context, request *GetStatsR... method QueryStats (line 51) | func (s *statsServer) QueryStats(ctx context.Context, request *QuerySt... method GetSysStats (line 94) | func (s *statsServer) GetSysStats(ctx context.Context, request *SysSta... method mustEmbedUnimplementedStatsServiceServer (line 116) | func (s *statsServer) mustEmbedUnimplementedStatsServiceServer() {} function NewStatsServer (line 25) | func NewStatsServer(manager feature_stats.Manager) StatsServiceServer { type service (line 118) | type service struct method Register (line 122) | func (s *service) Register(server *grpc.Server) { function init (line 126) | func init() { FILE: app/stats/command/command.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type GetStatsRequest (line 19) | type GetStatsRequest struct method Reset (line 29) | func (x *GetStatsRequest) Reset() { method String (line 36) | func (x *GetStatsRequest) String() string { method ProtoMessage (line 40) | func (*GetStatsRequest) ProtoMessage() {} method ProtoReflect (line 42) | func (x *GetStatsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*GetStatsRequest) Descriptor() ([]byte, []int) { method GetName (line 59) | func (x *GetStatsRequest) GetName() string { method GetReset_ (line 66) | func (x *GetStatsRequest) GetReset_() bool { type Stat (line 73) | type Stat struct method Reset (line 81) | func (x *Stat) Reset() { method String (line 88) | func (x *Stat) String() string { method ProtoMessage (line 92) | func (*Stat) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Stat) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Stat) Descriptor() ([]byte, []int) { method GetName (line 111) | func (x *Stat) GetName() string { method GetValue (line 118) | func (x *Stat) GetValue() int64 { type GetStatsResponse (line 125) | type GetStatsResponse struct method Reset (line 132) | func (x *GetStatsResponse) Reset() { method String (line 139) | func (x *GetStatsResponse) String() string { method ProtoMessage (line 143) | func (*GetStatsResponse) ProtoMessage() {} method ProtoReflect (line 145) | func (x *GetStatsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 158) | func (*GetStatsResponse) Descriptor() ([]byte, []int) { method GetStat (line 162) | func (x *GetStatsResponse) GetStat() *Stat { type QueryStatsRequest (line 169) | type QueryStatsRequest struct method Reset (line 180) | func (x *QueryStatsRequest) Reset() { method String (line 187) | func (x *QueryStatsRequest) String() string { method ProtoMessage (line 191) | func (*QueryStatsRequest) ProtoMessage() {} method ProtoReflect (line 193) | func (x *QueryStatsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 206) | func (*QueryStatsRequest) Descriptor() ([]byte, []int) { method GetPattern (line 210) | func (x *QueryStatsRequest) GetPattern() string { method GetReset_ (line 217) | func (x *QueryStatsRequest) GetReset_() bool { method GetPatterns (line 224) | func (x *QueryStatsRequest) GetPatterns() []string { method GetRegexp (line 231) | func (x *QueryStatsRequest) GetRegexp() bool { type QueryStatsResponse (line 238) | type QueryStatsResponse struct method Reset (line 245) | func (x *QueryStatsResponse) Reset() { method String (line 252) | func (x *QueryStatsResponse) String() string { method ProtoMessage (line 256) | func (*QueryStatsResponse) ProtoMessage() {} method ProtoReflect (line 258) | func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 271) | func (*QueryStatsResponse) Descriptor() ([]byte, []int) { method GetStat (line 275) | func (x *QueryStatsResponse) GetStat() []*Stat { type SysStatsRequest (line 282) | type SysStatsRequest struct method Reset (line 288) | func (x *SysStatsRequest) Reset() { method String (line 295) | func (x *SysStatsRequest) String() string { method ProtoMessage (line 299) | func (*SysStatsRequest) ProtoMessage() {} method ProtoReflect (line 301) | func (x *SysStatsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 314) | func (*SysStatsRequest) Descriptor() ([]byte, []int) { type SysStatsResponse (line 318) | type SysStatsResponse struct method Reset (line 334) | func (x *SysStatsResponse) Reset() { method String (line 341) | func (x *SysStatsResponse) String() string { method ProtoMessage (line 345) | func (*SysStatsResponse) ProtoMessage() {} method ProtoReflect (line 347) | func (x *SysStatsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 360) | func (*SysStatsResponse) Descriptor() ([]byte, []int) { method GetNumGoroutine (line 364) | func (x *SysStatsResponse) GetNumGoroutine() uint32 { method GetNumGC (line 371) | func (x *SysStatsResponse) GetNumGC() uint32 { method GetAlloc (line 378) | func (x *SysStatsResponse) GetAlloc() uint64 { method GetTotalAlloc (line 385) | func (x *SysStatsResponse) GetTotalAlloc() uint64 { method GetSys (line 392) | func (x *SysStatsResponse) GetSys() uint64 { method GetMallocs (line 399) | func (x *SysStatsResponse) GetMallocs() uint64 { method GetFrees (line 406) | func (x *SysStatsResponse) GetFrees() uint64 { method GetLiveObjects (line 413) | func (x *SysStatsResponse) GetLiveObjects() uint64 { method GetPauseTotalNs (line 420) | func (x *SysStatsResponse) GetPauseTotalNs() uint64 { method GetUptime (line 427) | func (x *SysStatsResponse) GetUptime() uint32 { type Config (line 434) | type Config struct method Reset (line 440) | func (x *Config) Reset() { method String (line 447) | func (x *Config) String() string { method ProtoMessage (line 451) | func (*Config) ProtoMessage() {} method ProtoReflect (line 453) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 466) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_stats_command_command_proto_rawDesc (line 472) | file_app_stats_command_command_proto_rawDesc = "" + function file_app_stats_command_command_proto_rawDescGZIP (line 519) | func file_app_stats_command_command_proto_rawDescGZIP() []byte { function init (line 553) | func init() { file_app_stats_command_command_proto_init() } function file_app_stats_command_command_proto_init (line 554) | func file_app_stats_command_command_proto_init() { FILE: app/stats/command/command_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant StatsService_GetStats_FullMethodName (line 16) | StatsService_GetStats_FullMethodName = "/v2ray.core.app.stats.command... constant StatsService_QueryStats_FullMethodName (line 17) | StatsService_QueryStats_FullMethodName = "/v2ray.core.app.stats.command... constant StatsService_GetSysStats_FullMethodName (line 18) | StatsService_GetSysStats_FullMethodName = "/v2ray.core.app.stats.command... type StatsServiceClient (line 24) | type StatsServiceClient interface type statsServiceClient (line 30) | type statsServiceClient struct method GetStats (line 38) | func (c *statsServiceClient) GetStats(ctx context.Context, in *GetStat... method QueryStats (line 48) | func (c *statsServiceClient) QueryStats(ctx context.Context, in *Query... method GetSysStats (line 58) | func (c *statsServiceClient) GetSysStats(ctx context.Context, in *SysS... function NewStatsServiceClient (line 34) | func NewStatsServiceClient(cc grpc.ClientConnInterface) StatsServiceClie... type StatsServiceServer (line 71) | type StatsServiceServer interface type UnimplementedStatsServiceServer (line 83) | type UnimplementedStatsServiceServer struct method GetStats (line 85) | func (UnimplementedStatsServiceServer) GetStats(context.Context, *GetS... method QueryStats (line 88) | func (UnimplementedStatsServiceServer) QueryStats(context.Context, *Qu... method GetSysStats (line 91) | func (UnimplementedStatsServiceServer) GetSysStats(context.Context, *S... method mustEmbedUnimplementedStatsServiceServer (line 94) | func (UnimplementedStatsServiceServer) mustEmbedUnimplementedStatsServ... method testEmbeddedByValue (line 95) | func (UnimplementedStatsServiceServer) testEmbeddedByValue() ... type UnsafeStatsServiceServer (line 100) | type UnsafeStatsServiceServer interface function RegisterStatsServiceServer (line 104) | func RegisterStatsServiceServer(s grpc.ServiceRegistrar, srv StatsServic... function _StatsService_GetStats_Handler (line 115) | func _StatsService_GetStats_Handler(srv interface{}, ctx context.Context... function _StatsService_QueryStats_Handler (line 133) | func _StatsService_QueryStats_Handler(srv interface{}, ctx context.Conte... function _StatsService_GetSysStats_Handler (line 151) | func _StatsService_GetSysStats_Handler(srv interface{}, ctx context.Cont... FILE: app/stats/command/command_test.go function TestGetStats (line 15) | func TestGetStats(t *testing.T) { function TestQueryStats (line 64) | func TestQueryStats(t *testing.T) { FILE: app/stats/command/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/stats/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 25) | func (x *Config) Reset() { method String (line 32) | func (x *Config) String() string { method ProtoMessage (line 36) | func (*Config) ProtoMessage() {} method ProtoReflect (line 38) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 51) | func (*Config) Descriptor() ([]byte, []int) { type ChannelConfig (line 55) | type ChannelConfig struct method Reset (line 64) | func (x *ChannelConfig) Reset() { method String (line 71) | func (x *ChannelConfig) String() string { method ProtoMessage (line 75) | func (*ChannelConfig) ProtoMessage() {} method ProtoReflect (line 77) | func (x *ChannelConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 90) | func (*ChannelConfig) Descriptor() ([]byte, []int) { method GetBlocking (line 94) | func (x *ChannelConfig) GetBlocking() bool { method GetSubscriberLimit (line 101) | func (x *ChannelConfig) GetSubscriberLimit() int32 { method GetBufferSize (line 108) | func (x *ChannelConfig) GetBufferSize() int32 { constant file_app_stats_config_proto_rawDesc (line 117) | file_app_stats_config_proto_rawDesc = "" + function file_app_stats_config_proto_rawDescGZIP (line 135) | func file_app_stats_config_proto_rawDescGZIP() []byte { function init (line 155) | func init() { file_app_stats_config_proto_init() } function file_app_stats_config_proto_init (line 156) | func file_app_stats_config_proto_init() { FILE: app/stats/counter.go type Counter (line 6) | type Counter struct method Value (line 11) | func (c *Counter) Value() int64 { method Set (line 16) | func (c *Counter) Set(newValue int64) int64 { method Add (line 21) | func (c *Counter) Add(delta int64) int64 { FILE: app/stats/counter_test.go function TestStatsCounter (line 12) | func TestStatsCounter(t *testing.T) { FILE: app/stats/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/stats/stats.go type Manager (line 15) | type Manager struct method Type (line 33) | func (*Manager) Type() interface{} { method RegisterCounter (line 38) | func (m *Manager) RegisterCounter(name string) (stats.Counter, error) { method UnregisterCounter (line 52) | func (m *Manager) UnregisterCounter(name string) error { method GetCounter (line 64) | func (m *Manager) GetCounter(name string) stats.Counter { method VisitCounters (line 75) | func (m *Manager) VisitCounters(visitor func(string, stats.Counter) bo... method RegisterChannel (line 87) | func (m *Manager) RegisterChannel(name string) (stats.Channel, error) { method UnregisterChannel (line 104) | func (m *Manager) UnregisterChannel(name string) error { method GetChannel (line 117) | func (m *Manager) GetChannel(name string) stats.Channel { method Start (line 128) | func (m *Manager) Start() error { method Close (line 145) | func (m *Manager) Close() error { function NewManager (line 23) | func NewManager(ctx context.Context, config *Config) (*Manager, error) { function init (line 163) | func init() { FILE: app/stats/stats_test.go function TestInterface (line 13) | func TestInterface(t *testing.T) { function TestStatsChannelRunnable (line 17) | func TestStatsChannelRunnable(t *testing.T) { FILE: app/subscription/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ImportSource (line 19) | type ImportSource struct method Reset (line 30) | func (x *ImportSource) Reset() { method String (line 37) | func (x *ImportSource) String() string { method ProtoMessage (line 41) | func (*ImportSource) ProtoMessage() {} method ProtoReflect (line 43) | func (x *ImportSource) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*ImportSource) Descriptor() ([]byte, []int) { method GetName (line 60) | func (x *ImportSource) GetName() string { method GetUrl (line 67) | func (x *ImportSource) GetUrl() string { method GetTagPrefix (line 74) | func (x *ImportSource) GetTagPrefix() string { method GetImportUsingTag (line 81) | func (x *ImportSource) GetImportUsingTag() string { method GetDefaultExpireSeconds (line 88) | func (x *ImportSource) GetDefaultExpireSeconds() uint64 { type Config (line 96) | type Config struct method Reset (line 106) | func (x *Config) Reset() { method String (line 113) | func (x *Config) String() string { method ProtoMessage (line 117) | func (*Config) ProtoMessage() {} method ProtoReflect (line 119) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 132) | func (*Config) Descriptor() ([]byte, []int) { method GetImports (line 136) | func (x *Config) GetImports() []*ImportSource { method GetNonnativeConverterOverlay (line 143) | func (x *Config) GetNonnativeConverterOverlay() []byte { method GetNonnativeConverterOverlayFile (line 150) | func (x *Config) GetNonnativeConverterOverlayFile() string { method GetPersistence (line 157) | func (x *Config) GetPersistence() bool { constant file_app_subscription_config_proto_rawDesc (line 166) | file_app_subscription_config_proto_rawDesc = "" + function file_app_subscription_config_proto_rawDescGZIP (line 189) | func file_app_subscription_config_proto_rawDescGZIP() []byte { function init (line 210) | func init() { file_app_subscription_config_proto_init() } function file_app_subscription_config_proto_init (line 211) | func file_app_subscription_config_proto_init() { FILE: app/subscription/containers/base64urlline/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/containers/base64urlline/parser.go function newBase64URLLineParser (line 13) | func newBase64URLLineParser() containers.SubscriptionContainerDocumentPa... type parser (line 17) | type parser struct method ParseSubscriptionContainerDocument (line 19) | func (p parser) ParseSubscriptionContainerDocument(rawConfig []byte) (... function init (line 44) | func init() { FILE: app/subscription/containers/containers.go type UnparsedServerConf (line 5) | type UnparsedServerConf struct type Container (line 10) | type Container struct type SubscriptionContainerDocumentParser (line 16) | type SubscriptionContainerDocumentParser interface function RegisterParser (line 22) | func RegisterParser(kind string, parser SubscriptionContainerDocumentPar... FILE: app/subscription/containers/dataurlsingle/dataurl.go function newSingularDataURLParser (line 15) | func newSingularDataURLParser() containers.SubscriptionContainerDocument... type parser (line 19) | type parser struct method ParseSubscriptionContainerDocument (line 21) | func (p parser) ParseSubscriptionContainerDocument(rawConfig []byte) (... function init (line 42) | func init() { FILE: app/subscription/containers/dataurlsingle/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/containers/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/containers/jsonfieldarray/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/containers/jsonfieldarray/jsonified/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/containers/jsonfieldarray/jsonified/parser.go function newJsonifiedYamlParser (line 10) | func newJsonifiedYamlParser() containers.SubscriptionContainerDocumentPa... type jsonifiedYAMLParser (line 14) | type jsonifiedYAMLParser struct method ParseSubscriptionContainerDocument (line 16) | func (j jsonifiedYAMLParser) ParseSubscriptionContainerDocument(rawCon... function init (line 34) | func init() { FILE: app/subscription/containers/jsonfieldarray/parser.go function NewJSONFieldArrayParser (line 11) | func NewJSONFieldArrayParser() containers.SubscriptionContainerDocumentP... function newJSONFieldArrayParser (line 15) | func newJSONFieldArrayParser() containers.SubscriptionContainerDocumentP... type parser (line 19) | type parser struct method ParseSubscriptionContainerDocument (line 23) | func (p parser) ParseSubscriptionContainerDocument(rawConfig []byte) (... method parseArray (line 51) | func (p parser) parseArray(rawConfig []byte, kindHint string) ([]conta... type jsonDocument (line 21) | type jsonDocument function init (line 66) | func init() { FILE: app/subscription/containers/tryall.go function TryAllParsers (line 3) | func TryAllParsers(rawConfig []byte, prioritizedParser string) (*Contain... FILE: app/subscription/containers/urlline/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/containers/urlline/parser.go function newURLLineParser (line 13) | func newURLLineParser() containers.SubscriptionContainerDocumentParser { type parser (line 17) | type parser struct method ParseSubscriptionContainerDocument (line 19) | func (p parser) ParseSubscriptionContainerDocument(rawConfig []byte) (... function init (line 62) | func init() { FILE: app/subscription/documentfetcher/dataurlfetcher/dataurl.go function newDataURLFetcher (line 16) | func newDataURLFetcher() *dataURLFetcher { function init (line 20) | func init() { type dataURLFetcher (line 24) | type dataURLFetcher struct method DownloadDocument (line 26) | func (d *dataURLFetcher) DownloadDocument(ctx context.Context, source ... FILE: app/subscription/documentfetcher/dataurlfetcher/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/documentfetcher/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/documentfetcher/fetcher.go type FetcherOptions (line 11) | type FetcherOptions interface type Fetcher (line 13) | type Fetcher interface function RegisterFetcher (line 19) | func RegisterFetcher(name string, fetcher Fetcher) error { function GetFetcher (line 27) | func GetFetcher(name string) (Fetcher, error) { FILE: app/subscription/documentfetcher/httpfetcher/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/documentfetcher/httpfetcher/http.go function newHTTPFetcher (line 20) | func newHTTPFetcher() *httpFetcher { function init (line 24) | func init() { type httpFetcher (line 28) | type httpFetcher struct method DownloadDocument (line 30) | func (h *httpFetcher) DownloadDocument(ctx context.Context, source *su... FILE: app/subscription/entries/entries.go type Converter (line 7) | type Converter interface FILE: app/subscription/entries/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/entries/nonnative/converter.go type nonNativeConverter (line 13) | type nonNativeConverter struct method ConvertToAbstractServerConfig (line 17) | func (n *nonNativeConverter) ConvertToAbstractServerConfig(rawConfig [... function NewNonNativeConverter (line 32) | func NewNonNativeConverter(fs fs.FS) (entries.Converter, error) { function init (line 48) | func init() { FILE: app/subscription/entries/nonnative/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/entries/nonnative/matchdef.go function NewDefMatcher (line 15) | func NewDefMatcher() *DefMatcher { type DefMatcher (line 21) | type DefMatcher struct method createFuncMap (line 29) | func (d *DefMatcher) createFuncMap() template.FuncMap { method init (line 149) | func (d *DefMatcher) init() { method LoadEmbeddedDefinitions (line 153) | func (d *DefMatcher) LoadEmbeddedDefinitions() error { method LoadDefinitions (line 157) | func (d *DefMatcher) LoadDefinitions(fs fs.FS) error { method ExecuteNamed (line 166) | func (d *DefMatcher) ExecuteNamed(link AbstractNonNativeLink, name str... method ExecuteAll (line 176) | func (d *DefMatcher) ExecuteAll(link AbstractNonNativeLink) ([]byte, e... type ExecutionEnvironment (line 25) | type ExecutionEnvironment struct FILE: app/subscription/entries/nonnative/nonnative.go function ExtractAllValuesFromBytes (line 13) | func ExtractAllValuesFromBytes(bytes []byte) AbstractNonNativeLink { type jsonDocument (line 19) | type jsonDocument type AbstractNonNativeLink (line 21) | type AbstractNonNativeLink struct method fromBytes (line 25) | func (a *AbstractNonNativeLink) fromBytes(bytes []byte) { method extractValue (line 32) | func (a *AbstractNonNativeLink) extractValue(content, prefix string) { method extractLink (line 87) | func (a *AbstractNonNativeLink) extractLink(content *url.URL, prefix s... method extractJSON (line 100) | func (a *AbstractNonNativeLink) extractJSON(content *jsonDocument, pre... FILE: app/subscription/entries/nonnative/nonnativeifce/nonnativeifce.go type NonNativeConverterConstructorT (line 9) | type NonNativeConverterConstructorT FILE: app/subscription/entries/outbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/entries/outbound/outbound.go function NewOutboundEntriesParser (line 12) | func NewOutboundEntriesParser() entries.Converter { function newOutboundEntriesParser (line 16) | func newOutboundEntriesParser() entries.Converter { type outboundEntriesParser (line 20) | type outboundEntriesParser struct method ConvertToAbstractServerConfig (line 22) | func (o *outboundEntriesParser) ConvertToAbstractServerConfig(rawConfi... function init (line 31) | func init() { FILE: app/subscription/entries/register.go type ConverterRegistry (line 5) | type ConverterRegistry struct method RegisterConverter (line 20) | func (c *ConverterRegistry) RegisterConverter(kind string, converter C... method TryAllConverters (line 28) | func (c *ConverterRegistry) TryAllConverters(rawConfig []byte, priorit... method GetOverlayConverterRegistry (line 52) | func (c *ConverterRegistry) GetOverlayConverterRegistry() *ConverterRe... function RegisterConverter (line 12) | func RegisterConverter(kind string, converter Converter) error { function GetOverlayConverterRegistry (line 16) | func GetOverlayConverterRegistry() *ConverterRegistry { FILE: app/subscription/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/specs/abstract_spec.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerConfiguration (line 19) | type ServerConfiguration struct method Reset (line 31) | func (x *ServerConfiguration) Reset() { method String (line 38) | func (x *ServerConfiguration) String() string { method ProtoMessage (line 42) | func (*ServerConfiguration) ProtoMessage() {} method ProtoReflect (line 44) | func (x *ServerConfiguration) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*ServerConfiguration) Descriptor() ([]byte, []int) { method GetProtocol (line 61) | func (x *ServerConfiguration) GetProtocol() string { method GetProtocolSettings (line 68) | func (x *ServerConfiguration) GetProtocolSettings() *anypb.Any { method GetTransport (line 75) | func (x *ServerConfiguration) GetTransport() string { method GetTransportSettings (line 82) | func (x *ServerConfiguration) GetTransportSettings() *anypb.Any { method GetSecurity (line 89) | func (x *ServerConfiguration) GetSecurity() string { method GetSecuritySettings (line 96) | func (x *ServerConfiguration) GetSecuritySettings() *anypb.Any { type SubscriptionServerConfig (line 103) | type SubscriptionServerConfig struct method Reset (line 112) | func (x *SubscriptionServerConfig) Reset() { method String (line 119) | func (x *SubscriptionServerConfig) String() string { method ProtoMessage (line 123) | func (*SubscriptionServerConfig) ProtoMessage() {} method ProtoReflect (line 125) | func (x *SubscriptionServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 138) | func (*SubscriptionServerConfig) Descriptor() ([]byte, []int) { method GetId (line 142) | func (x *SubscriptionServerConfig) GetId() string { method GetMetadata (line 149) | func (x *SubscriptionServerConfig) GetMetadata() map[string]string { method GetConfiguration (line 156) | func (x *SubscriptionServerConfig) GetConfiguration() *ServerConfigura... type SubscriptionDocument (line 163) | type SubscriptionDocument struct method Reset (line 171) | func (x *SubscriptionDocument) Reset() { method String (line 178) | func (x *SubscriptionDocument) String() string { method ProtoMessage (line 182) | func (*SubscriptionDocument) ProtoMessage() {} method ProtoReflect (line 184) | func (x *SubscriptionDocument) ProtoReflect() protoreflect.Message { method Descriptor (line 197) | func (*SubscriptionDocument) Descriptor() ([]byte, []int) { method GetMetadata (line 201) | func (x *SubscriptionDocument) GetMetadata() map[string]string { method GetServer (line 208) | func (x *SubscriptionDocument) GetServer() []*SubscriptionServerConfig { constant file_app_subscription_specs_abstract_spec_proto_rawDesc (line 217) | file_app_subscription_specs_abstract_spec_proto_rawDesc = "" + function file_app_subscription_specs_abstract_spec_proto_rawDescGZIP (line 247) | func file_app_subscription_specs_abstract_spec_proto_rawDescGZIP() []byte { function init (line 278) | func init() { file_app_subscription_specs_abstract_spec_proto_init() } function file_app_subscription_specs_abstract_spec_proto_init (line 279) | func file_app_subscription_specs_abstract_spec_proto_init() { FILE: app/subscription/specs/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/specs/outbound_parser.go function NewOutboundParser (line 14) | func NewOutboundParser() *OutboundParser { type OutboundParser (line 18) | type OutboundParser struct method ParseOutboundConfig (line 20) | func (p *OutboundParser) ParseOutboundConfig(rawConfig []byte) (*Outbo... method toAbstractServerSpec (line 31) | func (p *OutboundParser) toAbstractServerSpec(config *OutboundConfig) ... method ToSubscriptionServerConfig (line 72) | func (p *OutboundParser) ToSubscriptionServerConfig(config *OutboundCo... function loadHeterogeneousConfigFromRawJSONRestricted (line 83) | func loadHeterogeneousConfigFromRawJSONRestricted(interfaceType, name st... FILE: app/subscription/specs/skeleton.go type OutboundConfig (line 7) | type OutboundConfig struct type StreamConfig (line 14) | type StreamConfig struct FILE: app/subscription/subscription.go type SubscriptionManager (line 7) | type SubscriptionManager interface function SubscriptionManagerType (line 16) | func SubscriptionManagerType() interface{} { FILE: app/subscription/subscription_rpc.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type SubscriptionServer (line 18) | type SubscriptionServer struct method Reset (line 26) | func (x *SubscriptionServer) Reset() { method String (line 33) | func (x *SubscriptionServer) String() string { method ProtoMessage (line 37) | func (*SubscriptionServer) ProtoMessage() {} method ProtoReflect (line 39) | func (x *SubscriptionServer) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*SubscriptionServer) Descriptor() ([]byte, []int) { method GetServerMetadata (line 56) | func (x *SubscriptionServer) GetServerMetadata() map[string]string { method GetTag (line 63) | func (x *SubscriptionServer) GetTag() string { type TrackedSubscriptionStatus (line 70) | type TrackedSubscriptionStatus struct method Reset (line 80) | func (x *TrackedSubscriptionStatus) Reset() { method String (line 87) | func (x *TrackedSubscriptionStatus) String() string { method ProtoMessage (line 91) | func (*TrackedSubscriptionStatus) ProtoMessage() {} method ProtoReflect (line 93) | func (x *TrackedSubscriptionStatus) ProtoReflect() protoreflect.Message { method Descriptor (line 106) | func (*TrackedSubscriptionStatus) Descriptor() ([]byte, []int) { method GetServers (line 110) | func (x *TrackedSubscriptionStatus) GetServers() map[string]*Subscript... method GetDocumentMetadata (line 117) | func (x *TrackedSubscriptionStatus) GetDocumentMetadata() map[string]s... method GetImportSource (line 124) | func (x *TrackedSubscriptionStatus) GetImportSource() *ImportSource { method GetAddedByApi (line 131) | func (x *TrackedSubscriptionStatus) GetAddedByApi() bool { constant file_app_subscription_subscription_rpc_proto_rawDesc (line 140) | file_app_subscription_subscription_rpc_proto_rawDesc = "" + function file_app_subscription_subscription_rpc_proto_rawDescGZIP (line 168) | func file_app_subscription_subscription_rpc_proto_rawDescGZIP() []byte { function init (line 197) | func init() { file_app_subscription_subscription_rpc_proto_init() } function file_app_subscription_subscription_rpc_proto_init (line 198) | func file_app_subscription_subscription_rpc_proto_init() { FILE: app/subscription/subscriptionmanager/command/command.go type SubscriptionManagerService (line 15) | type SubscriptionManagerService struct method UpdateTrackedSubscription (line 20) | func (s *SubscriptionManagerService) UpdateTrackedSubscription(ctx con... method ListTrackedSubscription (line 35) | func (s *SubscriptionManagerService) ListTrackedSubscription(ctx conte... method AddTrackedSubscription (line 43) | func (s *SubscriptionManagerService) AddTrackedSubscription(ctx contex... method RemoveTrackedSubscription (line 54) | func (s *SubscriptionManagerService) RemoveTrackedSubscription(ctx con... method GetTrackedSubscriptionStatus (line 65) | func (s *SubscriptionManagerService) GetTrackedSubscriptionStatus(ctx ... method Register (line 76) | func (s *SubscriptionManagerService) Register(server *grpc.Server) { function NewSubscriptionManagerService (line 31) | func NewSubscriptionManagerService(manager subscription.SubscriptionMana... function init (line 80) | func init() { FILE: app/subscription/subscriptionmanager/command/command.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListTrackedSubscriptionRequest (line 20) | type ListTrackedSubscriptionRequest struct method Reset (line 26) | func (x *ListTrackedSubscriptionRequest) Reset() { method String (line 33) | func (x *ListTrackedSubscriptionRequest) String() string { method ProtoMessage (line 37) | func (*ListTrackedSubscriptionRequest) ProtoMessage() {} method ProtoReflect (line 39) | func (x *ListTrackedSubscriptionRequest) ProtoReflect() protoreflect.M... method Descriptor (line 52) | func (*ListTrackedSubscriptionRequest) Descriptor() ([]byte, []int) { type ListTrackedSubscriptionResponse (line 56) | type ListTrackedSubscriptionResponse struct method Reset (line 63) | func (x *ListTrackedSubscriptionResponse) Reset() { method String (line 70) | func (x *ListTrackedSubscriptionResponse) String() string { method ProtoMessage (line 74) | func (*ListTrackedSubscriptionResponse) ProtoMessage() {} method ProtoReflect (line 76) | func (x *ListTrackedSubscriptionResponse) ProtoReflect() protoreflect.... method Descriptor (line 89) | func (*ListTrackedSubscriptionResponse) Descriptor() ([]byte, []int) { method GetNames (line 93) | func (x *ListTrackedSubscriptionResponse) GetNames() []string { type AddTrackedSubscriptionRequest (line 100) | type AddTrackedSubscriptionRequest struct method Reset (line 107) | func (x *AddTrackedSubscriptionRequest) Reset() { method String (line 114) | func (x *AddTrackedSubscriptionRequest) String() string { method ProtoMessage (line 118) | func (*AddTrackedSubscriptionRequest) ProtoMessage() {} method ProtoReflect (line 120) | func (x *AddTrackedSubscriptionRequest) ProtoReflect() protoreflect.Me... method Descriptor (line 133) | func (*AddTrackedSubscriptionRequest) Descriptor() ([]byte, []int) { method GetSource (line 137) | func (x *AddTrackedSubscriptionRequest) GetSource() *subscription.Impo... type AddTrackedSubscriptionResponse (line 144) | type AddTrackedSubscriptionResponse struct method Reset (line 150) | func (x *AddTrackedSubscriptionResponse) Reset() { method String (line 157) | func (x *AddTrackedSubscriptionResponse) String() string { method ProtoMessage (line 161) | func (*AddTrackedSubscriptionResponse) ProtoMessage() {} method ProtoReflect (line 163) | func (x *AddTrackedSubscriptionResponse) ProtoReflect() protoreflect.M... method Descriptor (line 176) | func (*AddTrackedSubscriptionResponse) Descriptor() ([]byte, []int) { type RemoveTrackedSubscriptionRequest (line 180) | type RemoveTrackedSubscriptionRequest struct method Reset (line 187) | func (x *RemoveTrackedSubscriptionRequest) Reset() { method String (line 194) | func (x *RemoveTrackedSubscriptionRequest) String() string { method ProtoMessage (line 198) | func (*RemoveTrackedSubscriptionRequest) ProtoMessage() {} method ProtoReflect (line 200) | func (x *RemoveTrackedSubscriptionRequest) ProtoReflect() protoreflect... method Descriptor (line 213) | func (*RemoveTrackedSubscriptionRequest) Descriptor() ([]byte, []int) { method GetName (line 217) | func (x *RemoveTrackedSubscriptionRequest) GetName() string { type RemoveTrackedSubscriptionResponse (line 224) | type RemoveTrackedSubscriptionResponse struct method Reset (line 230) | func (x *RemoveTrackedSubscriptionResponse) Reset() { method String (line 237) | func (x *RemoveTrackedSubscriptionResponse) String() string { method ProtoMessage (line 241) | func (*RemoveTrackedSubscriptionResponse) ProtoMessage() {} method ProtoReflect (line 243) | func (x *RemoveTrackedSubscriptionResponse) ProtoReflect() protoreflec... method Descriptor (line 256) | func (*RemoveTrackedSubscriptionResponse) Descriptor() ([]byte, []int) { type UpdateTrackedSubscriptionRequest (line 260) | type UpdateTrackedSubscriptionRequest struct method Reset (line 267) | func (x *UpdateTrackedSubscriptionRequest) Reset() { method String (line 274) | func (x *UpdateTrackedSubscriptionRequest) String() string { method ProtoMessage (line 278) | func (*UpdateTrackedSubscriptionRequest) ProtoMessage() {} method ProtoReflect (line 280) | func (x *UpdateTrackedSubscriptionRequest) ProtoReflect() protoreflect... method Descriptor (line 293) | func (*UpdateTrackedSubscriptionRequest) Descriptor() ([]byte, []int) { method GetName (line 297) | func (x *UpdateTrackedSubscriptionRequest) GetName() string { type UpdateTrackedSubscriptionResponse (line 304) | type UpdateTrackedSubscriptionResponse struct method Reset (line 310) | func (x *UpdateTrackedSubscriptionResponse) Reset() { method String (line 317) | func (x *UpdateTrackedSubscriptionResponse) String() string { method ProtoMessage (line 321) | func (*UpdateTrackedSubscriptionResponse) ProtoMessage() {} method ProtoReflect (line 323) | func (x *UpdateTrackedSubscriptionResponse) ProtoReflect() protoreflec... method Descriptor (line 336) | func (*UpdateTrackedSubscriptionResponse) Descriptor() ([]byte, []int) { type GetTrackedSubscriptionStatusRequest (line 340) | type GetTrackedSubscriptionStatusRequest struct method Reset (line 347) | func (x *GetTrackedSubscriptionStatusRequest) Reset() { method String (line 354) | func (x *GetTrackedSubscriptionStatusRequest) String() string { method ProtoMessage (line 358) | func (*GetTrackedSubscriptionStatusRequest) ProtoMessage() {} method ProtoReflect (line 360) | func (x *GetTrackedSubscriptionStatusRequest) ProtoReflect() protorefl... method Descriptor (line 373) | func (*GetTrackedSubscriptionStatusRequest) Descriptor() ([]byte, []in... method GetName (line 377) | func (x *GetTrackedSubscriptionStatusRequest) GetName() string { type GetTrackedSubscriptionStatusResponse (line 384) | type GetTrackedSubscriptionStatusResponse struct method Reset (line 391) | func (x *GetTrackedSubscriptionStatusResponse) Reset() { method String (line 398) | func (x *GetTrackedSubscriptionStatusResponse) String() string { method ProtoMessage (line 402) | func (*GetTrackedSubscriptionStatusResponse) ProtoMessage() {} method ProtoReflect (line 404) | func (x *GetTrackedSubscriptionStatusResponse) ProtoReflect() protoref... method Descriptor (line 417) | func (*GetTrackedSubscriptionStatusResponse) Descriptor() ([]byte, []i... method GetStatus (line 421) | func (x *GetTrackedSubscriptionStatusResponse) GetStatus() *subscripti... type Config (line 428) | type Config struct method Reset (line 434) | func (x *Config) Reset() { method String (line 441) | func (x *Config) String() string { method ProtoMessage (line 445) | func (*Config) ProtoMessage() {} method ProtoReflect (line 447) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 460) | func (*Config) Descriptor() ([]byte, []int) { constant file_app_subscription_subscriptionmanager_command_command_proto_rawDesc (line 466) | file_app_subscription_subscriptionmanager_command_command_proto_rawDesc ... function file_app_subscription_subscriptionmanager_command_command_proto_rawDescGZIP (line 500) | func file_app_subscription_subscriptionmanager_command_command_proto_raw... function init (line 543) | func init() { file_app_subscription_subscriptionmanager_command_command_... function file_app_subscription_subscriptionmanager_command_command_proto_init (line 544) | func file_app_subscription_subscriptionmanager_command_command_proto_ini... FILE: app/subscription/subscriptionmanager/command/command_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant SubscriptionManagerService_ListTrackedSubscription_FullMethodName (line 16) | SubscriptionManagerService_ListTrackedSubscription_FullMethodName =... constant SubscriptionManagerService_AddTrackedSubscription_FullMethodName (line 17) | SubscriptionManagerService_AddTrackedSubscription_FullMethodName =... constant SubscriptionManagerService_RemoveTrackedSubscription_FullMethodName (line 18) | SubscriptionManagerService_RemoveTrackedSubscription_FullMethodName =... constant SubscriptionManagerService_GetTrackedSubscriptionStatus_FullMethodName (line 19) | SubscriptionManagerService_GetTrackedSubscriptionStatus_FullMethodName =... constant SubscriptionManagerService_UpdateTrackedSubscription_FullMethodName (line 20) | SubscriptionManagerService_UpdateTrackedSubscription_FullMethodName =... type SubscriptionManagerServiceClient (line 26) | type SubscriptionManagerServiceClient interface type subscriptionManagerServiceClient (line 34) | type subscriptionManagerServiceClient struct method ListTrackedSubscription (line 42) | func (c *subscriptionManagerServiceClient) ListTrackedSubscription(ctx... method AddTrackedSubscription (line 52) | func (c *subscriptionManagerServiceClient) AddTrackedSubscription(ctx ... method RemoveTrackedSubscription (line 62) | func (c *subscriptionManagerServiceClient) RemoveTrackedSubscription(c... method GetTrackedSubscriptionStatus (line 72) | func (c *subscriptionManagerServiceClient) GetTrackedSubscriptionStatu... method UpdateTrackedSubscription (line 82) | func (c *subscriptionManagerServiceClient) UpdateTrackedSubscription(c... function NewSubscriptionManagerServiceClient (line 38) | func NewSubscriptionManagerServiceClient(cc grpc.ClientConnInterface) Su... type SubscriptionManagerServiceServer (line 95) | type SubscriptionManagerServiceServer interface type UnimplementedSubscriptionManagerServiceServer (line 109) | type UnimplementedSubscriptionManagerServiceServer struct method ListTrackedSubscription (line 111) | func (UnimplementedSubscriptionManagerServiceServer) ListTrackedSubscr... method AddTrackedSubscription (line 114) | func (UnimplementedSubscriptionManagerServiceServer) AddTrackedSubscri... method RemoveTrackedSubscription (line 117) | func (UnimplementedSubscriptionManagerServiceServer) RemoveTrackedSubs... method GetTrackedSubscriptionStatus (line 120) | func (UnimplementedSubscriptionManagerServiceServer) GetTrackedSubscri... method UpdateTrackedSubscription (line 123) | func (UnimplementedSubscriptionManagerServiceServer) UpdateTrackedSubs... method mustEmbedUnimplementedSubscriptionManagerServiceServer (line 126) | func (UnimplementedSubscriptionManagerServiceServer) mustEmbedUnimplem... method testEmbeddedByValue (line 128) | func (UnimplementedSubscriptionManagerServiceServer) testEmbeddedByVal... type UnsafeSubscriptionManagerServiceServer (line 133) | type UnsafeSubscriptionManagerServiceServer interface function RegisterSubscriptionManagerServiceServer (line 137) | func RegisterSubscriptionManagerServiceServer(s grpc.ServiceRegistrar, s... function _SubscriptionManagerService_ListTrackedSubscription_Handler (line 148) | func _SubscriptionManagerService_ListTrackedSubscription_Handler(srv int... function _SubscriptionManagerService_AddTrackedSubscription_Handler (line 166) | func _SubscriptionManagerService_AddTrackedSubscription_Handler(srv inte... function _SubscriptionManagerService_RemoveTrackedSubscription_Handler (line 184) | func _SubscriptionManagerService_RemoveTrackedSubscription_Handler(srv i... function _SubscriptionManagerService_GetTrackedSubscriptionStatus_Handler (line 202) | func _SubscriptionManagerService_GetTrackedSubscriptionStatus_Handler(sr... function _SubscriptionManagerService_UpdateTrackedSubscription_Handler (line 220) | func _SubscriptionManagerService_UpdateTrackedSubscription_Handler(srv i... FILE: app/subscription/subscriptionmanager/command/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/subscriptionmanager/delta.go type changedDocument (line 3) | type changedDocument struct FILE: app/subscription/subscriptionmanager/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/subscription/subscriptionmanager/known_metadata.go constant ServerMetadataID (line 4) | ServerMetadataID = "ID" constant ServerMetadataTagName (line 5) | ServerMetadataTagName = "TagName" constant ServerMetadataFullyQualifiedName (line 6) | ServerMetadataFullyQualifiedName = "FullyQualifiedName" FILE: app/subscription/subscriptionmanager/manager.go type SubscriptionManagerImpl (line 25) | type SubscriptionManagerImpl struct method Type (line 42) | func (s *SubscriptionManagerImpl) Type() interface{} { method housekeeping (line 46) | func (s *SubscriptionManagerImpl) housekeeping() error { method Start (line 57) | func (s *SubscriptionManagerImpl) Start() error { method Close (line 80) | func (s *SubscriptionManagerImpl) Close() error { method addTrackedSubscriptionFromImportSource (line 87) | func (s *SubscriptionManagerImpl) addTrackedSubscriptionFromImportSour... method removeTrackedSubscription (line 106) | func (s *SubscriptionManagerImpl) removeTrackedSubscription(subscripti... method init (line 123) | func (s *SubscriptionManagerImpl) init() error { method loadAllFromPersistentStorage (line 152) | func (s *SubscriptionManagerImpl) loadAllFromPersistentStorage() error { function NewSubscriptionManager (line 173) | func NewSubscriptionManager(ctx context.Context, config *subscription.Co... function init (line 182) | func init() { FILE: app/subscription/subscriptionmanager/manager_rpc.go method AddTrackedSubscriptionFromImportSource (line 5) | func (s *SubscriptionManagerImpl) AddTrackedSubscriptionFromImportSource... method RemoveTrackedSubscription (line 11) | func (s *SubscriptionManagerImpl) RemoveTrackedSubscription(name string)... method UpdateTrackedSubscription (line 17) | func (s *SubscriptionManagerImpl) UpdateTrackedSubscription(name string)... method ListTrackedSubscriptions (line 23) | func (s *SubscriptionManagerImpl) ListTrackedSubscriptions() []string { method GetTrackedSubscriptionStatus (line 34) | func (s *SubscriptionManagerImpl) GetTrackedSubscriptionStatus(name stri... FILE: app/subscription/subscriptionmanager/serverspec_materialize.go method materialize (line 11) | func (s *SubscriptionManagerImpl) materialize(subscriptionName, tagName ... method getOutboundTemplateForSubscriptionName (line 44) | func (s *SubscriptionManagerImpl) getOutboundTemplateForSubscriptionName... FILE: app/subscription/subscriptionmanager/subdocapplier.go method applySubscriptionTo (line 10) | func (s *SubscriptionManagerImpl) applySubscriptionTo(name string, docum... method removeManagedServer (line 61) | func (s *SubscriptionManagerImpl) removeManagedServer(subscriptionName, ... method addManagedServer (line 85) | func (s *SubscriptionManagerImpl) addManagedServer(subscriptionName, ser... method updateManagedServer (line 111) | func (s *SubscriptionManagerImpl) updateManagedServer(subscriptionName, ... FILE: app/subscription/subscriptionmanager/subdocchecker.go method checkupSubscription (line 5) | func (s *SubscriptionManagerImpl) checkupSubscription(subscriptionName s... FILE: app/subscription/subscriptionmanager/subdocupdater.go method updateSubscription (line 16) | func (s *SubscriptionManagerImpl) updateSubscription(subscriptionName st... method polyfillServerConfig (line 75) | func (s *SubscriptionManagerImpl) polyfillServerConfig(document *specs.S... method restrictTagName (line 98) | func (s *SubscriptionManagerImpl) restrictTagName(tagName string) string { FILE: app/subscription/subscriptionmanager/tracked_subscription.go function newTrackedSubscription (line 11) | func newTrackedSubscription(importSource *subscription.ImportSource) (*t... type trackedSubscription (line 15) | type trackedSubscription struct method diff (line 34) | func (s *trackedSubscription) diff(newDocument *specs.SubscriptionDocu... method recordRemovedServer (line 60) | func (s *trackedSubscription) recordRemovedServer(name string) { method recordUpdatedServer (line 64) | func (s *trackedSubscription) recordUpdatedServer(name, tagPostfix str... method getCurrentServer (line 68) | func (s *trackedSubscription) getCurrentServer(name string) (*material... method fillStatus (line 82) | func (s *trackedSubscription) fillStatus(status *subscription.TrackedS... type originalServerConfig (line 30) | type originalServerConfig struct type materializedServer (line 76) | type materializedServer struct FILE: app/tun/config.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 23) | type Config struct method Reset (line 40) | func (x *Config) Reset() { method String (line 47) | func (x *Config) String() string { method ProtoMessage (line 51) | func (*Config) ProtoMessage() {} method ProtoReflect (line 53) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 66) | func (*Config) Descriptor() ([]byte, []int) { method GetName (line 70) | func (x *Config) GetName() string { method GetMtu (line 77) | func (x *Config) GetMtu() uint32 { method GetUserLevel (line 84) | func (x *Config) GetUserLevel() uint32 { method GetPacketEncoding (line 91) | func (x *Config) GetPacketEncoding() packetaddr.PacketAddrType { method GetTag (line 98) | func (x *Config) GetTag() string { method GetIps (line 105) | func (x *Config) GetIps() []*routercommon.CIDR { method GetRoutes (line 112) | func (x *Config) GetRoutes() []*routercommon.CIDR { method GetEnablePromiscuousMode (line 119) | func (x *Config) GetEnablePromiscuousMode() bool { method GetEnableSpoofing (line 126) | func (x *Config) GetEnableSpoofing() bool { method GetSocketSettings (line 133) | func (x *Config) GetSocketSettings() *internet.SocketConfig { method GetSniffingSettings (line 140) | func (x *Config) GetSniffingSettings() *proxyman.SniffingConfig { constant file_app_tun_config_proto_rawDesc (line 149) | file_app_tun_config_proto_rawDesc = "" + function file_app_tun_config_proto_rawDescGZIP (line 174) | func file_app_tun_config_proto_rawDescGZIP() []byte { function init (line 202) | func init() { file_app_tun_config_proto_init() } function file_app_tun_config_proto_init (line 203) | func file_app_tun_config_proto_init() { FILE: app/tun/device/device.go type Device (line 7) | type Device interface type Options (line 11) | type Options struct type DeviceConstructor (line 16) | type DeviceConstructor FILE: app/tun/device/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/tun/device/gvisor/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/tun/device/gvisor/gvisor_linux.go constant ifReqSize (line 22) | ifReqSize = unix.IFNAMSIZ + 64 type GvisorTUN (line 25) | type GvisorTUN struct method Close (line 76) | func (t *GvisorTUN) Close() { function New (line 34) | func New(options device.Options) (device.Device, error) { function setMTU (line 81) | func setMTU(name string, n int) error { FILE: app/tun/device/gvisor/gvisor_others.go function New (line 8) | func New(options device.Options) (device.Device, error) { FILE: app/tun/device/linkWriterToWriter.go function NewLinkWriterToWriter (line 12) | func NewLinkWriterToWriter(writer stack.LinkWriter) io.Writer { type linkWriterToWriter (line 16) | type linkWriterToWriter struct method Write (line 20) | func (l linkWriterToWriter) Write(p []byte) (n int, err error) { FILE: app/tun/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/tun/handler_tcp.go constant rcvWnd (line 28) | rcvWnd = 0 constant maxInFlight (line 29) | maxInFlight = 2 << 10 type tcpConn (line 32) | type tcpConn struct method ID (line 37) | func (c *tcpConn) ID() *stack.TransportEndpointID { type TCPHandler (line 41) | type TCPHandler struct method Handle (line 86) | func (h *TCPHandler) Handle(conn tun_net.TCPConn) error { function SetTCPHandler (line 48) | func SetTCPHandler(ctx context.Context, dispatcher routing.Dispatcher, p... function applySocketOptions (line 144) | func applySocketOptions(s *stack.Stack, endpoint tcpip.Endpoint, config ... FILE: app/tun/handler_udp.go type UDPHandler (line 21) | type UDPHandler struct method Handle (line 66) | func (h *UDPHandler) Handle(conn tun_net.UDPConn) error { type udpConn (line 28) | type udpConn struct method ID (line 33) | func (c *udpConn) ID() *stack.TransportEndpointID { function SetUDPHandler (line 37) | func SetUDPHandler(ctx context.Context, dispatcher routing.Dispatcher, p... FILE: app/tun/net/net.go type TCPConn (line 10) | type TCPConn interface type UDPConn (line 16) | type UDPConn interface function AddressFromTCPIPAddr (line 23) | func AddressFromTCPIPAddr(addr tcpip.Address) net.Address { FILE: app/tun/option.go function CreateNIC (line 13) | func CreateNIC(id tcpip.NICID, linkEndpoint stack.LinkEndpoint) StackOpt... function SetPromiscuousMode (line 26) | func SetPromiscuousMode(id tcpip.NICID, enable bool) StackOption { function SetSpoofing (line 35) | func SetSpoofing(id tcpip.NICID, enable bool) StackOption { function AddProtocolAddress (line 44) | func AddProtocolAddress(id tcpip.NICID, ips []*routercommon.CIDR) StackO... function SetRouteTable (line 73) | func SetRouteTable(id tcpip.NICID, routes []*routercommon.CIDR) StackOpt... function SetTCPSendBufferSize (line 94) | func SetTCPSendBufferSize(size int) StackOption { function SetTCPReceiveBufferSize (line 104) | func SetTCPReceiveBufferSize(size int) StackOption { FILE: app/tun/packetaddradaptar.go function NewDeviceWithSorter (line 11) | func NewDeviceWithSorter(overlay device.Device, sorter *tunsorter.TunSor... type packetAddrDevice (line 18) | type packetAddrDevice struct method DeliverNetworkPacket (line 25) | func (p *packetAddrDevice) DeliverNetworkPacket(protocol tcpip.Network... method DeliverLinkPacket (line 33) | func (p *packetAddrDevice) DeliverLinkPacket(protocol tcpip.NetworkPro... method Attach (line 38) | func (p *packetAddrDevice) Attach(dispatcher stack.NetworkDispatcher) { FILE: app/tun/packetparse/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/tun/packetparse/udp.go function TryParseAsUDPPacket (line 17) | func TryParseAsUDPPacket(packet []byte) (src, dst net.Destination, data ... function TryConstructUDPPacket (line 65) | func TryConstructUDPPacket(src, dst net.Destination, data []byte) ([]byt... function constructIPv4UDPPacket (line 75) | func constructIPv4UDPPacket(src, dst net.Destination, data []byte) ([]by... function constructIPv6UDPPacket (line 101) | func constructIPv6UDPPacket(src, dst net.Destination, data []byte) ([]by... FILE: app/tun/stack.go type StackOption (line 12) | type StackOption method CreateStack (line 14) | func (t *TUN) CreateStack(linkedEndpoint stack.LinkEndpoint) (*stack.Sta... FILE: app/tun/tun.go type TUN (line 23) | type TUN struct method Type (line 32) | func (t *TUN) Type() interface{} { method Start (line 36) | func (t *TUN) Start() error { method Close (line 62) | func (t *TUN) Close() error { method Init (line 70) | func (t *TUN) Init(ctx context.Context, config *Config, dispatcher rou... function init (line 79) | func init() { FILE: app/tun/tunsorter/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: app/tun/tunsorter/tunsorter.go function NewTunSorter (line 19) | func NewTunSorter(tunWriter io.Writer, dispatcher routing.Dispatcher, pa... type TunSorter (line 28) | type TunSorter struct method OnPacketReceived (line 37) | func (t *TunSorter) OnPacketReceived(b []byte) (n int, err error) { method onNewConnection (line 52) | func (t *TunSorter) onNewConnection(connection *trackedUDPConnection) { method onWritePacket (line 66) | func (t *TunSorter) onWritePacket(src net.Destination, dest net.Destin... function newTrackedUDPConnection (line 79) | func newTrackedUDPConnection(src net.Destination, tunSorter *TunSorter) ... type trackedUDPConnection (line 86) | type trackedUDPConnection struct method onNewPacket (line 92) | func (t *trackedUDPConnection) onNewPacket(dst net.Destination, data [... method onWritePacket (line 96) | func (t *trackedUDPConnection) onWritePacket(src net.Destination, data... method Close (line 100) | func (t *trackedUDPConnection) Close() error { FILE: common/antireplay/antireplay.go type GeneralizedReplayFilter (line 3) | type GeneralizedReplayFilter interface FILE: common/antireplay/bloomring.go type BloomRing (line 9) | type BloomRing struct method Interval (line 14) | func (b BloomRing) Interval() int64 { method Check (line 18) | func (b BloomRing) Check(sum []byte) bool { function NewBloomRing (line 28) | func NewBloomRing() BloomRing { FILE: common/antireplay/replayfilter.go constant replayFilterCapacity (line 10) | replayFilterCapacity = 100000 type ReplayFilter (line 13) | type ReplayFilter struct method Interval (line 30) | func (filter *ReplayFilter) Interval() int64 { method Check (line 35) | func (filter *ReplayFilter) Check(sum []byte) bool { function NewReplayFilter (line 23) | func NewReplayFilter(interval int64) *ReplayFilter { FILE: common/bitmask/byte.go type Byte (line 4) | type Byte method Has (line 7) | func (b Byte) Has(bb Byte) bool { method Set (line 11) | func (b *Byte) Set(bb Byte) { method Clear (line 15) | func (b *Byte) Clear(bb Byte) { method Toggle (line 19) | func (b *Byte) Toggle(bb Byte) { FILE: common/bitmask/byte_test.go function TestBitmaskByte (line 9) | func TestBitmaskByte(t *testing.T) { FILE: common/buf/buffer.go constant Size (line 11) | Size = 2048 type ownership (line 17) | type ownership constant managed (line 20) | managed ownership = 0 constant unmanaged (line 21) | unmanaged ownership = 1 constant bytespools (line 22) | bytespools ownership = 2 type Buffer (line 28) | type Buffer struct method Release (line 68) | func (b *Buffer) Release() { method Clear (line 86) | func (b *Buffer) Clear() { method Byte (line 92) | func (b *Buffer) Byte(index int32) byte { method SetByte (line 97) | func (b *Buffer) SetByte(index int32, value byte) { method Bytes (line 102) | func (b *Buffer) Bytes() []byte { method Extend (line 108) | func (b *Buffer) Extend(n int32) []byte { method BytesRange (line 119) | func (b *Buffer) BytesRange(from, to int32) []byte { method BytesFrom (line 130) | func (b *Buffer) BytesFrom(from int32) []byte { method BytesTo (line 138) | func (b *Buffer) BytesTo(to int32) []byte { method Resize (line 146) | func (b *Buffer) Resize(from, to int32) { method Advance (line 161) | func (b *Buffer) Advance(from int32) { method Len (line 169) | func (b *Buffer) Len() int32 { method Cap (line 177) | func (b *Buffer) Cap() int32 { method IsEmpty (line 185) | func (b *Buffer) IsEmpty() bool { method IsFull (line 190) | func (b *Buffer) IsFull() bool { method Write (line 195) | func (b *Buffer) Write(data []byte) (int, error) { method WriteByte (line 202) | func (b *Buffer) WriteByte(v byte) error { method WriteString (line 212) | func (b *Buffer) WriteString(s string) (int, error) { method ReadByte (line 217) | func (b *Buffer) ReadByte() (byte, error) { method ReadBytes (line 228) | func (b *Buffer) ReadBytes(length int32) ([]byte, error) { method Read (line 239) | func (b *Buffer) Read(data []byte) (int, error) { method ReadFrom (line 253) | func (b *Buffer) ReadFrom(reader io.Reader) (int64, error) { method ReadFullFrom (line 260) | func (b *Buffer) ReadFullFrom(reader io.Reader, size int32) (int64, er... method String (line 272) | func (b *Buffer) String() string { function New (line 36) | func New() *Buffer { function NewWithSize (line 43) | func NewWithSize(size int32) *Buffer { function FromBytes (line 51) | func FromBytes(data []byte) *Buffer { function StackNew (line 61) | func StackNew() Buffer { FILE: common/buf/buffer_test.go function TestBufferClear (line 14) | func TestBufferClear(t *testing.T) { function TestBufferIsEmpty (line 30) | func TestBufferIsEmpty(t *testing.T) { function TestBufferString (line 39) | func TestBufferString(t *testing.T) { function TestBufferByte (line 50) | func TestBufferByte(t *testing.T) { function TestBufferResize (line 82) | func TestBufferResize(t *testing.T) { function TestBufferSlice (line 107) | func TestBufferSlice(t *testing.T) { function TestBufferReadFullFrom (line 136) | func TestBufferReadFullFrom(t *testing.T) { function BenchmarkNewBuffer (line 153) | func BenchmarkNewBuffer(b *testing.B) { function BenchmarkNewBufferStack (line 160) | func BenchmarkNewBufferStack(b *testing.B) { function BenchmarkWrite2 (line 167) | func BenchmarkWrite2(b *testing.B) { function BenchmarkWrite8 (line 177) | func BenchmarkWrite8(b *testing.B) { function BenchmarkWrite32 (line 187) | func BenchmarkWrite32(b *testing.B) { function BenchmarkWriteByte2 (line 199) | func BenchmarkWriteByte2(b *testing.B) { function BenchmarkWriteByte8 (line 210) | func BenchmarkWriteByte8(b *testing.B) { FILE: common/buf/copy.go type dataHandler (line 11) | type dataHandler type copyHandler (line 13) | type copyHandler struct type SizeCounter (line 18) | type SizeCounter struct type CopyOption (line 23) | type CopyOption function UpdateActivity (line 26) | func UpdateActivity(timer signal.ActivityUpdater) CopyOption { function CountSize (line 35) | func CountSize(sc *SizeCounter) CopyOption { type readError (line 43) | type readError struct method Error (line 47) | func (e readError) Error() string { method Inner (line 51) | func (e readError) Inner() error { function IsReadError (line 56) | func IsReadError(err error) bool { type writeError (line 61) | type writeError struct method Error (line 65) | func (e writeError) Error() string { method Inner (line 69) | func (e writeError) Inner() error { function IsWriteError (line 74) | func IsWriteError(err error) bool { function copyInternal (line 79) | func copyInternal(reader Reader, writer Writer, handler *copyHandler) er... function Copy (line 99) | func Copy(reader Reader, writer Writer, options ...CopyOption) error { function CopyOnceTimeout (line 113) | func CopyOnceTimeout(reader Reader, writer Writer, timeout time.Duration... FILE: common/buf/copy_test.go function TestReadError (line 15) | func TestReadError(t *testing.T) { function TestWriteError (line 36) | func TestWriteError(t *testing.T) { type TestReader (line 57) | type TestReader struct method Read (line 59) | func (TestReader) Read(b []byte) (int, error) { function BenchmarkCopy (line 63) | func BenchmarkCopy(b *testing.B) { FILE: common/buf/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/buf/io.go type Reader (line 12) | type Reader interface type TimeoutReader (line 21) | type TimeoutReader interface type Writer (line 26) | type Writer interface function WriteAllBytes (line 33) | func WriteAllBytes(writer io.Writer, payload []byte) error { function isPacketReader (line 44) | func isPacketReader(reader io.Reader) bool { function NewReader (line 51) | func NewReader(reader io.Reader) Reader { function NewPacketReader (line 80) | func NewPacketReader(reader io.Reader) Reader { function isPacketWriter (line 90) | func isPacketWriter(writer io.Writer) bool { function NewWriter (line 103) | func NewWriter(writer io.Writer) Writer { FILE: common/buf/io_test.go function TestWriterCreation (line 13) | func TestWriterCreation(t *testing.T) { FILE: common/buf/multi_buffer.go function ReadAllToBytes (line 12) | func ReadAllToBytes(reader io.Reader) ([]byte, error) { type MultiBuffer (line 27) | type MultiBuffer method Copy (line 66) | func (mb MultiBuffer) Copy(b []byte) int { method Len (line 226) | func (mb MultiBuffer) Len() int32 { method IsEmpty (line 239) | func (mb MultiBuffer) IsEmpty() bool { method String (line 249) | func (mb MultiBuffer) String() string { function MergeMulti (line 30) | func MergeMulti(dest MultiBuffer, src MultiBuffer) (MultiBuffer, MultiBu... function MergeBytes (line 39) | func MergeBytes(dest MultiBuffer, src []byte) MultiBuffer { function ReleaseMulti (line 57) | func ReleaseMulti(mb MultiBuffer) MultiBuffer { function ReadFrom (line 79) | func ReadFrom(reader io.Reader) (MultiBuffer, error) { function SplitBytes (line 100) | func SplitBytes(mb MultiBuffer, b []byte) (MultiBuffer, int) { function SplitFirstBytes (line 126) | func SplitFirstBytes(mb MultiBuffer, p []byte) (MultiBuffer, int) { function Compact (line 137) | func Compact(mb MultiBuffer) MultiBuffer { function SplitFirst (line 161) | func SplitFirst(mb MultiBuffer) (MultiBuffer, *Buffer) { function SplitSize (line 173) | func SplitSize(mb MultiBuffer, size int32) (MultiBuffer, MultiBuffer) { function WriteMultiBuffer (line 207) | func WriteMultiBuffer(writer io.Writer, mb MultiBuffer) (MultiBuffer, er... type MultiBufferContainer (line 258) | type MultiBufferContainer struct method Read (line 263) | func (c *MultiBufferContainer) Read(b []byte) (int, error) { method ReadMultiBuffer (line 274) | func (c *MultiBufferContainer) ReadMultiBuffer() (MultiBuffer, error) { method Write (line 281) | func (c *MultiBufferContainer) Write(b []byte) (int, error) { method WriteMultiBuffer (line 287) | func (c *MultiBufferContainer) WriteMultiBuffer(b MultiBuffer) error { method Close (line 294) | func (c *MultiBufferContainer) Close() error { FILE: common/buf/multi_buffer_test.go function TestMultiBufferRead (line 16) | func TestMultiBufferRead(t *testing.T) { function TestMultiBufferAppend (line 34) | func TestMultiBufferAppend(t *testing.T) { function TestMultiBufferSliceBySizeLarge (line 44) | func TestMultiBufferSliceBySizeLarge(t *testing.T) { function TestMultiBufferSplitFirst (line 68) | func TestMultiBufferSplitFirst(t *testing.T) { function TestMultiBufferReadAllToByte (line 101) | func TestMultiBufferReadAllToByte(t *testing.T) { function TestMultiBufferCopy (line 131) | func TestMultiBufferCopy(t *testing.T) { function TestSplitFirstBytes (line 147) | func TestSplitFirstBytes(t *testing.T) { function TestCompact (line 165) | func TestCompact(t *testing.T) { function BenchmarkSplitBytes (line 179) | func BenchmarkSplitBytes(b *testing.B) { FILE: common/buf/reader.go function readOneUDP (line 10) | func readOneUDP(r io.Reader) (*Buffer, error) { function ReadBuffer (line 28) | func ReadBuffer(r io.Reader) (*Buffer, error) { type BufferedReader (line 39) | type BufferedReader struct method BufferedBytes (line 49) | func (r *BufferedReader) BufferedBytes() int32 { method ReadByte (line 54) | func (r *BufferedReader) ReadByte() (byte, error) { method Read (line 61) | func (r *BufferedReader) Read(b []byte) (int, error) { method ReadMultiBuffer (line 89) | func (r *BufferedReader) ReadMultiBuffer() (MultiBuffer, error) { method ReadAtMost (line 100) | func (r *BufferedReader) ReadAtMost(size int32) (MultiBuffer, error) { method writeToInternal (line 117) | func (r *BufferedReader) writeToInternal(writer io.Writer) (int64, err... method WriteTo (line 133) | func (r *BufferedReader) WriteTo(writer io.Writer) (int64, error) { method Interrupt (line 142) | func (r *BufferedReader) Interrupt() { method Close (line 147) | func (r *BufferedReader) Close() error { type SingleReader (line 152) | type SingleReader struct method ReadMultiBuffer (line 157) | func (r *SingleReader) ReadMultiBuffer() (MultiBuffer, error) { type PacketReader (line 163) | type PacketReader struct method ReadMultiBuffer (line 168) | func (r *PacketReader) ReadMultiBuffer() (MultiBuffer, error) { FILE: common/buf/reader_test.go function TestBytesReaderWriteTo (line 14) | func TestBytesReaderWriteTo(t *testing.T) { function TestBytesReaderMultiBuffer (line 41) | func TestBytesReaderMultiBuffer(t *testing.T) { function TestReadByte (line 59) | func TestReadByte(t *testing.T) { function TestReadBuffer (line 80) | func TestReadBuffer(t *testing.T) { function TestReadAtMost (line 93) | func TestReadAtMost(t *testing.T) { function TestPacketReader_ReadMultiBuffer (line 112) | func TestPacketReader_ReadMultiBuffer(t *testing.T) { function TestReaderInterface (line 123) | func TestReaderInterface(t *testing.T) { FILE: common/buf/readv_posix.go type posixReader (line 11) | type posixReader struct method Init (line 15) | func (r *posixReader) Init(bs []*Buffer) { method Read (line 29) | func (r *posixReader) Read(fd uintptr) int32 { method Clear (line 37) | func (r *posixReader) Clear() { function newMultiReader (line 44) | func newMultiReader() multiReader { FILE: common/buf/readv_reader.go type allocStrategy (line 14) | type allocStrategy struct method Current (line 18) | func (s *allocStrategy) Current() uint32 { method Adjust (line 22) | func (s *allocStrategy) Adjust(n uint32) { method Alloc (line 38) | func (s *allocStrategy) Alloc() []*Buffer { type multiReader (line 46) | type multiReader interface type ReadVReader (line 53) | type ReadVReader struct method readMulti (line 72) | func (r *ReadVReader) readMulti() (MultiBuffer, error) { method ReadMultiBuffer (line 121) | func (r *ReadVReader) ReadMultiBuffer() (MultiBuffer, error) { function NewReadVReader (line 61) | func NewReadVReader(reader io.Reader, rawConn syscall.RawConn) *ReadVRea... function init (line 140) | func init() { FILE: common/buf/readv_reader_wasm.go constant useReadv (line 11) | useReadv = false function NewReadVReader (line 13) | func NewReadVReader(reader io.Reader, rawConn syscall.RawConn) Reader { FILE: common/buf/readv_test.go function TestReadvReader (line 19) | func TestReadvReader(t *testing.T) { FILE: common/buf/readv_unix.go type unixReader (line 8) | type unixReader struct method Init (line 12) | func (r *unixReader) Init(bs []*Buffer) { method Read (line 23) | func (r *unixReader) Read(fd uintptr) int32 { method Clear (line 31) | func (r *unixReader) Clear() { function newMultiReader (line 35) | func newMultiReader() multiReader { FILE: common/buf/readv_windows.go type windowsReader (line 7) | type windowsReader struct method Init (line 11) | func (r *windowsReader) Init(bs []*Buffer) { method Clear (line 20) | func (r *windowsReader) Clear() { method Read (line 27) | func (r *windowsReader) Read(fd uintptr) int32 { function newMultiReader (line 37) | func newMultiReader() multiReader { FILE: common/buf/writer.go type BufferToBytesWriter (line 13) | type BufferToBytesWriter struct method WriteMultiBuffer (line 20) | func (w *BufferToBytesWriter) WriteMultiBuffer(mb MultiBuffer) error { method ReadFrom (line 61) | func (w *BufferToBytesWriter) ReadFrom(reader io.Reader) (int64, error) { type BufferedWriter (line 68) | type BufferedWriter struct method WriteByte (line 85) | func (w *BufferedWriter) WriteByte(c byte) error { method Write (line 90) | func (w *BufferedWriter) Write(b []byte) (int, error) { method WriteMultiBuffer (line 127) | func (w *BufferedWriter) WriteMultiBuffer(b MultiBuffer) error { method Flush (line 160) | func (w *BufferedWriter) Flush() error { method flushInternal (line 167) | func (w *BufferedWriter) flushInternal() error { method SetBuffered (line 185) | func (w *BufferedWriter) SetBuffered(f bool) error { method ReadFrom (line 197) | func (w *BufferedWriter) ReadFrom(reader io.Reader) (int64, error) { method Close (line 208) | func (w *BufferedWriter) Close() error { function NewBufferedWriter (line 76) | func NewBufferedWriter(writer Writer) *BufferedWriter { type SequentialWriter (line 216) | type SequentialWriter struct method WriteMultiBuffer (line 221) | func (w *SequentialWriter) WriteMultiBuffer(mb MultiBuffer) error { type noOpWriter (line 227) | type noOpWriter method WriteMultiBuffer (line 229) | func (noOpWriter) WriteMultiBuffer(b MultiBuffer) error { method Write (line 234) | func (noOpWriter) Write(b []byte) (int, error) { method ReadFrom (line 238) | func (noOpWriter) ReadFrom(reader io.Reader) (int64, error) { FILE: common/buf/writer_test.go function TestWriter (line 17) | func TestWriter(t *testing.T) { function TestBytesWriterReadFrom (line 35) | func TestBytesWriterReadFrom(t *testing.T) { function TestDiscardBytes (line 56) | func TestDiscardBytes(t *testing.T) { function TestDiscardBytesMultiBuffer (line 67) | func TestDiscardBytesMultiBuffer(t *testing.T) { function TestWriterInterface (line 80) | func TestWriterInterface(t *testing.T) { FILE: common/bytespool/pool.go function createAllocFunc (line 5) | func createAllocFunc(size int32) func() interface{} { constant numPools (line 16) | numPools = 4 constant sizeMulti (line 17) | sizeMulti = 4 function init (line 25) | func init() { function GetPool (line 40) | func GetPool(size int32) *sync.Pool { function Alloc (line 52) | func Alloc(size int32) []byte { function Free (line 63) | func Free(b []byte) { FILE: common/cache/lru.go type Lru (line 9) | type Lru interface type lru (line 15) | type lru struct method Get (line 39) | func (l *lru) Get(key interface{}) (value interface{}, ok bool) { method GetKeyFromValue (line 50) | func (l *lru) GetKeyFromValue(value interface{}) (key interface{}, ok ... method Put (line 61) | func (l *lru) Put(key, value interface{}) { type lruElement (line 23) | type lruElement struct function NewLru (line 29) | func NewLru(cap int) Lru { FILE: common/cache/lru_test.go function TestLruReplaceValue (line 9) | func TestLruReplaceValue(t *testing.T) { function TestLruRemoveOld (line 24) | func TestLruRemoveOld(t *testing.T) { function TestGetKeyFromValue (line 56) | func TestGetKeyFromValue(t *testing.T) { FILE: common/cmdarg/arg.go function LoadArg (line 10) | func LoadArg(arg string) (out io.Reader, err error) { function LoadArgToBytes (line 20) | func LoadArgToBytes(arg string) (out []byte, err error) { FILE: common/cmdarg/cmdarg.go type Arg (line 6) | type Arg method String (line 8) | func (c *Arg) String() string { method Set (line 13) | func (c *Arg) Set(value string) error { FILE: common/cmdarg/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/common.go function Must (line 25) | func Must(err error) { function Must2 (line 32) | func Must2(v interface{}, err error) interface{} { function Error2 (line 38) | func Error2(v interface{}, err error) error { function envFile (line 44) | func envFile() (string, error) { function GetRuntimeEnv (line 63) | func GetRuntimeEnv(key string) (string, error) { function GetGOBIN (line 89) | func GetGOBIN() string { function GetGOPATH (line 109) | func GetGOPATH() string { function FetchHTTPContent (line 129) | func FetchHTTPContent(target string) ([]byte, error) { FILE: common/common_test.go function TestMust (line 10) | func TestMust(t *testing.T) { FILE: common/crypto/aes.go function NewAesDecryptionStream (line 12) | func NewAesDecryptionStream(key []byte, iv []byte) cipher.Stream { function NewAesEncryptionStream (line 18) | func NewAesEncryptionStream(key []byte, iv []byte) cipher.Stream { function NewAesStreamMethod (line 22) | func NewAesStreamMethod(key []byte, iv []byte, f func(cipher.Block, []by... function NewAesCTRStream (line 29) | func NewAesCTRStream(key []byte, iv []byte) cipher.Stream { function NewAesGcm (line 34) | func NewAesGcm(key []byte) cipher.AEAD { FILE: common/crypto/auth.go type BytesGenerator (line 15) | type BytesGenerator function GenerateEmptyBytes (line 17) | func GenerateEmptyBytes() BytesGenerator { function GenerateStaticBytes (line 24) | func GenerateStaticBytes(content []byte) BytesGenerator { function GenerateIncreasingNonce (line 30) | func GenerateIncreasingNonce(nonce []byte) BytesGenerator { function GenerateInitialAEADNonce (line 43) | func GenerateInitialAEADNonce() BytesGenerator { type Authenticator (line 47) | type Authenticator interface type AEADAuthenticator (line 54) | type AEADAuthenticator struct method Open (line 60) | func (v *AEADAuthenticator) Open(dst, cipherText []byte) ([]byte, erro... method Seal (line 73) | func (v *AEADAuthenticator) Seal(dst, plainText []byte) ([]byte, error) { type AuthenticationReader (line 86) | type AuthenticationReader struct method readSize (line 119) | func (r *AuthenticationReader) readSize() (uint16, uint16, error) { method readBuffer (line 137) | func (r *AuthenticationReader) readBuffer(size int32, padding int32) (... method readInternal (line 153) | func (r *AuthenticationReader) readInternal(soft bool, mb *buf.MultiBu... method ReadMultiBuffer (line 208) | func (r *AuthenticationReader) ReadMultiBuffer() (buf.MultiBuffer, err... function NewAuthenticationReader (line 100) | func NewAuthenticationReader(auth Authenticator, sizeParser ChunkSizeDec... type AuthenticationWriter (line 230) | type AuthenticationWriter struct method seal (line 251) | func (w *AuthenticationWriter) seal(b []byte) (*buf.Buffer, error) { method writeStream (line 280) | func (w *AuthenticationWriter) writeStream(mb buf.MultiBuffer) error { method writePacket (line 318) | func (w *AuthenticationWriter) writePacket(mb buf.MultiBuffer) error { method WriteMultiBuffer (line 348) | func (w *AuthenticationWriter) WriteMultiBuffer(mb buf.MultiBuffer) er... function NewAuthenticationWriter (line 238) | func NewAuthenticationWriter(auth Authenticator, sizeParser ChunkSizeEnc... FILE: common/crypto/auth_test.go function TestAuthenticationReaderWriter (line 19) | func TestAuthenticationReaderWriter(t *testing.T) { function TestAuthenticationReaderWriterPacket (line 81) | func TestAuthenticationReaderWriterPacket(t *testing.T) { FILE: common/crypto/benchmark_test.go constant benchSize (line 10) | benchSize = 1024 * 1024 function benchmarkStream (line 12) | func benchmarkStream(b *testing.B, c cipher.Stream) { function BenchmarkChaCha20 (line 22) | func BenchmarkChaCha20(b *testing.B) { function BenchmarkChaCha20IETF (line 29) | func BenchmarkChaCha20IETF(b *testing.B) { function BenchmarkAESEncryption (line 36) | func BenchmarkAESEncryption(b *testing.B) { function BenchmarkAESDecryption (line 44) | func BenchmarkAESDecryption(b *testing.B) { FILE: common/crypto/chacha20.go function NewChaCha20Stream (line 11) | func NewChaCha20Stream(key []byte, iv []byte) cipher.Stream { FILE: common/crypto/chacha20_test.go function mustDecodeHex (line 14) | func mustDecodeHex(s string) []byte { function TestChaCha20Stream (line 20) | func TestChaCha20Stream(t *testing.T) { function TestChaCha20Decoding (line 59) | func TestChaCha20Decoding(t *testing.T) { FILE: common/crypto/chunk.go type ChunkSizeDecoder (line 12) | type ChunkSizeDecoder interface type ChunkSizeDecoderWithOffset (line 18) | type ChunkSizeDecoderWithOffset interface type ChunkSizeEncoder (line 26) | type ChunkSizeEncoder interface type PaddingLengthGenerator (line 31) | type PaddingLengthGenerator interface type PlainChunkSizeParser (line 36) | type PlainChunkSizeParser struct method SizeBytes (line 38) | func (PlainChunkSizeParser) SizeBytes() int32 { method Encode (line 42) | func (PlainChunkSizeParser) Encode(size uint16, b []byte) []byte { method Decode (line 47) | func (PlainChunkSizeParser) Decode(b []byte) (uint16, error) { type AEADChunkSizeParser (line 51) | type AEADChunkSizeParser struct method SizeBytes (line 55) | func (p *AEADChunkSizeParser) SizeBytes() int32 { method Encode (line 59) | func (p *AEADChunkSizeParser) Encode(size uint16, b []byte) []byte { method Decode (line 66) | func (p *AEADChunkSizeParser) Decode(b []byte) (uint16, error) { type ChunkStreamReader (line 74) | type ChunkStreamReader struct method readSize (line 103) | func (r *ChunkStreamReader) readSize() (uint16, error) { method ReadMultiBuffer (line 110) | func (r *ChunkStreamReader) ReadMultiBuffer() (buf.MultiBuffer, error) { function NewChunkStreamReader (line 84) | func NewChunkStreamReader(sizeDecoder ChunkSizeDecoder, reader io.Reader... function NewChunkStreamReaderWithChunkCount (line 88) | func NewChunkStreamReaderWithChunkCount(sizeDecoder ChunkSizeDecoder, re... type ChunkStreamWriter (line 136) | type ChunkStreamWriter struct method WriteMultiBuffer (line 148) | func (w *ChunkStreamWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { function NewChunkStreamWriter (line 141) | func NewChunkStreamWriter(sizeEncoder ChunkSizeEncoder, writer io.Writer... FILE: common/crypto/chunk_test.go function TestChunkStreamIO (line 13) | func TestChunkStreamIO(t *testing.T) { FILE: common/crypto/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/crypto/internal/chacha.go constant wordSize (line 10) | wordSize = 4 constant stateSize (line 11) | stateSize = 16 constant blockSize (line 12) | blockSize = stateSize * wordSize type ChaCha20Stream (line 15) | type ChaCha20Stream struct method XORKeyStream (line 51) | func (s *ChaCha20Stream) XORKeyStream(dst, src []byte) { function NewChaCha20Stream (line 22) | func NewChaCha20Stream(key []byte, nonce []byte, rounds int) *ChaCha20St... FILE: common/crypto/internal/chacha_core.generated.go function ChaCha20Block (line 5) | func ChaCha20Block(s *[16]uint32, out []byte, rounds int) { FILE: common/crypto/internal/chacha_core_gen.go function writeQuarterRound (line 12) | func writeQuarterRound(file *os.File, a, b, c, d int) { function writeChacha20Block (line 34) | func writeChacha20Block(file *os.File) { function main (line 58) | func main() { FILE: common/crypto/io.go type CryptionReader (line 10) | type CryptionReader struct method Read (line 22) | func (r *CryptionReader) Read(data []byte) (int, error) { function NewCryptionReader (line 15) | func NewCryptionReader(stream cipher.Stream, reader io.Reader) *Cryption... type CryptionWriter (line 32) | type CryptionWriter struct method Write (line 48) | func (w *CryptionWriter) Write(data []byte) (int, error) { method WriteMultiBuffer (line 58) | func (w *CryptionWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { function NewCryptionWriter (line 39) | func NewCryptionWriter(stream cipher.Stream, writer io.Writer) *Cryption... FILE: common/dice/dice.go function Roll (line 16) | func Roll(n int) int { function RollWith (line 25) | func RollWith(n int, random io.Reader) int { function RollDeterministic (line 35) | func RollDeterministic(n int, seed int64) int { function RollUint16 (line 43) | func RollUint16() uint16 { function RollUint64 (line 47) | func RollUint64() uint64 { function NewDeterministicDice (line 51) | func NewDeterministicDice(seed int64) *DeterministicDice { type DeterministicDice (line 55) | type DeterministicDice struct method Roll (line 59) | func (dd *DeterministicDice) Roll(n int) int { function init (line 66) | func init() { FILE: common/dice/dice_test.go function BenchmarkRoll1 (line 10) | func BenchmarkRoll1(b *testing.B) { function BenchmarkRoll20 (line 16) | func BenchmarkRoll20(b *testing.B) { function BenchmarkIntn1 (line 22) | func BenchmarkIntn1(b *testing.B) { function BenchmarkIntn20 (line 28) | func BenchmarkIntn20(b *testing.B) { function BenchmarkInt63 (line 34) | func BenchmarkInt63(b *testing.B) { function BenchmarkInt31 (line 40) | func BenchmarkInt31(b *testing.B) { function BenchmarkIntn (line 46) | func BenchmarkIntn(b *testing.B) { FILE: common/drain/drain.go type Drainer (line 7) | type Drainer interface FILE: common/drain/drainer.go type BehaviorSeedLimitedDrainer (line 9) | type BehaviorSeedLimitedDrainer struct method AcknowledgeReceive (line 22) | func (d *BehaviorSeedLimitedDrainer) AcknowledgeReceive(size int) { method Drain (line 26) | func (d *BehaviorSeedLimitedDrainer) Drain(reader io.Reader) error { function NewBehaviorSeedLimitedDrainer (line 13) | func NewBehaviorSeedLimitedDrainer(behaviorSeed int64, drainFoundation, ... function drainReadN (line 37) | func drainReadN(reader io.Reader, n int) error { function WithError (line 42) | func WithError(drainer Drainer, reader io.Reader, err error) error { type NopDrainer (line 50) | type NopDrainer struct method AcknowledgeReceive (line 52) | func (n NopDrainer) AcknowledgeReceive(size int) { method Drain (line 55) | func (n NopDrainer) Drain(reader io.Reader) error { function NewNopDrainer (line 59) | func NewNopDrainer() Drainer { FILE: common/drain/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/dualStack/fusedPacketConn/fusedPacketSocket.go type FusedPacketConn (line 16) | type FusedPacketConn struct method readLoop (line 45) | func (f *FusedPacketConn) readLoop(conn net.PacketConn, bufSize int) { method ReadFrom (line 60) | func (f *FusedPacketConn) ReadFrom(p []byte) (int, net.Addr, error) { method WriteTo (line 81) | func (f *FusedPacketConn) WriteTo(p []byte, addr net.Addr) (int, error) { method Close (line 88) | func (f *FusedPacketConn) Close() error { method LocalAddr (line 98) | func (f *FusedPacketConn) LocalAddr() net.Addr { method SetDeadline (line 105) | func (f *FusedPacketConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 114) | func (f *FusedPacketConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 123) | func (f *FusedPacketConn) SetWriteDeadline(t time.Time) error { type readResult (line 26) | type readResult struct function NewFusedPacketConn (line 32) | func NewFusedPacketConn(ipv4, ipv6 net.PacketConn, readBufSize int, loca... function isIPv4Addr (line 73) | func isIPv4Addr(addr net.Addr) bool { FILE: common/dualStack/happyEyeball/racingDialer.go type Dialer (line 14) | type Dialer function RacingDialer (line 16) | func RacingDialer(ctx context.Context, domainDestination net.Destination... FILE: common/environment/app.go type AppEnvironmentCapabilitySet (line 3) | type AppEnvironmentCapabilitySet interface type AppEnvironment (line 12) | type AppEnvironment interface FILE: common/environment/base.go type BaseEnvironmentCapabilitySet (line 10) | type BaseEnvironmentCapabilitySet interface type BaseEnvironment (line 15) | type BaseEnvironment interface type SystemNetworkCapabilitySet (line 20) | type SystemNetworkCapabilitySet interface type InstanceNetworkCapabilitySet (line 25) | type InstanceNetworkCapabilitySet interface type FeaturesLookupCapabilitySet (line 29) | type FeaturesLookupCapabilitySet interface type LogCapabilitySet (line 33) | type LogCapabilitySet interface type FileSystemCapabilitySet (line 37) | type FileSystemCapabilitySet interface type PersistentStorageCapabilitySet (line 41) | type PersistentStorageCapabilitySet interface type TransientStorageCapabilitySet (line 44) | type TransientStorageCapabilitySet interface type ProxyMetadataCapabilitySet (line 48) | type ProxyMetadataCapabilitySet interface FILE: common/environment/connection.go type ConnectionCapabilitySet (line 5) | type ConnectionCapabilitySet interface type ConnectionEnvironment (line 9) | type ConnectionEnvironment interface type ConnectionLogCapabilitySet (line 14) | type ConnectionLogCapabilitySet interface FILE: common/environment/deferredpersistentstorage/defereredPersistentStorage.go type DeferredPersistentStorage (line 11) | type DeferredPersistentStorage interface type deferredPersistentStorage (line 18) | type deferredPersistentStorage struct method ScopedPersistentStorageEngine (line 28) | func (d *deferredPersistentStorage) ScopedPersistentStorageEngine() { method Put (line 31) | func (d *deferredPersistentStorage) Put(ctx context.Context, key []byt... method Get (line 39) | func (d *deferredPersistentStorage) Get(ctx context.Context, key []byt... method List (line 47) | func (d *deferredPersistentStorage) List(ctx context.Context, keyPrefi... method Clear (line 55) | func (d *deferredPersistentStorage) Clear(ctx context.Context) { method NarrowScope (line 63) | func (d *deferredPersistentStorage) NarrowScope(ctx context.Context, k... method DropScope (line 79) | func (d *deferredPersistentStorage) DropScope(ctx context.Context, key... method ProvideInner (line 87) | func (d *deferredPersistentStorage) ProvideInner(ctx context.Context, ... function NewDeferredPersistentStorage (line 104) | func NewDeferredPersistentStorage(ctx context.Context) DeferredPersisten... FILE: common/environment/envctx/env.go constant environmentKey (line 6) | environmentKey string = "v2.environment" function ContextWithEnvironment (line 9) | func ContextWithEnvironment(ctx context.Context, environment interface{}... function EnvironmentFromContext (line 13) | func EnvironmentFromContext(ctx context.Context) interface{} { FILE: common/environment/envimpl/fs.go type fileSystemDefaultImpl (line 9) | type fileSystemDefaultImpl struct method ReadDir (line 11) | func (f fileSystemDefaultImpl) ReadDir() fsifce.FileReadDirFunc { method RemoveFile (line 15) | func (f fileSystemDefaultImpl) RemoveFile() fsifce.FileRemoveFunc { method OpenFileForReadSeek (line 19) | func (f fileSystemDefaultImpl) OpenFileForReadSeek() fsifce.FileSeeker... method OpenFileForRead (line 23) | func (f fileSystemDefaultImpl) OpenFileForRead() fsifce.FileReaderFunc { method OpenFileForWrite (line 27) | func (f fileSystemDefaultImpl) OpenFileForWrite() fsifce.FileWriterFunc { function NewDefaultFileSystemDefaultImpl (line 31) | func NewDefaultFileSystemDefaultImpl() environment.FileSystemCapabilityS... FILE: common/environment/filesystemcap/fscap.go type FileSystemCapabilitySet (line 5) | type FileSystemCapabilitySet interface FILE: common/environment/filesystemimpl/fsimpl.go function NewDefaultFileSystemDefaultImpl (line 9) | func NewDefaultFileSystemDefaultImpl() environment.FileSystemCapabilityS... type fsCapImpl (line 13) | type fsCapImpl struct method OpenFileForReadSeek (line 15) | func (f fsCapImpl) OpenFileForReadSeek() fsifce.FileSeekerFunc { method OpenFileForRead (line 19) | func (f fsCapImpl) OpenFileForRead() fsifce.FileReaderFunc { method OpenFileForWrite (line 23) | func (f fsCapImpl) OpenFileForWrite() fsifce.FileWriterFunc { method ReadDir (line 27) | func (f fsCapImpl) ReadDir() fsifce.FileReadDirFunc { method RemoveFile (line 31) | func (f fsCapImpl) RemoveFile() fsifce.FileRemoveFunc { FILE: common/environment/proxy.go type ProxyEnvironmentCapabilitySet (line 3) | type ProxyEnvironmentCapabilitySet interface type ProxyEnvironment (line 12) | type ProxyEnvironment interface FILE: common/environment/rootcap.go type RootEnvironment (line 3) | type RootEnvironment interface FILE: common/environment/rootcap_impl.go function NewRootEnvImpl (line 12) | func NewRootEnvImpl(ctx context.Context, transientStorage storage.Scoped... type rootEnvImpl (line 26) | type rootEnvImpl struct method doNotImpl (line 36) | func (r *rootEnvImpl) doNotImpl() { method AppEnvironment (line 40) | func (r *rootEnvImpl) AppEnvironment(tag string) AppEnvironment { method ProxyEnvironment (line 59) | func (r *rootEnvImpl) ProxyEnvironment(tag string) ProxyEnvironment { method DropProxyEnvironment (line 72) | func (r *rootEnvImpl) DropProxyEnvironment(tag string) error { type appEnvImpl (line 81) | type appEnvImpl struct method RequireFeatures (line 91) | func (a *appEnvImpl) RequireFeatures() interface{} { method RecordLog (line 95) | func (a *appEnvImpl) RecordLog() interface{} { method Dialer (line 99) | func (a *appEnvImpl) Dialer() internet.SystemDialer { method Listener (line 103) | func (a *appEnvImpl) Listener() internet.SystemListener { method OutboundDialer (line 107) | func (a *appEnvImpl) OutboundDialer() tagged.DialFunc { method OpenFileForReadSeek (line 111) | func (a *appEnvImpl) OpenFileForReadSeek() fsifce.FileSeekerFunc { method OpenFileForRead (line 115) | func (a *appEnvImpl) OpenFileForRead() fsifce.FileReaderFunc { method OpenFileForWrite (line 119) | func (a *appEnvImpl) OpenFileForWrite() fsifce.FileWriterFunc { method ReadDir (line 123) | func (a *appEnvImpl) ReadDir() fsifce.FileReadDirFunc { method RemoveFile (line 127) | func (a *appEnvImpl) RemoveFile() fsifce.FileRemoveFunc { method PersistentStorage (line 131) | func (a *appEnvImpl) PersistentStorage() storage.ScopedPersistentStora... method TransientStorage (line 135) | func (a *appEnvImpl) TransientStorage() storage.ScopedTransientStorage { method NarrowScope (line 139) | func (a *appEnvImpl) NarrowScope(key string) (AppEnvironment, error) { method doNotImpl (line 152) | func (a *appEnvImpl) doNotImpl() { type proxyEnvImpl (line 156) | type proxyEnvImpl struct method RequireFeatures (line 166) | func (p *proxyEnvImpl) RequireFeatures() interface{} { method RecordLog (line 170) | func (p *proxyEnvImpl) RecordLog() interface{} { method OutboundDialer (line 174) | func (p *proxyEnvImpl) OutboundDialer() tagged.DialFunc { method TransientStorage (line 178) | func (p *proxyEnvImpl) TransientStorage() storage.ScopedTransientStora... method SelfProxyTag (line 182) | func (p *proxyEnvImpl) SelfProxyTag() string { method NarrowScope (line 186) | func (p *proxyEnvImpl) NarrowScope(key string) (ProxyEnvironment, erro... method NarrowScopeToTransport (line 198) | func (p *proxyEnvImpl) NarrowScopeToTransport(key string) (TransportEn... method doNotImpl (line 212) | func (p *proxyEnvImpl) doNotImpl() { type transportEnvImpl (line 216) | type transportEnvImpl struct method RequireFeatures (line 226) | func (t *transportEnvImpl) RequireFeatures() interface{} { method SelfProxyTag (line 230) | func (t *transportEnvImpl) SelfProxyTag() string { method RecordLog (line 234) | func (t *transportEnvImpl) RecordLog() interface{} { method Dialer (line 238) | func (t *transportEnvImpl) Dialer() internet.SystemDialer { method Listener (line 242) | func (t *transportEnvImpl) Listener() internet.SystemListener { method OutboundDialer (line 246) | func (t *transportEnvImpl) OutboundDialer() tagged.DialFunc { method TransientStorage (line 250) | func (t *transportEnvImpl) TransientStorage() storage.ScopedTransientS... method NarrowScope (line 254) | func (t *transportEnvImpl) NarrowScope(key string) (TransportEnvironme... method doNotImpl (line 265) | func (t *transportEnvImpl) doNotImpl() { FILE: common/environment/systemnetworkimpl/systemnetwork.go function NewSystemNetworkImpl (line 11) | func NewSystemNetworkImpl(listener internet.SystemListener, dialer inter... type systemDefaultDialer (line 15) | type systemDefaultDialer struct method Listen (line 17) | func (s systemDefaultDialer) Listen(ctx context.Context, addr net.Addr... method ListenPacket (line 21) | func (s systemDefaultDialer) ListenPacket(ctx context.Context, addr ne... method Dial (line 25) | func (s systemDefaultDialer) Dial(ctx context.Context, source net.Addr... function NewSystemNetworkDefault (line 29) | func NewSystemNetworkDefault() environment.SystemNetworkCapabilitySet { type systemNetworkImpl (line 34) | type systemNetworkImpl struct method Dialer (line 39) | func (s systemNetworkImpl) Dialer() internet.SystemDialer { method Listener (line 43) | func (s systemNetworkImpl) Listener() internet.SystemListener { function NewSystemListenerWithDefaultOpt (line 47) | func NewSystemListenerWithDefaultOpt(listener internet.SystemListener, o... type systemListenerWithDefaultOpt (line 51) | type systemListenerWithDefaultOpt struct method Listen (line 56) | func (s systemListenerWithDefaultOpt) Listen(ctx context.Context, addr... method ListenPacket (line 63) | func (s systemListenerWithDefaultOpt) ListenPacket(ctx context.Context... function NewSystemDialerWithDefaultOpt (line 70) | func NewSystemDialerWithDefaultOpt(listener internet.SystemDialer, opt *... type systemDialerWithDefaultOpt (line 74) | type systemDialerWithDefaultOpt struct method Dial (line 79) | func (s systemDialerWithDefaultOpt) Dial(ctx context.Context, source n... FILE: common/environment/transientstorageimpl/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/environment/transientstorageimpl/storage.go function NewScopedTransientStorageImpl (line 13) | func NewScopedTransientStorageImpl() storage.ScopedTransientStorage { type scopedTransientStorageImpl (line 17) | type scopedTransientStorageImpl struct method ScopedTransientStorage (line 23) | func (s *scopedTransientStorageImpl) ScopedTransientStorage() { method Put (line 27) | func (s *scopedTransientStorageImpl) Put(ctx context.Context, key stri... method Get (line 34) | func (s *scopedTransientStorageImpl) Get(ctx context.Context, key stri... method List (line 44) | func (s *scopedTransientStorageImpl) List(ctx context.Context, keyPref... method Clear (line 56) | func (s *scopedTransientStorageImpl) Clear(ctx context.Context) { method NarrowScope (line 71) | func (s *scopedTransientStorageImpl) NarrowScope(ctx context.Context, ... method DropScope (line 83) | func (s *scopedTransientStorageImpl) DropScope(ctx context.Context, ke... FILE: common/environment/transport.go type TransportEnvironmentCapacitySet (line 3) | type TransportEnvironmentCapacitySet interface type TransportEnvironment (line 11) | type TransportEnvironment interface FILE: common/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/errors/errors.go type hasInnerError (line 13) | type hasInnerError interface type hasSeverity (line 18) | type hasSeverity interface type Error (line 23) | type Error struct method WithPathObj (line 31) | func (err *Error) WithPathObj(obj interface{}) *Error { method pkgPath (line 36) | func (err *Error) pkgPath() string { method Error (line 48) | func (err *Error) Error() string { method Inner (line 74) | func (err *Error) Inner() error { method Base (line 81) | func (err *Error) Base(e error) *Error { method atSeverity (line 86) | func (err *Error) atSeverity(s log.Severity) *Error { method Severity (line 91) | func (err *Error) Severity() log.Severity { method AtDebug (line 107) | func (err *Error) AtDebug() *Error { method AtInfo (line 112) | func (err *Error) AtInfo() *Error { method AtWarning (line 117) | func (err *Error) AtWarning() *Error { method AtError (line 122) | func (err *Error) AtError() *Error { method String (line 127) | func (err *Error) String() string { method WriteToLog (line 132) | func (err *Error) WriteToLog(opts ...ExportOption) { type ExportOptionHolder (line 149) | type ExportOptionHolder struct type ExportOption (line 153) | type ExportOption function New (line 156) | func New(msg ...interface{}) *Error { function Cause (line 164) | func Cause(err error) error { function GetSeverity (line 194) | func GetSeverity(err error) log.Severity { FILE: common/errors/errors_test.go function TestError (line 14) | func TestError(t *testing.T) { type e (line 40) | type e struct function TestErrorMessage (line 42) | func TestErrorMessage(t *testing.T) { FILE: common/errors/multi_error.go type multiError (line 7) | type multiError method Error (line 9) | func (e multiError) Error() string { function Combine (line 19) | func Combine(maybeError ...error) error { FILE: common/interfaces.go type Closable (line 8) | type Closable interface type Interruptible (line 16) | type Interruptible interface function Close (line 23) | func Close(obj interface{}) error { function Interrupt (line 33) | func Interrupt(obj interface{}) error { type Runnable (line 42) | type Runnable interface type HasType (line 49) | type HasType interface type ChainedClosable (line 56) | type ChainedClosable method Close (line 59) | func (cc ChainedClosable) Close() error { FILE: common/log/access.go type logKey (line 10) | type logKey constant accessMessageKey (line 13) | accessMessageKey logKey = iota type AccessStatus (line 16) | type AccessStatus constant AccessAccepted (line 19) | AccessAccepted = AccessStatus("accepted") constant AccessRejected (line 20) | AccessRejected = AccessStatus("rejected") type AccessMessage (line 23) | type AccessMessage struct method String (line 32) | func (m *AccessMessage) String() string { function ContextWithAccessMessage (line 59) | func ContextWithAccessMessage(ctx context.Context, accessMessage *Access... function AccessMessageFromContext (line 63) | func AccessMessageFromContext(ctx context.Context) *AccessMessage { FILE: common/log/log.go type Message (line 10) | type Message interface type Handler (line 15) | type Handler interface type Follower (line 20) | type Follower interface type GeneralMessage (line 26) | type GeneralMessage struct method String (line 32) | func (m *GeneralMessage) String() string { function Record (line 37) | func Record(msg Message) { function RegisterHandler (line 44) | func RegisterHandler(handler Handler) { type syncHandler (line 51) | type syncHandler struct method Handle (line 56) | func (h *syncHandler) Handle(msg Message) { method Set (line 65) | func (h *syncHandler) Set(handler Handler) { FILE: common/log/log.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Severity (line 18) | type Severity method Enum (line 46) | func (x Severity) Enum() *Severity { method String (line 52) | func (x Severity) String() string { method Descriptor (line 56) | func (Severity) Descriptor() protoreflect.EnumDescriptor { method Type (line 60) | func (Severity) Type() protoreflect.EnumType { method Number (line 64) | func (x Severity) Number() protoreflect.EnumNumber { method EnumDescriptor (line 69) | func (Severity) EnumDescriptor() ([]byte, []int) { constant Severity_Unknown (line 21) | Severity_Unknown Severity = 0 constant Severity_Error (line 22) | Severity_Error Severity = 1 constant Severity_Warning (line 23) | Severity_Warning Severity = 2 constant Severity_Info (line 24) | Severity_Info Severity = 3 constant Severity_Debug (line 25) | Severity_Debug Severity = 4 constant file_common_log_log_proto_rawDesc (line 75) | file_common_log_log_proto_rawDesc = "" + function file_common_log_log_proto_rawDescGZIP (line 91) | func file_common_log_log_proto_rawDescGZIP() []byte { function init (line 110) | func init() { file_common_log_log_proto_init() } function file_common_log_log_proto_init (line 111) | func file_common_log_log_proto_init() { FILE: common/log/log_test.go type testLogger (line 12) | type testLogger struct method Handle (line 16) | func (l *testLogger) Handle(msg log.Message) { function TestLogRecord (line 20) | func TestLogRecord(t *testing.T) { FILE: common/log/logger.go type Writer (line 15) | type Writer interface type WriterCreator (line 21) | type WriterCreator type generalLogger (line 23) | type generalLogger struct method run (line 40) | func (l *generalLogger) run() { method Handle (line 69) | func (l *generalLogger) Handle(msg Message) { method Close (line 82) | func (l *generalLogger) Close() error { function NewLogger (line 31) | func NewLogger(logWriterCreator WriterCreator) Handler { type consoleLogWriter (line 86) | type consoleLogWriter struct method Write (line 90) | func (w *consoleLogWriter) Write(s string) error { method Close (line 95) | func (w *consoleLogWriter) Close() error { type fileLogWriter (line 99) | type fileLogWriter struct method Write (line 104) | func (w *fileLogWriter) Write(s string) error { method Close (line 109) | func (w *fileLogWriter) Close() error { function CreateStdoutLogWriter (line 114) | func CreateStdoutLogWriter() WriterCreator { function CreateStderrLogWriter (line 123) | func CreateStderrLogWriter() WriterCreator { function CreateFileLogWriter (line 132) | func CreateFileLogWriter(path string) (WriterCreator, error) { function init (line 150) | func init() { FILE: common/log/logger_test.go function TestFileLogger (line 14) | func TestFileLogger(t *testing.T) { FILE: common/mux/client.go type ClientManager (line 23) | type ClientManager struct method Dispatch (line 28) | func (m *ClientManager) Dispatch(ctx context.Context, link *transport.... type WorkerPicker (line 42) | type WorkerPicker interface type IncrementalWorkerPicker (line 46) | type IncrementalWorkerPicker struct method cleanupFunc (line 54) | func (p *IncrementalWorkerPicker) cleanupFunc() error { method cleanup (line 66) | func (p *IncrementalWorkerPicker) cleanup() { method findAvailable (line 76) | func (p *IncrementalWorkerPicker) findAvailable() int { method pickInternal (line 86) | func (p *IncrementalWorkerPicker) pickInternal() (*ClientWorker, bool,... method PickAvailable (line 117) | func (p *IncrementalWorkerPicker) PickAvailable() (*ClientWorker, erro... type ClientWorkerFactory (line 126) | type ClientWorkerFactory interface type DialingWorkerFactory (line 130) | type DialingWorkerFactory struct method Create (line 147) | func (f *DialingWorkerFactory) Create() (*ClientWorker, error) { function NewDialingWorkerFactory (line 138) | func NewDialingWorkerFactory(ctx context.Context, proxy proxy.Outbound, ... type ClientStrategy (line 176) | type ClientStrategy struct type ClientWorker (line 181) | type ClientWorker struct method TotalConnections (line 208) | func (m *ClientWorker) TotalConnections() uint32 { method ActiveConnections (line 212) | func (m *ClientWorker) ActiveConnections() uint32 { method Closed (line 217) | func (m *ClientWorker) Closed() bool { method monitor (line 221) | func (m *ClientWorker) monitor() { method IsClosing (line 281) | func (m *ClientWorker) IsClosing() bool { method IsFull (line 289) | func (m *ClientWorker) IsFull() bool { method Dispatch (line 301) | func (m *ClientWorker) Dispatch(ctx context.Context, link *transport.L... method handleStatueKeepAlive (line 317) | func (m *ClientWorker) handleStatueKeepAlive(meta *FrameMetadata, read... method handleStatusNew (line 324) | func (m *ClientWorker) handleStatusNew(meta *FrameMetadata, reader *bu... method handleStatusKeep (line 331) | func (m *ClientWorker) handleStatusKeep(meta *FrameMetadata, reader *b... method handleStatusEnd (line 363) | func (m *ClientWorker) handleStatusEnd(meta *FrameMetadata, reader *bu... method fetchOutput (line 377) | func (m *ClientWorker) fetchOutput() { function NewClientWorker (line 194) | func NewClientWorker(stream transport.Link, s ClientStrategy) (*ClientWo... function writeFirstPayload (line 241) | func writeFirstPayload(reader buf.Reader, writer *Writer) error { function fetchInput (line 254) | func fetchInput(ctx context.Context, s *Session, output buf.Writer) { FILE: common/mux/client_test.go function TestIncrementalPickerFailure (line 20) | func TestIncrementalPickerFailure(t *testing.T) { function TestClientWorkerEOF (line 37) | func TestClientWorkerEOF(t *testing.T) { function TestClientWorkerClose (line 52) | func TestClientWorkerClose(t *testing.T) { FILE: common/mux/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/mux/frame.go type SessionStatus (line 15) | type SessionStatus constant SessionStatusNew (line 18) | SessionStatusNew SessionStatus = 0x01 constant SessionStatusKeep (line 19) | SessionStatusKeep SessionStatus = 0x02 constant SessionStatusEnd (line 20) | SessionStatusEnd SessionStatus = 0x03 constant SessionStatusKeepAlive (line 21) | SessionStatusKeepAlive SessionStatus = 0x04 constant OptionData (line 25) | OptionData bitmask.Byte = 0x01 constant OptionError (line 26) | OptionError bitmask.Byte = 0x02 type TargetNetwork (line 29) | type TargetNetwork constant TargetNetworkTCP (line 32) | TargetNetworkTCP TargetNetwork = 0x01 constant TargetNetworkUDP (line 33) | TargetNetworkUDP TargetNetwork = 0x02 type FrameMetadata (line 56) | type FrameMetadata struct method WriteTo (line 63) | func (f FrameMetadata) WriteTo(b *buf.Buffer) error { method Unmarshal (line 92) | func (f *FrameMetadata) Unmarshal(reader io.Reader) error { method UnmarshalFromBuffer (line 112) | func (f *FrameMetadata) UnmarshalFromBuffer(b *buf.Buffer) error { FILE: common/mux/frame_test.go function BenchmarkFrameWrite (line 12) | func BenchmarkFrameWrite(b *testing.B) { FILE: common/mux/mux_test.go function readAll (line 17) | func readAll(reader buf.Reader) (buf.MultiBuffer, error) { function TestReaderWriter (line 32) | func TestReaderWriter(t *testing.T) { FILE: common/mux/reader.go type PacketReader (line 12) | type PacketReader struct method ReadMultiBuffer (line 26) | func (r *PacketReader) ReadMultiBuffer() (buf.MultiBuffer, error) { function NewPacketReader (line 18) | func NewPacketReader(reader io.Reader) *PacketReader { function NewStreamReader (line 50) | func NewStreamReader(reader *buf.BufferedReader) buf.Reader { FILE: common/mux/server.go type Server (line 20) | type Server struct method Type (line 34) | func (s *Server) Type() interface{} { method Dispatch (line 39) | func (s *Server) Dispatch(ctx context.Context, dest net.Destination) (... method Start (line 60) | func (s *Server) Start() error { method Close (line 65) | func (s *Server) Close() error { function NewServer (line 25) | func NewServer(ctx context.Context) *Server { type ServerWorker (line 69) | type ServerWorker struct method ActiveConnections (line 96) | func (w *ServerWorker) ActiveConnections() uint32 { method Closed (line 100) | func (w *ServerWorker) Closed() bool { method handleStatusKeepAlive (line 104) | func (w *ServerWorker) handleStatusKeepAlive(meta *FrameMetadata, read... method handleStatusNew (line 111) | func (w *ServerWorker) handleStatusNew(ctx context.Context, meta *Fram... method handleStatusKeep (line 157) | func (w *ServerWorker) handleStatusKeep(meta *FrameMetadata, reader *b... method handleStatusEnd (line 190) | func (w *ServerWorker) handleStatusEnd(meta *FrameMetadata, reader *bu... method handleFrame (line 204) | func (w *ServerWorker) handleFrame(ctx context.Context, reader *buf.Bu... method run (line 231) | func (w *ServerWorker) run(ctx context.Context) { function NewServerWorker (line 75) | func NewServerWorker(ctx context.Context, d routing.Dispatcher, link *tr... function handle (line 85) | func handle(ctx context.Context, s *Session, output buf.Writer) { FILE: common/mux/session.go type SessionManager (line 11) | type SessionManager struct method Closed (line 25) | func (m *SessionManager) Closed() bool { method Size (line 32) | func (m *SessionManager) Size() int { method Count (line 39) | func (m *SessionManager) Count() int { method Allocate (line 46) | func (m *SessionManager) Allocate() *Session { method Add (line 63) | func (m *SessionManager) Add(s *Session) { method Remove (line 75) | func (m *SessionManager) Remove(id uint16) { method Get (line 90) | func (m *SessionManager) Get(id uint16) (*Session, bool) { method CloseIfNoSession (line 102) | func (m *SessionManager) CloseIfNoSession() bool { method Close (line 118) | func (m *SessionManager) Close() error { function NewSessionManager (line 18) | func NewSessionManager() *SessionManager { type Session (line 138) | type Session struct method Close (line 147) | func (s *Session) Close() error { method NewReader (line 155) | func (s *Session) NewReader(reader *buf.BufferedReader) buf.Reader { FILE: common/mux/session_test.go function TestSessionManagerAdd (line 9) | func TestSessionManagerAdd(t *testing.T) { function TestSessionManagerClose (line 40) | func TestSessionManagerClose(t *testing.T) { FILE: common/mux/writer.go type Writer (line 12) | type Writer struct method getNextFrameMeta (line 40) | func (w *Writer) getNextFrameMeta() FrameMetadata { method writeMetaOnly (line 56) | func (w *Writer) writeMetaOnly() error { method writeData (line 84) | func (w *Writer) writeData(mb buf.MultiBuffer) error { method WriteMultiBuffer (line 92) | func (w *Writer) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 117) | func (w *Writer) Close() error { function NewWriter (line 21) | func NewWriter(id uint16, dest net.Destination, writer buf.Writer, trans... function NewResponseWriter (line 31) | func NewResponseWriter(id uint16, writer buf.Writer, transferType protoc... function writeMetaWithFrame (line 65) | func writeMetaWithFrame(writer buf.Writer, meta FrameMetadata, data buf.... FILE: common/natTraversal/stun/filteredStunConnection.go type STUNMessageCallback (line 9) | type STUNMessageCallback function NewFilteredConnection (line 11) | func NewFilteredConnection(inner net.PacketConn, callback STUNMessageCal... type FilteredConnection (line 18) | type FilteredConnection struct method ReadFrom (line 23) | func (f *FilteredConnection) ReadFrom(b []byte) (int, net.Addr, error) { FILE: common/natTraversal/stun/natTypeTest.go type NATDependantType (line 17) | type NATDependantType constant Unknown (line 20) | Unknown NATDependantType = iota constant Independent (line 21) | Independent constant EndpointDependent (line 22) | EndpointDependent constant EndpointPortDependent (line 23) | EndpointPortDependent constant EndpointPortDependentPinned (line 24) | EndpointPortDependentPinned type NATYesOrNoUnknownType (line 27) | type NATYesOrNoUnknownType constant NATYesOrNoUnknownType_Unknown (line 30) | NATYesOrNoUnknownType_Unknown NATYesOrNoUnknownType = iota constant NATYesOrNoUnknownType_Yes (line 31) | NATYesOrNoUnknownType_Yes constant NATYesOrNoUnknownType_No (line 32) | NATYesOrNoUnknownType_No type NATTypeTest (line 35) | type NATTypeTest struct method recordTransaction (line 111) | func (t *NATTypeTest) recordTransaction(tc TestConducted) { method doTransactionWithRetry (line 121) | func (t *NATTypeTest) doTransactionWithRetry(conn *StunClientConn, loc... method TestFilterBehaviour (line 184) | func (t *NATTypeTest) TestFilterBehaviour() error { method TestMappingBehaviour (line 265) | func (t *NATTypeTest) TestMappingBehaviour() error { method TestMappingBehaviourWithSecondaryServer (line 352) | func (t *NATTypeTest) TestMappingBehaviourWithSecondaryServer() error { method TestHairpinBehaviour (line 409) | func (t *NATTypeTest) TestHairpinBehaviour() error { method TestAll (line 538) | func (t *NATTypeTest) TestAll() error { method CalcReminderValues (line 552) | func (t *NATTypeTest) CalcReminderValues() error { function NewNATTypeTest (line 65) | func NewNATTypeTest(newStunConn func() (net.PacketConn, error), testServ... type TestConducted (line 75) | type TestConducted struct function changeRequestSetter (line 83) | func changeRequestSetter(changeIP, changePort bool) stun.RawAttribute { function startBackgroundReader (line 99) | func startBackgroundReader(conn *StunClientConn) { FILE: common/natTraversal/stun/processor.go type pendingTransaction (line 14) | type pendingTransaction struct type Processor (line 19) | type Processor struct method HandleStunPacket (line 31) | func (p *Processor) HandleStunPacket(b []byte, addr net.Addr) { method AddPendingTransactionListener (line 51) | func (p *Processor) AddPendingTransactionListener(transactionID [stun.... method CancelTransaction (line 60) | func (p *Processor) CancelTransaction(transactionID [stun.TransactionI... method ExpiredTransaction (line 66) | func (p *Processor) ExpiredTransaction(newerThanThisTimeOrExpire time.... function NewProcessor (line 25) | func NewProcessor() *Processor { type PendingTransactionHandler (line 49) | type PendingTransactionHandler FILE: common/natTraversal/stun/stunClientConn.go function NewStunClientConn (line 14) | func NewStunClientConn(conn net.PacketConn) (*StunClientConn, error) { type StunClientConn (line 26) | type StunClientConn struct method ExecuteSTUNMessage (line 31) | func (conn *StunClientConn) ExecuteSTUNMessage(msg stun.Message, dest ... method ExecuteSTUNMessageAsync (line 54) | func (conn *StunClientConn) ExecuteSTUNMessageAsync(msg stun.Message, ... FILE: common/natTraversal/stun/stuncli/stuncli.go function init (line 69) | func init() { type socks5UDPConn (line 76) | type socks5UDPConn struct method WriteTo (line 81) | func (c *socks5UDPConn) WriteTo(p []byte, addr net.Addr) (int, error) { method ReadFrom (line 96) | func (c *socks5UDPConn) ReadFrom(p []byte) (int, net.Addr, error) { function natDependantTypeString (line 117) | func natDependantTypeString(t stunlib.NATDependantType) string { function natYesOrNoString (line 134) | func natYesOrNoString(t stunlib.NATYesOrNoUnknownType) string { function executeStunTest (line 147) | func executeStunTest(cmd *base.Command, args []string) { FILE: common/net/abstactOutbount/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/net/abstactOutbount/outbound.go function NewOutboundListener (line 15) | func NewOutboundListener() *OutboundListener { type connWithContext (line 22) | type connWithContext struct method GetConnectionContext (line 27) | func (c *connWithContext) GetConnectionContext() context.Context { type OutboundListener (line 32) | type OutboundListener struct method addWithContext (line 37) | func (l *OutboundListener) addWithContext(ctx context.Context, conn ne... method Accept (line 48) | func (l *OutboundListener) Accept() (net.Conn, error) { method Close (line 58) | func (l *OutboundListener) Close() error { method Addr (line 73) | func (l *OutboundListener) Addr() net.Addr { function NewOutbound (line 80) | func NewOutbound(tag string, listener *OutboundListener) *Outbound { type Outbound (line 88) | type Outbound struct method Dispatch (line 96) | func (co *Outbound) Dispatch(ctx context.Context, link *transport.Link) { method Tag (line 114) | func (co *Outbound) Tag() string { method Start (line 119) | func (co *Outbound) Start() error { method Close (line 127) | func (co *Outbound) Close() error { FILE: common/net/address.go type AddressFamily (line 30) | type AddressFamily method IsIPv4 (line 44) | func (af AddressFamily) IsIPv4() bool { method IsIPv6 (line 49) | func (af AddressFamily) IsIPv6() bool { method IsIP (line 54) | func (af AddressFamily) IsIP() bool { method IsDomain (line 59) | func (af AddressFamily) IsDomain() bool { constant AddressFamilyIPv4 (line 34) | AddressFamilyIPv4 = AddressFamily(0) constant AddressFamilyIPv6 (line 37) | AddressFamilyIPv6 = AddressFamily(1) constant AddressFamilyDomain (line 40) | AddressFamilyDomain = AddressFamily(2) type Address (line 65) | type Address interface function isAlphaNum (line 72) | func isAlphaNum(c byte) bool { function ParseAddress (line 78) | func ParseAddress(addr string) Address { function IPAddress (line 100) | func IPAddress(ip []byte) Address { function DomainAddress (line 123) | func DomainAddress(domain string) Address { type ipv4Address (line 127) | type ipv4Address method IP (line 129) | func (a ipv4Address) IP() net.IP { method Domain (line 133) | func (ipv4Address) Domain() string { method Family (line 137) | func (ipv4Address) Family() AddressFamily { method String (line 141) | func (a ipv4Address) String() string { type ipv6Address (line 145) | type ipv6Address method IP (line 147) | func (a ipv6Address) IP() net.IP { method Domain (line 151) | func (ipv6Address) Domain() string { method Family (line 155) | func (ipv6Address) Family() AddressFamily { method String (line 159) | func (a ipv6Address) String() string { type domainAddress (line 163) | type domainAddress method IP (line 165) | func (domainAddress) IP() net.IP { method Domain (line 169) | func (a domainAddress) Domain() string { method Family (line 173) | func (domainAddress) Family() AddressFamily { method String (line 177) | func (a domainAddress) String() string { method AsAddress (line 182) | func (d *IPOrDomain) AsAddress() Address { function NewIPOrDomain (line 196) | func NewIPOrDomain(addr Address) *IPOrDomain { method UnmarshalJSONPB (line 215) | func (d *IPOrDomain) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarshaler, by... method MarshalJSONPB (line 225) | func (d *IPOrDomain) MarshalJSONPB(marshaler *jsonpb.Marshaler) ([]byte,... FILE: common/net/address.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type IPOrDomain (line 20) | type IPOrDomain struct method Reset (line 31) | func (x *IPOrDomain) Reset() { method String (line 38) | func (x *IPOrDomain) String() string { method ProtoMessage (line 42) | func (*IPOrDomain) ProtoMessage() {} method ProtoReflect (line 44) | func (x *IPOrDomain) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*IPOrDomain) Descriptor() ([]byte, []int) { method GetAddress (line 61) | func (x *IPOrDomain) GetAddress() isIPOrDomain_Address { method GetIp (line 68) | func (x *IPOrDomain) GetIp() []byte { method GetDomain (line 77) | func (x *IPOrDomain) GetDomain() string { type isIPOrDomain_Address (line 86) | type isIPOrDomain_Address interface type IPOrDomain_Ip (line 90) | type IPOrDomain_Ip struct method isIPOrDomain_Address (line 100) | func (*IPOrDomain_Ip) isIPOrDomain_Address() {} type IPOrDomain_Domain (line 95) | type IPOrDomain_Domain struct method isIPOrDomain_Address (line 102) | func (*IPOrDomain_Domain) isIPOrDomain_Address() {} constant file_common_net_address_proto_rawDesc (line 106) | file_common_net_address_proto_rawDesc = "" + function file_common_net_address_proto_rawDescGZIP (line 121) | func file_common_net_address_proto_rawDescGZIP() []byte { function init (line 140) | func init() { file_common_net_address_proto_init() } function file_common_net_address_proto_init (line 141) | func file_common_net_address_proto_init() { FILE: common/net/address_test.go function TestAddressProperty (line 12) | func TestAddressProperty(t *testing.T) { function TestInvalidAddressConvertion (line 146) | func TestInvalidAddressConvertion(t *testing.T) { function BenchmarkParseAddressIPv4 (line 169) | func BenchmarkParseAddressIPv4(b *testing.B) { function BenchmarkParseAddressIPv6 (line 178) | func BenchmarkParseAddressIPv6(b *testing.B) { function BenchmarkParseAddressDomain (line 187) | func BenchmarkParseAddressDomain(b *testing.B) { FILE: common/net/connection.go type ConnectionOption (line 14) | type ConnectionOption function ConnectionLocalAddr (line 16) | func ConnectionLocalAddr(a net.Addr) ConnectionOption { function ConnectionRemoteAddr (line 22) | func ConnectionRemoteAddr(a net.Addr) ConnectionOption { function ConnectionInput (line 28) | func ConnectionInput(writer io.Writer) ConnectionOption { function ConnectionInputMulti (line 34) | func ConnectionInputMulti(writer buf.Writer) ConnectionOption { function ConnectionOutput (line 40) | func ConnectionOutput(reader io.Reader) ConnectionOption { function ConnectionOutputMulti (line 46) | func ConnectionOutputMulti(reader buf.Reader) ConnectionOption { function ConnectionOutputMultiUDP (line 52) | func ConnectionOutputMultiUDP(reader buf.Reader) ConnectionOption { function ConnectionOnClose (line 61) | func ConnectionOnClose(n io.Closer) ConnectionOption { function NewConnection (line 67) | func NewConnection(opts ...ConnectionOption) net.Conn { type connection (line 87) | type connection struct method Read (line 96) | func (c *connection) Read(b []byte) (int, error) { method ReadMultiBuffer (line 101) | func (c *connection) ReadMultiBuffer() (buf.MultiBuffer, error) { method Write (line 106) | func (c *connection) Write(b []byte) (int, error) { method WriteMultiBuffer (line 121) | func (c *connection) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 131) | func (c *connection) Close() error { method LocalAddr (line 143) | func (c *connection) LocalAddr() net.Addr { method RemoteAddr (line 148) | func (c *connection) RemoteAddr() net.Addr { method SetDeadline (line 153) | func (c *connection) SetDeadline(t time.Time) error { method SetReadDeadline (line 158) | func (c *connection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 163) | func (c *connection) SetWriteDeadline(t time.Time) error { FILE: common/net/destination.go type Destination (line 9) | type Destination struct method NetAddr (line 92) | func (d Destination) NetAddr() string { method String (line 103) | func (d Destination) String() string { method IsValid (line 117) | func (d Destination) IsValid() bool { function DestinationFromAddr (line 16) | func DestinationFromAddr(addr net.Addr) Destination { function ParseDestination (line 30) | func ParseDestination(dest string) (Destination, error) { function TCPDestination (line 66) | func TCPDestination(address Address, port Port) Destination { function UDPDestination (line 75) | func UDPDestination(address Address, port Port) Destination { function UnixDestination (line 84) | func UnixDestination(address Address) Destination { method AsDestination (line 122) | func (p *Endpoint) AsDestination() Destination { FILE: common/net/destination.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Endpoint (line 19) | type Endpoint struct method Reset (line 28) | func (x *Endpoint) Reset() { method String (line 35) | func (x *Endpoint) String() string { method ProtoMessage (line 39) | func (*Endpoint) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Endpoint) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Endpoint) Descriptor() ([]byte, []int) { method GetNetwork (line 58) | func (x *Endpoint) GetNetwork() Network { method GetAddress (line 65) | func (x *Endpoint) GetAddress() *IPOrDomain { method GetPort (line 72) | func (x *Endpoint) GetPort() uint32 { constant file_common_net_destination_proto_rawDesc (line 81) | file_common_net_destination_proto_rawDesc = "" + function file_common_net_destination_proto_rawDescGZIP (line 95) | func file_common_net_destination_proto_rawDescGZIP() []byte { function init (line 118) | func init() { file_common_net_destination_proto_init() } function file_common_net_destination_proto_init (line 119) | func file_common_net_destination_proto_init() { FILE: common/net/destination_test.go function TestDestinationProperty (line 11) | func TestDestinationProperty(t *testing.T) { function TestDestinationParse (line 52) | func TestDestinationParse(t *testing.T) { FILE: common/net/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/net/network.go method SystemString (line 10) | func (n Network) SystemString() string { method UnmarshalJSONPB (line 23) | func (nl *NetworkList) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarshaler, ... method MarshalJSONPB (line 40) | func (nl *NetworkList) MarshalJSONPB(marshaler *jsonpb.Marshaler) ([]byt... function HasNetwork (line 51) | func HasNetwork(list []Network, network Network) bool { function ParseNetwork (line 60) | func ParseNetwork(net string) Network { function ParseNetworkStringList (line 73) | func ParseNetworkStringList(strList []string) []Network { FILE: common/net/network.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Network (line 18) | type Network method Enum (line 47) | func (x Network) Enum() *Network { method String (line 53) | func (x Network) String() string { method Descriptor (line 57) | func (Network) Descriptor() protoreflect.EnumDescriptor { method Type (line 61) | func (Network) Type() protoreflect.EnumType { method Number (line 65) | func (x Network) Number() protoreflect.EnumNumber { method EnumDescriptor (line 70) | func (Network) EnumDescriptor() ([]byte, []int) { constant Network_Unknown (line 21) | Network_Unknown Network = 0 constant Network_RawTCP (line 23) | Network_RawTCP Network = 1 constant Network_TCP (line 24) | Network_TCP Network = 2 constant Network_UDP (line 25) | Network_UDP Network = 3 constant Network_UNIX (line 26) | Network_UNIX Network = 4 type NetworkList (line 75) | type NetworkList struct method Reset (line 82) | func (x *NetworkList) Reset() { method String (line 89) | func (x *NetworkList) String() string { method ProtoMessage (line 93) | func (*NetworkList) ProtoMessage() {} method ProtoReflect (line 95) | func (x *NetworkList) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*NetworkList) Descriptor() ([]byte, []int) { method GetNetwork (line 112) | func (x *NetworkList) GetNetwork() []Network { constant file_common_net_network_proto_rawDesc (line 121) | file_common_net_network_proto_rawDesc = "" + function file_common_net_network_proto_rawDescGZIP (line 139) | func file_common_net_network_proto_rawDescGZIP() []byte { function init (line 161) | func init() { file_common_net_network_proto_init() } function file_common_net_network_proto_init (line 162) | func file_common_net_network_proto_init() { FILE: common/net/packetaddr/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type PacketAddrType (line 18) | type PacketAddrType method Enum (line 37) | func (x PacketAddrType) Enum() *PacketAddrType { method String (line 43) | func (x PacketAddrType) String() string { method Descriptor (line 47) | func (PacketAddrType) Descriptor() protoreflect.EnumDescriptor { method Type (line 51) | func (PacketAddrType) Type() protoreflect.EnumType { method Number (line 55) | func (x PacketAddrType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 60) | func (PacketAddrType) EnumDescriptor() ([]byte, []int) { constant PacketAddrType_None (line 21) | PacketAddrType_None PacketAddrType = 0 constant PacketAddrType_Packet (line 22) | PacketAddrType_Packet PacketAddrType = 1 constant file_common_net_packetaddr_config_proto_rawDesc (line 66) | file_common_net_packetaddr_config_proto_rawDesc = "" + function file_common_net_packetaddr_config_proto_rawDescGZIP (line 80) | func file_common_net_packetaddr_config_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_common_net_packetaddr_config_proto_init() } function file_common_net_packetaddr_config_proto_init (line 100) | func file_common_net_packetaddr_config_proto_init() { FILE: common/net/packetaddr/connection_adaptor.go function ToPacketAddrConn (line 22) | func ToPacketAddrConn(link *transport.Link, dest net.Destination) (net.P... function CreatePacketAddrConn (line 38) | func CreatePacketAddrConn(ctx context.Context, dispatcher routing.Dispat... type packetConnectionAdaptor (line 58) | type packetConnectionAdaptor struct method ReadFrom (line 64) | func (c *packetConnectionAdaptor) ReadFrom(p []byte) (n int, addr gone... method WriteTo (line 81) | func (c *packetConnectionAdaptor) WriteTo(p []byte, addr gonet.Addr) (... method Close (line 101) | func (c *packetConnectionAdaptor) Close() error { method LocalAddr (line 108) | func (c packetConnectionAdaptor) LocalAddr() gonet.Addr { method SetDeadline (line 112) | func (c packetConnectionAdaptor) SetDeadline(t time.Time) error { method SetReadDeadline (line 116) | func (c packetConnectionAdaptor) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 120) | func (c packetConnectionAdaptor) SetWriteDeadline(t time.Time) error { function ToPacketAddrConnWrapper (line 124) | func ToPacketAddrConnWrapper(conn net.PacketConn, isStream bool) FusedCo... type packetConnWrapper (line 128) | type packetConnWrapper struct method RemoteAddr (line 132) | func (pc *packetConnWrapper) RemoteAddr() gonet.Addr { method Read (line 141) | func (pc *packetConnWrapper) Read(p []byte) (n int, err error) { method Write (line 158) | func (pc *packetConnWrapper) Write(p []byte) (n int, err error) { method Close (line 171) | func (pc *packetConnWrapper) Close() error { type FusedConnection (line 136) | type FusedConnection interface function GetDestinationSubsetOf (line 175) | func GetDestinationSubsetOf(dest net.Destination) (bool, error) { FILE: common/net/packetaddr/packetaddr.go function AttachAddressToPacket (line 21) | func AttachAddressToPacket(data *buf.Buffer, address gonet.Addr) (*buf.B... function ExtractAddressFromPacket (line 43) | func ExtractAddressFromPacket(data *buf.Buffer) (*buf.Buffer, gonet.Addr... FILE: common/net/packetaddr/packetaddr_test.go function TestPacketEncodingIPv4 (line 12) | func TestPacketEncodingIPv4(t *testing.T) { function TestPacketEncodingIPv6 (line 28) | func TestPacketEncodingIPv6(t *testing.T) { FILE: common/net/packetaddr/special_address.go constant seqPacketMagicAddress (line 3) | seqPacketMagicAddress = "sp.packet-addr.v2fly.arpa" FILE: common/net/port.go type Port (line 9) | type Port method Value (line 37) | func (p Port) Value() uint16 { method String (line 42) | func (p Port) String() string { function PortFromBytes (line 13) | func PortFromBytes(port []byte) Port { function PortFromInt (line 19) | func PortFromInt(val uint32) (Port, error) { function PortFromString (line 28) | func PortFromString(s string) (Port, error) { method FromPort (line 47) | func (p *PortRange) FromPort() Port { method ToPort (line 52) | func (p *PortRange) ToPort() Port { method Contains (line 57) | func (p *PortRange) Contains(port Port) bool { function SinglePortRange (line 62) | func SinglePortRange(p Port) *PortRange { type MemoryPortRange (line 69) | type MemoryPortRange struct method Contains (line 74) | func (r MemoryPortRange) Contains(port Port) bool { type MemoryPortList (line 78) | type MemoryPortList method Contains (line 88) | func (mpl MemoryPortList) Contains(port Port) bool { function PortListFromProto (line 80) | func PortListFromProto(l *PortList) MemoryPortList { FILE: common/net/port.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type PortRange (line 19) | type PortRange struct method Reset (line 29) | func (x *PortRange) Reset() { method String (line 36) | func (x *PortRange) String() string { method ProtoMessage (line 40) | func (*PortRange) ProtoMessage() {} method ProtoReflect (line 42) | func (x *PortRange) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*PortRange) Descriptor() ([]byte, []int) { method GetFrom (line 59) | func (x *PortRange) GetFrom() uint32 { method GetTo (line 66) | func (x *PortRange) GetTo() uint32 { type PortList (line 74) | type PortList struct method Reset (line 81) | func (x *PortList) Reset() { method String (line 88) | func (x *PortList) String() string { method ProtoMessage (line 92) | func (*PortList) ProtoMessage() {} method ProtoReflect (line 94) | func (x *PortList) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*PortList) Descriptor() ([]byte, []int) { method GetRange (line 111) | func (x *PortList) GetRange() []*PortRange { constant file_common_net_port_proto_rawDesc (line 120) | file_common_net_port_proto_rawDesc = "" + function file_common_net_port_proto_rawDescGZIP (line 135) | func file_common_net_port_proto_rawDescGZIP() []byte { function init (line 156) | func init() { file_common_net_port_proto_init() } function file_common_net_port_proto_init (line 157) | func file_common_net_port_proto_init() { FILE: common/net/port_test.go function TestPortRangeContains (line 9) | func TestPortRangeContains(t *testing.T) { FILE: common/net/system.go constant IPv4len (line 6) | IPv4len = net.IPv4len constant IPv6len (line 7) | IPv6len = net.IPv6len FILE: common/packetswitch/gvisorstack/adapter.go function NewNetworkLayerDeviceToGvisorLinkEndpointAdaptor (line 18) | func NewNetworkLayerDeviceToGvisorLinkEndpointAdaptor(_ context.Context,... type NetworkLayerDeviceToGvisorLinkEndpointAdaptor (line 27) | type NetworkLayerDeviceToGvisorLinkEndpointAdaptor struct method MTU (line 39) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) MTU() uint32 { method SetMTU (line 45) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) SetMTU(mtu uin... method MaxHeaderLength (line 51) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) MaxHeaderLengt... method LinkAddress (line 56) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) LinkAddress() ... method SetLinkAddress (line 61) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) SetLinkAddress... method Capabilities (line 65) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) Capabilities()... method Attach (line 114) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) Attach(dispatc... method IsAttached (line 135) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) IsAttached() b... method Wait (line 141) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) Wait() { method ARPHardwareType (line 154) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) ARPHardwareTyp... method AddHeader (line 158) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) AddHeader(_ *s... method ParseHeader (line 162) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) ParseHeader(_ ... method Close (line 167) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) Close() { method SetOnCloseAction (line 193) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) SetOnCloseActi... method WritePackets (line 199) | func (n *NetworkLayerDeviceToGvisorLinkEndpointAdaptor) WritePackets(l... type networkLayerWriter (line 70) | type networkLayerWriter struct method Write (line 74) | func (w *networkLayerWriter) Write(packet []byte) (int, error) { FILE: common/packetswitch/gvisorstack/adapter_test.go type fakeDevice (line 21) | type fakeDevice struct method OnAttach (line 29) | func (f *fakeDevice) OnAttach(w packetswitch.NetworkLayerPacketWriter)... method Write (line 39) | func (f *fakeDevice) Write(packet []byte) (int, error) { method Close (line 52) | func (f *fakeDevice) Close() error { method getWriter (line 59) | func (f *fakeDevice) getWriter() packetswitch.NetworkLayerPacketWriter { method lastWrite (line 65) | func (f *fakeDevice) lastWrite() []byte { type fakeDispatcher (line 75) | type fakeDispatcher struct method DeliverNetworkPacket (line 81) | func (d *fakeDispatcher) DeliverNetworkPacket(protocol tcpip.NetworkPr... method DeliverLinkPacket (line 103) | func (d *fakeDispatcher) DeliverLinkPacket(protocol tcpip.NetworkProto... method last (line 108) | func (d *fakeDispatcher) last() (tcpip.NetworkProtocolNumber, []byte) { function TestAttachAndInboundIPv4IPv6 (line 117) | func TestAttachAndInboundIPv4IPv6(t *testing.T) { function TestInboundNonIPIsDropped (line 164) | func TestInboundNonIPIsDropped(t *testing.T) { function makePacketBufferPayload (line 186) | func makePacketBufferPayload(b []byte) *stack.PacketBuffer { function TestOutboundWritePacketsOk (line 194) | func TestOutboundWritePacketsOk(t *testing.T) { function TestWritePacketsMTUExceeded (line 218) | func TestWritePacketsMTUExceeded(t *testing.T) { function TestCloseAndOnCloseActionAndWait (line 240) | func TestCloseAndOnCloseActionAndWait(t *testing.T) { function TestAttachOnAttachFailLeavesNotAttached (line 275) | func TestAttachOnAttachFailLeavesNotAttached(t *testing.T) { function TestWritePacketsWhenNoDevice (line 289) | func TestWritePacketsWhenNoDevice(t *testing.T) { function TestSetMTUAndCapsAndHeaders (line 308) | func TestSetMTUAndCapsAndHeaders(t *testing.T) { type errDevice (line 340) | type errDevice struct method OnAttach (line 349) | func (e *errDevice) OnAttach(w packetswitch.NetworkLayerPacketWriter) ... method Write (line 356) | func (e *errDevice) Write(packet []byte) (int, error) { method Close (line 372) | func (e *errDevice) Close() error { function TestWritePacketsPartialOnError (line 379) | func TestWritePacketsPartialOnError(t *testing.T) { function TestMultiplePacketsWrite (line 402) | func TestMultiplePacketsWrite(t *testing.T) { function TestConcurrentWritePacketsAndClose (line 428) | func TestConcurrentWritePacketsAndClose(t *testing.T) { FILE: common/packetswitch/gvisorstack/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type TCPListener (line 21) | type TCPListener struct method Reset (line 30) | func (x *TCPListener) Reset() { method String (line 37) | func (x *TCPListener) String() string { method ProtoMessage (line 41) | func (*TCPListener) ProtoMessage() {} method ProtoReflect (line 43) | func (x *TCPListener) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*TCPListener) Descriptor() ([]byte, []int) { method GetPort (line 60) | func (x *TCPListener) GetPort() uint32 { method GetAddress (line 67) | func (x *TCPListener) GetAddress() *routercommon.CIDR { method GetTag (line 74) | func (x *TCPListener) GetTag() string { type Config (line 81) | type Config struct method Reset (line 97) | func (x *Config) Reset() { method String (line 104) | func (x *Config) String() string { method ProtoMessage (line 108) | func (*Config) ProtoMessage() {} method ProtoReflect (line 110) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*Config) Descriptor() ([]byte, []int) { method GetMtu (line 127) | func (x *Config) GetMtu() uint32 { method GetUserLevel (line 134) | func (x *Config) GetUserLevel() uint32 { method GetIps (line 141) | func (x *Config) GetIps() []*routercommon.CIDR { method GetRoutes (line 148) | func (x *Config) GetRoutes() []*routercommon.CIDR { method GetEnablePromiscuousMode (line 155) | func (x *Config) GetEnablePromiscuousMode() bool { method GetEnableSpoofing (line 162) | func (x *Config) GetEnableSpoofing() bool { method GetSocketSettings (line 169) | func (x *Config) GetSocketSettings() *internet.SocketConfig { method GetPreferIpv6ForUdp (line 176) | func (x *Config) GetPreferIpv6ForUdp() bool { method GetDualStackUdp (line 183) | func (x *Config) GetDualStackUdp() bool { method GetTcpListener (line 190) | func (x *Config) GetTcpListener() []*TCPListener { constant file_common_packetswitch_gvisorstack_config_proto_rawDesc (line 199) | file_common_packetswitch_gvisorstack_config_proto_rawDesc = "" + function file_common_packetswitch_gvisorstack_config_proto_rawDescGZIP (line 226) | func file_common_packetswitch_gvisorstack_config_proto_rawDescGZIP() []b... function init (line 253) | func init() { file_common_packetswitch_gvisorstack_config_proto_init() } function file_common_packetswitch_gvisorstack_config_proto_init (line 254) | func file_common_packetswitch_gvisorstack_config_proto_init() { FILE: common/packetswitch/gvisorstack/dialer.go method DialTCP (line 18) | func (w *WrappedStack) DialTCP(ctx context.Context, remoteAddress net.De... method ListenUDP (line 66) | func (w *WrappedStack) ListenUDP(ctx context.Context, localAddress net.D... FILE: common/packetswitch/gvisorstack/stack.go type WrappedStack (line 21) | type WrappedStack struct method CreateStackFromNetworkLayerDevice (line 36) | func (w *WrappedStack) CreateStackFromNetworkLayerDevice(packetSwitchD... method createStack (line 71) | func (w *WrappedStack) createStack(linkedEndpoint stack.LinkEndpoint) ... method Close (line 165) | func (w *WrappedStack) Close() error { function NewStack (line 29) | func NewStack(ctx context.Context, config *Config) (*WrappedStack, error) { FILE: common/packetswitch/gvisorstack/tcp_listener.go method ApplyListeners (line 16) | func (w *WrappedStack) ApplyListeners() error { method acceptLoop (line 44) | func (w *WrappedStack) acceptLoop(listener *gonet.TCPListener, outboundT... method handleTCPConn (line 54) | func (w *WrappedStack) handleTCPConn(conn net.Conn, outboundTag string) { method CreateStackListener (line 82) | func (w *WrappedStack) CreateStackListener(addr tcpip.FullAddress, netPr... FILE: common/packetswitch/interconnect/networkLayer_cable.go function NewNetworkLayerCable (line 11) | func NewNetworkLayerCable(ctx context.Context) (*NetworkLayerCable, erro... type NetworkLayerCable (line 18) | type NetworkLayerCable struct method GetLSideDevice (line 31) | func (c *NetworkLayerCable) GetLSideDevice() *NetworkLayerCableDevice { method GetRSideDevice (line 38) | func (c *NetworkLayerCable) GetRSideDevice() *NetworkLayerCableDevice { type NetworkLayerCableDevice (line 26) | type NetworkLayerCableDevice struct method OnAttach (line 46) | func (d *NetworkLayerCableDevice) OnAttach(writer packetswitch.Network... method Write (line 67) | func (d *NetworkLayerCableDevice) Write(packet []byte) (int, error) { method Close (line 83) | func (d *NetworkLayerCableDevice) Close() error { FILE: common/packetswitch/interconnect/networkLayer_cable_test.go type testWriter (line 13) | type testWriter struct method Write (line 24) | func (w *testWriter) Write(p []byte) (int, error) { method ReceivedAll (line 38) | func (w *testWriter) ReceivedAll() [][]byte { function newTestWriter (line 19) | func newTestWriter(bufSize int) *testWriter { function TestCable_HappyPath (line 46) | func TestCable_HappyPath(t *testing.T) { function TestCable_NoPeer (line 100) | func TestCable_NoPeer(t *testing.T) { function TestCable_DoubleAttachAndClose (line 112) | func TestCable_DoubleAttachAndClose(t *testing.T) { function TestCable_ConcurrentWrites (line 139) | func TestCable_ConcurrentWrites(t *testing.T) { FILE: common/packetswitch/packetswitch.go type NetworkLayerDevice (line 5) | type NetworkLayerDevice interface type NetworkLayerPacketWriter (line 11) | type NetworkLayerPacketWriter interface type NetworkLayerPacketReader (line 15) | type NetworkLayerPacketReader interface FILE: common/peer/latency.go type Latency (line 7) | type Latency interface type HasLatency (line 11) | type HasLatency interface type AverageLatency (line 16) | type AverageLatency struct method Update (line 21) | func (al *AverageLatency) Update(newValue uint64) { method Value (line 28) | func (al *AverageLatency) Value() uint64 { FILE: common/platform/ctlcmd/attr_other.go function getSysProcAttr (line 8) | func getSysProcAttr() *syscall.SysProcAttr { FILE: common/platform/filesystem/file.go function ReadFile (line 33) | func ReadFile(path string) ([]byte, error) { function WriteFile (line 43) | func WriteFile(path string, payload []byte) error { function ReadAsset (line 53) | func ReadAsset(file string) ([]byte, error) { function CopyFile (line 57) | func CopyFile(dst string, src string, perm os.FileMode) error { FILE: common/platform/filesystem/fsifce/ifce.go type FileSeekerFunc (line 8) | type FileSeekerFunc type FileReaderFunc (line 10) | type FileReaderFunc type FileWriterFunc (line 12) | type FileWriterFunc type FileReadDirFunc (line 14) | type FileReadDirFunc type FileRemoveFunc (line 16) | type FileRemoveFunc FILE: common/platform/others.go function LineSeparator (line 12) | func LineSeparator() string { function GetAssetLocation (line 17) | func GetAssetLocation(file string) string { FILE: common/platform/platform.go type EnvFlag (line 10) | type EnvFlag struct method GetValue (line 22) | func (f EnvFlag) GetValue(defaultValue func() string) string { method GetValueAsInt (line 35) | func (f EnvFlag) GetValueAsInt(defaultValue int) int { function NewEnvFlag (line 15) | func NewEnvFlag(name string) EnvFlag { function NormalizeEnvName (line 51) | func NormalizeEnvName(name string) string { function getExecutableDir (line 55) | func getExecutableDir() string { function getExecutableSubDir (line 63) | func getExecutableSubDir(dir string) func() string { function GetPluginDirectory (line 69) | func GetPluginDirectory() string { function GetConfigurationPath (line 75) | func GetConfigurationPath() string { function GetConfDirPath (line 82) | func GetConfDirPath() string { FILE: common/platform/platform_test.go function TestNormalizeEnvName (line 15) | func TestNormalizeEnvName(t *testing.T) { function TestEnvFlag (line 40) | func TestEnvFlag(t *testing.T) { function TestWrongErrorCheckOnOSStat (line 50) | func TestWrongErrorCheckOnOSStat(t *testing.T) { function TestGetAssetLocation (line 75) | func TestGetAssetLocation(t *testing.T) { FILE: common/platform/securedload/embedded.go constant allowedHashes (line 3) | allowedHashes = `SHA256 (!#project==v2fly) = fffffffffffffffffffffffffff... FILE: common/platform/securedload/embeddedhash.go type EmbeddedHashProtectedLoader (line 17) | type EmbeddedHashProtectedLoader struct method VerifyAndLoad (line 21) | func (e EmbeddedHashProtectedLoader) VerifyAndLoad(filename string) ([... function NewEmbeddedHashProtectedLoader (line 39) | func NewEmbeddedHashProtectedLoader() *EmbeddedHashProtectedLoader { function init (line 48) | func init() { FILE: common/platform/securedload/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/platform/securedload/file.go function GetAssetSecured (line 3) | func GetAssetSecured(name string) ([]byte, error) { FILE: common/platform/securedload/verify.go type ProtectedLoader (line 3) | type ProtectedLoader interface function RegisterProtectedLoader (line 9) | func RegisterProtectedLoader(name string, sv ProtectedLoader) { FILE: common/platform/windows.go function LineSeparator (line 8) | func LineSeparator() string { function GetAssetLocation (line 13) | func GetAssetLocation(file string) string { FILE: common/protocol/account.go type Account (line 4) | type Account interface type AsAccount (line 9) | type AsAccount interface FILE: common/protocol/address.go type AddressOption (line 12) | type AddressOption function PortThenAddress (line 14) | func PortThenAddress() AddressOption { function AddressFamilyByte (line 20) | func AddressFamilyByte(b byte, f net.AddressFamily) AddressOption { type AddressTypeParser (line 30) | type AddressTypeParser function WithAddressTypeParser (line 32) | func WithAddressTypeParser(atp AddressTypeParser) AddressOption { type AddressSerializer (line 38) | type AddressSerializer interface constant afInvalid (line 43) | afInvalid = 255 type option (line 45) | type option struct function NewAddressParser (line 53) | func NewAddressParser(options ...AddressOption) AddressSerializer { type portFirstAddressParser (line 81) | type portFirstAddressParser struct method ReadAddressPort (line 85) | func (p portFirstAddressParser) ReadAddressPort(buffer *buf.Buffer, in... method WriteAddressPort (line 103) | func (p portFirstAddressParser) WriteAddressPort(writer io.Writer, add... type portLastAddressParser (line 111) | type portLastAddressParser struct method ReadAddressPort (line 115) | func (p portLastAddressParser) ReadAddressPort(buffer *buf.Buffer, inp... method WriteAddressPort (line 134) | func (p portLastAddressParser) WriteAddressPort(writer io.Writer, addr... function readPort (line 142) | func readPort(b *buf.Buffer, reader io.Reader) (net.Port, error) { function writePort (line 149) | func writePort(writer io.Writer, port net.Port) error { function maybeIPPrefix (line 153) | func maybeIPPrefix(b byte) bool { function isValidDomain (line 157) | func isValidDomain(d string) bool { type addressParser (line 166) | type addressParser struct method readAddress (line 172) | func (p *addressParser) readAddress(b *buf.Buffer, reader io.Reader) (... method writeAddress (line 226) | func (p *addressParser) writeAddress(writer io.Writer, address net.Add... FILE: common/protocol/address_test.go function TestAddressReading (line 15) | func TestAddressReading(t *testing.T) { function TestAddressWriting (line 111) | func TestAddressWriting(t *testing.T) { function BenchmarkAddressReadingIPv4 (line 145) | func BenchmarkAddressReadingIPv4(b *testing.B) { function BenchmarkAddressReadingIPv6 (line 166) | func BenchmarkAddressReadingIPv6(b *testing.B) { function BenchmarkAddressReadingDomain (line 187) | func BenchmarkAddressReadingDomain(b *testing.B) { function BenchmarkAddressWritingIPv4 (line 208) | func BenchmarkAddressWritingIPv4(b *testing.B) { function BenchmarkAddressWritingIPv6 (line 220) | func BenchmarkAddressWritingIPv6(b *testing.B) { function BenchmarkAddressWritingDomain (line 232) | func BenchmarkAddressWritingDomain(b *testing.B) { FILE: common/protocol/bittorrent/bittorrent.go type SniffHeader (line 13) | type SniffHeader struct method Protocol (line 15) | func (h *SniffHeader) Protocol() string { method Domain (line 19) | func (h *SniffHeader) Domain() string { function SniffBittorrent (line 25) | func SniffBittorrent(b []byte) (*SniffHeader, error) { function SniffUTP (line 37) | func SniffUTP(b []byte) (*SniffHeader, error) { FILE: common/protocol/context.go type key (line 7) | type key constant requestKey (line 10) | requestKey key = iota function ContextWithRequestHeader (line 13) | func ContextWithRequestHeader(ctx context.Context, request *RequestHeade... function RequestHeaderFromContext (line 17) | func RequestHeaderFromContext(ctx context.Context) *RequestHeader { FILE: common/protocol/dns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/protocol/dns/io.go function PackMessage (line 14) | func PackMessage(msg *dnsmessage.Message) (*buf.Buffer, error) { type MessageReader (line 26) | type MessageReader interface type UDPReader (line 30) | type UDPReader struct method readCache (line 37) | func (r *UDPReader) readCache() *buf.Buffer { method refill (line 46) | func (r *UDPReader) refill() error { method ReadMessage (line 58) | func (r *UDPReader) ReadMessage() (*buf.Buffer, error) { method Close (line 71) | func (r *UDPReader) Close() error { type TCPReader (line 82) | type TCPReader struct method ReadMessage (line 94) | func (r *TCPReader) ReadMessage() (*buf.Buffer, error) { method Interrupt (line 109) | func (r *TCPReader) Interrupt() { method Close (line 113) | func (r *TCPReader) Close() error { function NewTCPReader (line 86) | func NewTCPReader(reader buf.Reader) *TCPReader { type MessageWriter (line 117) | type MessageWriter interface type UDPWriter (line 121) | type UDPWriter struct method WriteMessage (line 125) | func (w *UDPWriter) WriteMessage(b *buf.Buffer) error { type TCPWriter (line 129) | type TCPWriter struct method WriteMessage (line 133) | func (w *TCPWriter) WriteMessage(b *buf.Buffer) error { FILE: common/protocol/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/protocol/headers.go type RequestCommand (line 14) | type RequestCommand method TransferType (line 22) | func (c RequestCommand) TransferType() TransferType { constant RequestCommandTCP (line 17) | RequestCommandTCP = RequestCommand(0x01) constant RequestCommandUDP (line 18) | RequestCommandUDP = RequestCommand(0x02) constant RequestCommandMux (line 19) | RequestCommandMux = RequestCommand(0x03) constant RequestOptionChunkStream (line 35) | RequestOptionChunkStream bitmask.Byte = 0x01 constant RequestOptionConnectionReuse (line 38) | RequestOptionConnectionReuse bitmask.Byte = 0x02 constant RequestOptionChunkMasking (line 40) | RequestOptionChunkMasking bitmask.Byte = 0x04 constant RequestOptionGlobalPadding (line 42) | RequestOptionGlobalPadding bitmask.Byte = 0x08 constant RequestOptionAuthenticatedLength (line 44) | RequestOptionAuthenticatedLength bitmask.Byte = 0x10 type RequestHeader (line 47) | type RequestHeader struct method Destination (line 57) | func (h *RequestHeader) Destination() net.Destination { constant ResponseOptionConnectionReuse (line 65) | ResponseOptionConnectionReuse bitmask.Byte = 0x01 type ResponseCommand (line 68) | type ResponseCommand interface type ResponseHeader (line 70) | type ResponseHeader struct type CommandSwitchAccount (line 75) | type CommandSwitchAccount struct method GetSecurityType (line 96) | func (sc *SecurityConfig) GetSecurityType() SecurityType { function IsDomainTooLong (line 106) | func IsDomainTooLong(domain string) bool { FILE: common/protocol/headers.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type SecurityType (line 18) | type SecurityType method Enum (line 52) | func (x SecurityType) Enum() *SecurityType { method String (line 58) | func (x SecurityType) String() string { method Descriptor (line 62) | func (SecurityType) Descriptor() protoreflect.EnumDescriptor { method Type (line 66) | func (SecurityType) Type() protoreflect.EnumType { method Number (line 70) | func (x SecurityType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 75) | func (SecurityType) EnumDescriptor() ([]byte, []int) { constant SecurityType_UNKNOWN (line 21) | SecurityType_UNKNOWN SecurityType = 0 constant SecurityType_LEGACY (line 22) | SecurityType_LEGACY SecurityType = 1 constant SecurityType_AUTO (line 23) | SecurityType_AUTO SecurityType = 2 constant SecurityType_AES128_GCM (line 24) | SecurityType_AES128_GCM SecurityType = 3 constant SecurityType_CHACHA20_POLY1305 (line 25) | SecurityType_CHACHA20_POLY1305 SecurityType = 4 constant SecurityType_NONE (line 26) | SecurityType_NONE SecurityType = 5 constant SecurityType_ZERO (line 27) | SecurityType_ZERO SecurityType = 6 type SecurityConfig (line 79) | type SecurityConfig struct method Reset (line 86) | func (x *SecurityConfig) Reset() { method String (line 93) | func (x *SecurityConfig) String() string { method ProtoMessage (line 97) | func (*SecurityConfig) ProtoMessage() {} method ProtoReflect (line 99) | func (x *SecurityConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 112) | func (*SecurityConfig) Descriptor() ([]byte, []int) { method GetType (line 116) | func (x *SecurityConfig) GetType() SecurityType { constant file_common_protocol_headers_proto_rawDesc (line 125) | file_common_protocol_headers_proto_rawDesc = "" + function file_common_protocol_headers_proto_rawDescGZIP (line 147) | func file_common_protocol_headers_proto_rawDescGZIP() []byte { function init (line 169) | func init() { file_common_protocol_headers_proto_init() } function file_common_protocol_headers_proto_init (line 170) | func file_common_protocol_headers_proto_init() { FILE: common/protocol/http/headers.go function ParseXForwardedFor (line 12) | func ParseXForwardedFor(header http.Header) []net.Address { function RemoveHopByHopHeaders (line 26) | func RemoveHopByHopHeaders(header http.Header) { function ParseHost (line 51) | func ParseHost(rawHost string, defaultPort net.Port) (net.Destination, e... FILE: common/protocol/http/headers_test.go function TestParseXForwardedFor (line 16) | func TestParseXForwardedFor(t *testing.T) { function TestHopByHopHeadersRemoving (line 25) | func TestHopByHopHeadersRemoving(t *testing.T) { function TestParseHost (line 82) | func TestParseHost(t *testing.T) { FILE: common/protocol/http/sniff.go type version (line 12) | type version type SniffHeader (line 14) | type SniffHeader struct method Protocol (line 18) | func (h *SniffHeader) Protocol() string { method Domain (line 22) | func (h *SniffHeader) Domain() string { function beginWithHTTPMethod (line 33) | func beginWithHTTPMethod(b []byte) error { function SniffHTTP (line 47) | func SniffHTTP(b []byte) (*SniffHeader, error) { FILE: common/protocol/http/sniff_test.go function TestHTTPHeaders (line 9) | func TestHTTPHeaders(t *testing.T) { FILE: common/protocol/id.go constant IDBytesLen (line 13) | IDBytesLen = 16 type IDHash (line 16) | type IDHash function DefaultIDHash (line 18) | func DefaultIDHash(key []byte) hash.Hash { type ID (line 23) | type ID struct method Equals (line 29) | func (id *ID) Equals(another *ID) bool { method Bytes (line 33) | func (id *ID) Bytes() []byte { method String (line 37) | func (id *ID) String() string { method UUID (line 41) | func (id *ID) UUID() uuid.UUID { method CmdKey (line 45) | func (id ID) CmdKey() []byte { function NewID (line 50) | func NewID(uuid uuid.UUID) *ID { function nextID (line 59) | func nextID(u *uuid.UUID) uuid.UUID { function NewAlterIDs (line 73) | func NewAlterIDs(primary *ID, alterIDCount uint16) []*ID { FILE: common/protocol/id_test.go function TestIdEquals (line 10) | func TestIdEquals(t *testing.T) { FILE: common/protocol/payload.go type TransferType (line 3) | type TransferType constant TransferTypeStream (line 6) | TransferTypeStream TransferType = 0 constant TransferTypePacket (line 7) | TransferTypePacket TransferType = 1 type AddressType (line 10) | type AddressType constant AddressTypeIPv4 (line 13) | AddressTypeIPv4 AddressType = 1 constant AddressTypeDomain (line 14) | AddressTypeDomain AddressType = 2 constant AddressTypeIPv6 (line 15) | AddressTypeIPv6 AddressType = 3 FILE: common/protocol/quic/cipher_suite.go type cipherSuiteTLS13 (line 12) | type cipherSuiteTLS13 struct function aeadAESGCMTLS13 (line 23) | func aeadAESGCMTLS13(key, nonceMask []byte) cipher.AEAD FILE: common/protocol/quic/sniff.go type SniffHeader (line 20) | type SniffHeader struct method Protocol (line 24) | func (s SniffHeader) Protocol() string { method Domain (line 28) | func (s SniffHeader) Domain() string { constant versionDraft29 (line 33) | versionDraft29 uint32 = 0xff00001d constant version1 (line 34) | version1 uint32 = 0x1 function SniffQUIC (line 50) | func SniffQUIC(b []byte) (*SniffHeader, error) { function hkdfExpandLabel (line 284) | func hkdfExpandLabel(hash crypto.Hash, secret, context []byte, label str... FILE: common/protocol/quic/sniff_test.go function TestSniffQUIC (line 13) | func TestSniffQUIC(t *testing.T) { function TestSniffQUICComplex (line 22) | func TestSniffQUICComplex(t *testing.T) { function TestSniffFakeQUICPacketWithInvalidPacketNumberLength (line 243) | func TestSniffFakeQUICPacketWithInvalidPacketNumberLength(t *testing.T) { function TestSniffFakeQUICPacketWithTooShortData (line 252) | func TestSniffFakeQUICPacketWithTooShortData(t *testing.T) { FILE: common/protocol/server_picker.go type ServerList (line 7) | type ServerList struct method AddServer (line 16) | func (sl *ServerList) AddServer(server *ServerSpec) { method Size (line 23) | func (sl *ServerList) Size() uint32 { method GetServer (line 30) | func (sl *ServerList) GetServer(idx uint32) *ServerSpec { method removeServer (line 49) | func (sl *ServerList) removeServer(idx uint32) { function NewServerList (line 12) | func NewServerList() *ServerList { type ServerPicker (line 55) | type ServerPicker interface type RoundRobinServerPicker (line 59) | type RoundRobinServerPicker struct method PickServer (line 72) | func (p *RoundRobinServerPicker) PickServer() *ServerSpec { function NewRoundRobinServerPicker (line 65) | func NewRoundRobinServerPicker(serverlist *ServerList) *RoundRobinServer... FILE: common/protocol/server_picker_test.go function TestServerList (line 11) | func TestServerList(t *testing.T) { function TestServerPicker (line 38) | func TestServerPicker(t *testing.T) { FILE: common/protocol/server_spec.go type ValidationStrategy (line 11) | type ValidationStrategy interface type alwaysValidStrategy (line 16) | type alwaysValidStrategy struct method IsValid (line 22) | func (alwaysValidStrategy) IsValid() bool { method Invalidate (line 26) | func (alwaysValidStrategy) Invalidate() {} function AlwaysValid (line 18) | func AlwaysValid() ValidationStrategy { type timeoutValidStrategy (line 28) | type timeoutValidStrategy struct method IsValid (line 38) | func (s *timeoutValidStrategy) IsValid() bool { method Invalidate (line 42) | func (s *timeoutValidStrategy) Invalidate() { function BeforeTime (line 32) | func BeforeTime(t time.Time) ValidationStrategy { type ServerSpec (line 46) | type ServerSpec struct method Destination (line 74) | func (s *ServerSpec) Destination() net.Destination { method HasUser (line 78) | func (s *ServerSpec) HasUser(user *MemoryUser) bool { method AddUser (line 90) | func (s *ServerSpec) AddUser(user *MemoryUser) { method PickUser (line 101) | func (s *ServerSpec) PickUser() *MemoryUser { method IsValid (line 116) | func (s *ServerSpec) IsValid() bool { method Invalidate (line 120) | func (s *ServerSpec) Invalidate() { function NewServerSpec (line 53) | func NewServerSpec(dest net.Destination, valid ValidationStrategy, users... function NewServerSpecFromPB (line 61) | func NewServerSpecFromPB(spec *ServerEndpoint) (*ServerSpec, error) { FILE: common/protocol/server_spec.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerEndpoint (line 19) | type ServerEndpoint struct method Reset (line 28) | func (x *ServerEndpoint) Reset() { method String (line 35) | func (x *ServerEndpoint) String() string { method ProtoMessage (line 39) | func (*ServerEndpoint) ProtoMessage() {} method ProtoReflect (line 41) | func (x *ServerEndpoint) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*ServerEndpoint) Descriptor() ([]byte, []int) { method GetAddress (line 58) | func (x *ServerEndpoint) GetAddress() *net.IPOrDomain { method GetPort (line 65) | func (x *ServerEndpoint) GetPort() uint32 { method GetUser (line 72) | func (x *ServerEndpoint) GetUser() []*User { constant file_common_protocol_server_spec_proto_rawDesc (line 81) | file_common_protocol_server_spec_proto_rawDesc = "" + function file_common_protocol_server_spec_proto_rawDescGZIP (line 95) | func file_common_protocol_server_spec_proto_rawDescGZIP() []byte { function init (line 118) | func init() { file_common_protocol_server_spec_proto_init() } function file_common_protocol_server_spec_proto_init (line 119) | func file_common_protocol_server_spec_proto_init() { FILE: common/protocol/server_spec_test.go function TestAlwaysValidStrategy (line 15) | func TestAlwaysValidStrategy(t *testing.T) { function TestTimeoutValidStrategy (line 26) | func TestTimeoutValidStrategy(t *testing.T) { function TestUserInServerSpec (line 43) | func TestUserInServerSpec(t *testing.T) { function TestPickUser (line 73) | func TestPickUser(t *testing.T) { FILE: common/protocol/time.go type Timestamp (line 9) | type Timestamp type TimestampGenerator (line 11) | type TimestampGenerator function NowTime (line 13) | func NowTime() Timestamp { function NewTimestampGenerator (line 17) | func NewTimestampGenerator(base Timestamp, delta int) TimestampGenerator { FILE: common/protocol/time_test.go function TestGenerateRandomInt64InRange (line 10) | func TestGenerateRandomInt64InRange(t *testing.T) { FILE: common/protocol/tls/cert/cert.go type Certificate (line 21) | type Certificate struct method ToPEM (line 43) | func (c *Certificate) ToPEM() ([]byte, []byte) { function ParseCertificate (line 28) | func ParseCertificate(certPEM []byte, keyPEM []byte) (*Certificate, erro... type Option (line 48) | type Option function Authority (line 50) | func Authority(isCA bool) Option { function NotBefore (line 56) | func NotBefore(t time.Time) Option { function NotAfter (line 62) | func NotAfter(t time.Time) Option { function DNSNames (line 68) | func DNSNames(names ...string) Option { function CommonName (line 74) | func CommonName(name string) Option { function IPAddresses (line 80) | func IPAddresses(ip ...net.IP) Option { function KeyUsage (line 86) | func KeyUsage(usage x509.KeyUsage) Option { function Organization (line 92) | func Organization(org string) Option { function MustGenerate (line 98) | func MustGenerate(parent *Certificate, opts ...Option) *Certificate { function publicKey (line 104) | func publicKey(priv interface{}) interface{} { function Generate (line 117) | func Generate(parent *Certificate, opts ...Option) (*Certificate, error) { FILE: common/protocol/tls/cert/cert_test.go function TestGenerate (line 16) | func TestGenerate(t *testing.T) { function generate (line 23) | func generate(domainNames []string, isCA bool, jsonOutput bool, fileOutp... type jsonCert (line 60) | type jsonCert struct function printJSON (line 65) | func printJSON(certificate *Certificate) { function printFile (line 77) | func printFile(certificate *Certificate, name string) error { function writeFile (line 86) | func writeFile(content []byte, name string) error { FILE: common/protocol/tls/cert/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/protocol/tls/cert/privateKey.go type ecPrivateKey (line 9) | type ecPrivateKey struct type pkcs8 (line 16) | type pkcs8 struct type pkcs1AdditionalRSAPrime (line 23) | type pkcs1AdditionalRSAPrime struct type pkcs1PrivateKey (line 31) | type pkcs1PrivateKey struct FILE: common/protocol/tls/sniff.go type SniffHeader (line 11) | type SniffHeader struct method Protocol (line 15) | func (h *SniffHeader) Protocol() string { method Domain (line 19) | func (h *SniffHeader) Domain() string { function IsValidTLSVersion (line 28) | func IsValidTLSVersion(major, minor byte) bool { function ReadClientHello (line 34) | func ReadClientHello(data []byte, h *SniffHeader) error { function SniffTLS (line 126) | func SniffTLS(b []byte) (*SniffHeader, error) { FILE: common/protocol/tls/sniff_test.go function TestTLSHeaders (line 9) | func TestTLSHeaders(t *testing.T) { FILE: common/protocol/udp/packet.go type Packet (line 9) | type Packet struct FILE: common/protocol/user.go method GetTypedAccount (line 5) | func (u *User) GetTypedAccount() (Account, error) { method ToMemoryUser (line 23) | func (u *User) ToMemoryUser() (*MemoryUser, error) { type MemoryUser (line 36) | type MemoryUser struct FILE: common/protocol/user.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type User (line 20) | type User struct method Reset (line 31) | func (x *User) Reset() { method String (line 38) | func (x *User) String() string { method ProtoMessage (line 42) | func (*User) ProtoMessage() {} method ProtoReflect (line 44) | func (x *User) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*User) Descriptor() ([]byte, []int) { method GetLevel (line 61) | func (x *User) GetLevel() uint32 { method GetEmail (line 68) | func (x *User) GetEmail() string { method GetAccount (line 75) | func (x *User) GetAccount() *anypb.Any { constant file_common_protocol_user_proto_rawDesc (line 84) | file_common_protocol_user_proto_rawDesc = "" + function file_common_protocol_user_proto_rawDescGZIP (line 98) | func file_common_protocol_user_proto_rawDescGZIP() []byte { function init (line 119) | func init() { file_common_protocol_user_proto_init() } function file_common_protocol_user_proto_init (line 120) | func file_common_protocol_user_proto_init() { FILE: common/protoext/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/protoext/extensions.go function GetMessageOptions (line 11) | func GetMessageOptions(msgDesc protoreflect.MessageDescriptor) (*Message... function GetFieldOptions (line 20) | func GetFieldOptions(fieldDesc protoreflect.FieldDescriptor) (*FieldOpt,... FILE: common/protoext/extensions.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type MessageOpt (line 19) | type MessageOpt struct method Reset (line 31) | func (x *MessageOpt) Reset() { method String (line 38) | func (x *MessageOpt) String() string { method ProtoMessage (line 42) | func (*MessageOpt) ProtoMessage() {} method ProtoReflect (line 44) | func (x *MessageOpt) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*MessageOpt) Descriptor() ([]byte, []int) { method GetType (line 61) | func (x *MessageOpt) GetType() []string { method GetShortName (line 68) | func (x *MessageOpt) GetShortName() []string { method GetTransportOriginalName (line 75) | func (x *MessageOpt) GetTransportOriginalName() string { method GetAllowRestrictedModeLoad (line 82) | func (x *MessageOpt) GetAllowRestrictedModeLoad() bool { type FieldOpt (line 89) | type FieldOpt struct method Reset (line 106) | func (x *FieldOpt) Reset() { method String (line 113) | func (x *FieldOpt) String() string { method ProtoMessage (line 117) | func (*FieldOpt) ProtoMessage() {} method ProtoReflect (line 119) | func (x *FieldOpt) ProtoReflect() protoreflect.Message { method Descriptor (line 132) | func (*FieldOpt) Descriptor() ([]byte, []int) { method GetAnyWants (line 136) | func (x *FieldOpt) GetAnyWants() []string { method GetAllowedValues (line 143) | func (x *FieldOpt) GetAllowedValues() []string { method GetAllowedValueTypes (line 150) | func (x *FieldOpt) GetAllowedValueTypes() []string { method GetConvertTimeReadFileInto (line 157) | func (x *FieldOpt) GetConvertTimeReadFileInto() string { method GetForbidden (line 164) | func (x *FieldOpt) GetForbidden() bool { method GetConvertTimeResourceLoading (line 171) | func (x *FieldOpt) GetConvertTimeResourceLoading() string { method GetConvertTimeParseIp (line 178) | func (x *FieldOpt) GetConvertTimeParseIp() string { constant file_common_protoext_extensions_proto_rawDesc (line 218) | file_common_protoext_extensions_proto_rawDesc = "" + function file_common_protoext_extensions_proto_rawDescGZIP (line 246) | func file_common_protoext_extensions_proto_rawDescGZIP() []byte { function init (line 272) | func init() { file_common_protoext_extensions_proto_init() } function file_common_protoext_extensions_proto_init (line 273) | func file_common_protoext_extensions_proto_init() { FILE: common/protoext/testing/extension_test.go function TestMessageOpt (line 12) | func TestMessageOpt(t *testing.T) { function TestFieldOpt (line 19) | func TestFieldOpt(t *testing.T) { FILE: common/protoext/testing/test.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type TestingMessage (line 19) | type TestingMessage struct method Reset (line 26) | func (x *TestingMessage) Reset() { method String (line 33) | func (x *TestingMessage) String() string { method ProtoMessage (line 37) | func (*TestingMessage) ProtoMessage() {} method ProtoReflect (line 39) | func (x *TestingMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*TestingMessage) Descriptor() ([]byte, []int) { method GetTestField (line 56) | func (x *TestingMessage) GetTestField() string { constant file_common_protoext_testing_test_proto_rawDesc (line 65) | file_common_protoext_testing_test_proto_rawDesc = "" + function file_common_protoext_testing_test_proto_rawDescGZIP (line 80) | func file_common_protoext_testing_test_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_common_protoext_testing_test_proto_init() } function file_common_protoext_testing_test_proto_init (line 100) | func file_common_protoext_testing_test_proto_init() { FILE: common/protofilter/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/protofilter/filter.go function FilterProtoConfig (line 18) | func FilterProtoConfig(ctx context.Context, config proto.Message) error { function filterMessage (line 23) | func filterMessage(ctx context.Context, message protoreflect.Message) er... function filterMap (line 120) | func filterMap(ctx context.Context, mapValue protoreflect.Map) error { function filterList (line 129) | func filterList(ctx context.Context, listValue protoreflect.List) error { FILE: common/registry/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/registry/implementation_set.go type implementationSet (line 11) | type implementationSet struct method RegisterImplementation (line 23) | func (i *implementationSet) RegisterImplementation(name string, opt *p... method findImplementationByAlias (line 36) | func (i *implementationSet) findImplementationByAlias(alias string) (s... type CustomLoader (line 15) | type CustomLoader type implementation (line 17) | type implementation struct function newImplementationSet (line 44) | func newImplementationSet() *implementationSet { FILE: common/registry/registry.go type implementationRegistry (line 19) | type implementationRegistry struct method RegisterImplementation (line 23) | func (i *implementationRegistry) RegisterImplementation(name string, o... method registerSingleImplementation (line 30) | func (i *implementationRegistry) registerSingleImplementation(interfac... method findImplementationByAlias (line 39) | func (i *implementationRegistry) findImplementationByAlias(interfaceTy... method LoadImplementationByAlias (line 47) | func (i *implementationRegistry) LoadImplementationByAlias(ctx context... function newImplementationRegistry (line 89) | func newImplementationRegistry() *implementationRegistry { type registerRequest (line 97) | type registerRequest struct function RegisterImplementation (line 106) | func RegisterImplementation(proto interface{}, loader CustomLoader) error { function registerImplementation (line 114) | func registerImplementation(proto interface{}, loader CustomLoader) error { type LoadByAlias (line 127) | type LoadByAlias interface function LoadImplementationByAlias (line 131) | func LoadImplementationByAlias(ctx context.Context, interfaceType, alias... FILE: common/registry/restrict.go constant restrictedLoadModeCtx (line 11) | restrictedLoadModeCtx = "restrictedLoadModeCtx" function CreateRestrictedModeContext (line 13) | func CreateRestrictedModeContext(ctx context.Context) context.Context { function isRestrictedModeContext (line 17) | func isRestrictedModeContext(ctx context.Context) bool { function enforceRestriction (line 25) | func enforceRestriction(config proto.Message) error { FILE: common/retry/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/retry/retry.go type Strategy (line 12) | type Strategy interface type retryer (line 17) | type retryer struct method On (line 23) | func (r *retryer) On(method func() error) error { function Timed (line 43) | func Timed(attempts int, delay uint32) Strategy { function ExponentialBackoff (line 52) | func ExponentialBackoff(attempts int, delay uint32) Strategy { FILE: common/retry/retry_test.go function TestNoRetry (line 14) | func TestNoRetry(t *testing.T) { function TestRetryOnce (line 27) | func TestRetryOnce(t *testing.T) { function TestRetryMultiple (line 45) | func TestRetryMultiple(t *testing.T) { function TestRetryExhausted (line 63) | func TestRetryExhausted(t *testing.T) { function TestExponentialBackoff (line 81) | func TestExponentialBackoff(t *testing.T) { FILE: common/serial/resolver.go type AnyResolver (line 7) | type AnyResolver interface type serialResolver (line 11) | type serialResolver struct method Resolve (line 13) | func (s serialResolver) Resolve(typeURL string) (proto.Message, error) { function GetResolver (line 21) | func GetResolver() AnyResolver { FILE: common/serial/serial.go function ReadUint16 (line 9) | func ReadUint16(reader io.Reader) (uint16, error) { function WriteUint16 (line 18) | func WriteUint16(writer io.Writer, value uint16) (int, error) { function WriteUint64 (line 25) | func WriteUint64(writer io.Writer, value uint64) (int, error) { FILE: common/serial/serial_test.go function TestUint16Serial (line 14) | func TestUint16Serial(t *testing.T) { function TestUint64Serial (line 28) | func TestUint64Serial(t *testing.T) { function TestReadUint16 (line 42) | func TestReadUint16(t *testing.T) { function BenchmarkReadUint16 (line 62) | func BenchmarkReadUint16(b *testing.B) { function BenchmarkWriteUint64 (line 77) | func BenchmarkWriteUint64(b *testing.B) { FILE: common/serial/string.go function ToString (line 9) | func ToString(v interface{}) string { function Concat (line 29) | func Concat(v ...interface{}) string { FILE: common/serial/string_test.go function TestToString (line 12) | func TestToString(t *testing.T) { function TestConcat (line 31) | func TestConcat(t *testing.T) { function BenchmarkConcat (line 52) | func BenchmarkConcat(b *testing.B) { FILE: common/serial/typed_message.go constant V2RayTypeURLHeader (line 12) | V2RayTypeURLHeader = "types.v2fly.org/" function ToTypedMessage (line 15) | func ToTypedMessage(message proto.Message) *anypb.Any { function GetMessageType (line 27) | func GetMessageType(message proto.Message) string { function GetInstance (line 32) | func GetInstance(messageType string) (interface{}, error) { function GetInstanceOf (line 40) | func GetInstanceOf(v *anypb.Any) (proto.Message, error) { function V2Type (line 52) | func V2Type(v *anypb.Any) string { function V2TypeFromURL (line 56) | func V2TypeFromURL(string2 string) string { function V2TypeHumanReadable (line 60) | func V2TypeHumanReadable(v *anypb.Any) string { function V2URLFromV2Type (line 64) | func V2URLFromV2Type(readableType string) string { FILE: common/serial/typed_message_test.go function TestGetInstance (line 9) | func TestGetInstance(t *testing.T) { function TestConvertingNilMessage (line 19) | func TestConvertingNilMessage(t *testing.T) { FILE: common/session/context.go type sessionKey (line 7) | type sessionKey constant idSessionKey (line 10) | idSessionKey sessionKey = iota constant inboundSessionKey (line 11) | inboundSessionKey constant outboundSessionKey (line 12) | outboundSessionKey constant contentSessionKey (line 13) | contentSessionKey constant muxPreferedSessionKey (line 14) | muxPreferedSessionKey constant sockoptSessionKey (line 15) | sockoptSessionKey constant trackedConnectionErrorKey (line 16) | trackedConnectionErrorKey constant handlerSessionKey (line 17) | handlerSessionKey function ContextWithID (line 21) | func ContextWithID(ctx context.Context, id ID) context.Context { function IDFromContext (line 26) | func IDFromContext(ctx context.Context) ID { function ContextWithInbound (line 33) | func ContextWithInbound(ctx context.Context, inbound *Inbound) context.C... function InboundFromContext (line 37) | func InboundFromContext(ctx context.Context) *Inbound { function ContextWithOutbound (line 44) | func ContextWithOutbound(ctx context.Context, outbound *Outbound) contex... function OutboundFromContext (line 48) | func OutboundFromContext(ctx context.Context) *Outbound { function ContextWithContent (line 55) | func ContextWithContent(ctx context.Context, content *Content) context.C... function ContentFromContext (line 59) | func ContentFromContext(ctx context.Context) *Content { function ContextWithMuxPrefered (line 67) | func ContextWithMuxPrefered(ctx context.Context, forced bool) context.Co... function MuxPreferedFromContext (line 72) | func MuxPreferedFromContext(ctx context.Context) bool { function ContextWithSockopt (line 80) | func ContextWithSockopt(ctx context.Context, s *Sockopt) context.Context { function SockoptFromContext (line 85) | func SockoptFromContext(ctx context.Context) *Sockopt { function GetTransportLayerProxyTagFromContext (line 92) | func GetTransportLayerProxyTagFromContext(ctx context.Context) string { function SetTransportLayerProxyTagToContext (line 99) | func SetTransportLayerProxyTagToContext(ctx context.Context, tag string)... function GetForcedOutboundTagFromContext (line 107) | func GetForcedOutboundTagFromContext(ctx context.Context) string { function SetForcedOutboundTagToContext (line 114) | func SetForcedOutboundTagToContext(ctx context.Context, tag string) cont... type TrackedRequestErrorFeedback (line 122) | type TrackedRequestErrorFeedback interface function SubmitOutboundErrorToOriginator (line 126) | func SubmitOutboundErrorToOriginator(ctx context.Context, err error) { function TrackedConnectionError (line 133) | func TrackedConnectionError(ctx context.Context, tracker TrackedRequestE... FILE: common/session/session.go type ID (line 14) | type ID function NewID (line 18) | func NewID() ID { function ExportIDToError (line 29) | func ExportIDToError(ctx context.Context) errors.ExportOption { type Inbound (line 37) | type Inbound struct type Outbound (line 49) | type Outbound struct type SniffingRequest (line 59) | type SniffingRequest struct type Content (line 66) | type Content struct method SetAttribute (line 84) | func (c *Content) SetAttribute(name string, value string) { method Attribute (line 92) | func (c *Content) Attribute(name string) string { type Sockopt (line 78) | type Sockopt struct FILE: common/signal/done/done.go type Instance (line 8) | type Instance struct method Done (line 22) | func (d *Instance) Done() bool { method Wait (line 32) | func (d *Instance) Wait() <-chan struct{} { method Close (line 37) | func (d *Instance) Close() error { function New (line 15) | func New() *Instance { FILE: common/signal/notifier.go type Notifier (line 4) | type Notifier struct method Signal (line 16) | func (n *Notifier) Signal() { method Wait (line 24) | func (n *Notifier) Wait() <-chan struct{} { function NewNotifier (line 9) | func NewNotifier() *Notifier { FILE: common/signal/notifier_test.go function TestNotifierSignal (line 9) | func TestNotifierSignal(t *testing.T) { FILE: common/signal/pubsub/pubsub.go type Subscriber (line 13) | type Subscriber struct method push (line 18) | func (s *Subscriber) push(msg interface{}) { method Wait (line 25) | func (s *Subscriber) Wait() <-chan interface{} { method Close (line 29) | func (s *Subscriber) Close() error { method IsClosed (line 33) | func (s *Subscriber) IsClosed() bool { type Service (line 37) | type Service struct method Cleanup (line 56) | func (s *Service) Cleanup() error { method Subscribe (line 84) | func (s *Service) Subscribe(name string) *Subscriber { method Publish (line 96) | func (s *Service) Publish(name string, message interface{}) { function NewService (line 43) | func NewService() *Service { FILE: common/signal/pubsub/pubsub_test.go function TestPubsub (line 9) | func TestPubsub(t *testing.T) { FILE: common/signal/semaphore/semaphore.go type Instance (line 4) | type Instance struct method Wait (line 20) | func (s *Instance) Wait() <-chan struct{} { method Signal (line 25) | func (s *Instance) Signal() { function New (line 9) | func New(n int) *Instance { FILE: common/signal/timer.go type ActivityUpdater (line 12) | type ActivityUpdater interface type ActivityTimer (line 16) | type ActivityTimer struct method Update (line 23) | func (t *ActivityTimer) Update() { method check (line 30) | func (t *ActivityTimer) check() error { method finish (line 39) | func (t *ActivityTimer) finish() { method SetTimeout (line 53) | func (t *ActivityTimer) SetTimeout(timeout time.Duration) { function CancelAfterInactivity (line 75) | func CancelAfterInactivity(ctx context.Context, cancel context.CancelFun... FILE: common/signal/timer_test.go function TestActivityTimer (line 12) | func TestActivityTimer(t *testing.T) { function TestActivityTimerUpdate (line 22) | func TestActivityTimerUpdate(t *testing.T) { function TestActivityTimerNonBlocking (line 37) | func TestActivityTimerNonBlocking(t *testing.T) { function TestActivityTimerZeroTimeout (line 51) | func TestActivityTimerZeroTimeout(t *testing.T) { FILE: common/strmatcher/benchmark_indexmatcher_test.go function BenchmarkLinearIndexMatcher (line 9) | func BenchmarkLinearIndexMatcher(b *testing.B) { function BenchmarkMphIndexMatcher (line 15) | func BenchmarkMphIndexMatcher(b *testing.B) { function benchmarkIndexMatcher (line 21) | func benchmarkIndexMatcher(b *testing.B, ctor func() IndexMatcher) { FILE: common/strmatcher/benchmark_matchers_test.go function BenchmarkFullMatcher (line 11) | func BenchmarkFullMatcher(b *testing.B) { function BenchmarkDomainMatcher (line 34) | func BenchmarkDomainMatcher(b *testing.B) { function BenchmarkSubstrMatcher (line 57) | func BenchmarkSubstrMatcher(b *testing.B) { function benchmarkMatcherType (line 77) | func benchmarkMatcherType(b *testing.B, t Type, ctor func() MatcherGroup) { function benchmarkMatch (line 96) | func benchmarkMatch(b *testing.B, g MatcherGroup, enabledTypes map[Type]... function benchmarkMatchAny (line 104) | func benchmarkMatchAny(b *testing.B, g MatcherGroup, enabledTypes map[Ty... function prepareMatchers (line 112) | func prepareMatchers(g MatcherGroup, enabledTypes map[Type]bool) { type buildable (line 147) | type buildable interface FILE: common/strmatcher/indexmatcher_linear.go type LinearIndexMatcher (line 4) | type LinearIndexMatcher struct method Add (line 17) | func (g *LinearIndexMatcher) Add(matcher Matcher) uint32 { method Build (line 48) | func (*LinearIndexMatcher) Build() error { method Match (line 53) | func (g *LinearIndexMatcher) Match(input string) []uint32 { method MatchAny (line 80) | func (g *LinearIndexMatcher) MatchAny(input string) bool { method Size (line 94) | func (g *LinearIndexMatcher) Size() uint32 { function NewLinearIndexMatcher (line 12) | func NewLinearIndexMatcher() *LinearIndexMatcher { FILE: common/strmatcher/indexmatcher_linear_test.go function TestLinearIndexMatcher (line 12) | func TestLinearIndexMatcher(t *testing.T) { FILE: common/strmatcher/indexmatcher_mph.go type MphIndexMatcher (line 7) | type MphIndexMatcher struct method Add (line 19) | func (g *MphIndexMatcher) Add(matcher Matcher) uint32 { method Build (line 50) | func (g *MphIndexMatcher) Build() error { method Match (line 61) | func (g *MphIndexMatcher) Match(input string) []uint32 { method MatchAny (line 82) | func (g *MphIndexMatcher) MatchAny(input string) bool { method Size (line 93) | func (g *MphIndexMatcher) Size() uint32 { function NewMphIndexMatcher (line 14) | func NewMphIndexMatcher() *MphIndexMatcher { FILE: common/strmatcher/indexmatcher_mph_test.go function TestMphIndexMatcher (line 11) | func TestMphIndexMatcher(t *testing.T) { FILE: common/strmatcher/matchergroup_ac_automation.go constant acValidCharCount (line 8) | acValidCharCount = 39 constant acMatchTypeCount (line 9) | acMatchTypeCount = 3 type acEdge (line 12) | type acEdge constant acTrieEdge (line 15) | acTrieEdge acEdge = 1 constant acFailEdge (line 16) | acFailEdge acEdge = 0 type acNode (line 19) | type acNode struct type acValue (line 26) | type acValue type ACAutomatonMatcherGroup (line 33) | type ACAutomatonMatcherGroup struct method AddFullMatcher (line 46) | func (ac *ACAutomatonMatcherGroup) AddFullMatcher(matcher FullMatcher,... method AddDomainMatcher (line 51) | func (ac *ACAutomatonMatcherGroup) AddDomainMatcher(matcher DomainMatc... method AddSubstrMatcher (line 57) | func (ac *ACAutomatonMatcherGroup) AddSubstrMatcher(matcher SubstrMatc... method addPattern (line 61) | func (ac *ACAutomatonMatcherGroup) addPattern(nodeIdx uint32, pattern ... method addNode (line 81) | func (ac *ACAutomatonMatcherGroup) addNode() uint32 { method addMatchEntry (line 86) | func (ac *ACAutomatonMatcherGroup) addMatchEntry() uint32 { method Build (line 91) | func (ac *ACAutomatonMatcherGroup) Build() error { method Match (line 129) | func (ac *ACAutomatonMatcherGroup) Match(input string) []uint32 { method MatchAny (line 187) | func (ac *ACAutomatonMatcherGroup) MatchAny(input string) bool { function NewACAutomatonMatcherGroup (line 38) | func NewACAutomatonMatcherGroup() *ACAutomatonMatcherGroup { FILE: common/strmatcher/matchergroup_ac_automation_test.go function TestACAutomatonMatcherGroup (line 11) | func TestACAutomatonMatcherGroup(t *testing.T) { function TestACAutomatonMatcherGroupSubstr (line 223) | func TestACAutomatonMatcherGroupSubstr(t *testing.T) { function TestACAutomatonMatcherGroupAsIndexMatcher (line 281) | func TestACAutomatonMatcherGroupAsIndexMatcher(t *testing.T) { FILE: common/strmatcher/matchergroup_domain.go type trieNode (line 3) | type trieNode struct type DomainMatcherGroup (line 10) | type DomainMatcherGroup struct method AddDomainMatcher (line 21) | func (g *DomainMatcherGroup) AddDomainMatcher(matcher DomainMatcher, v... method Match (line 53) | func (g *DomainMatcherGroup) Match(input string) []uint32 { method MatchAny (line 83) | func (g *DomainMatcherGroup) MatchAny(input string) bool { function NewDomainMatcherGroup (line 14) | func NewDomainMatcherGroup() *DomainMatcherGroup { FILE: common/strmatcher/matchergroup_domain_test.go function TestDomainMatcherGroup (line 10) | func TestDomainMatcherGroup(t *testing.T) { function TestEmptyDomainMatcherGroup (line 97) | func TestEmptyDomainMatcherGroup(t *testing.T) { FILE: common/strmatcher/matchergroup_full.go type FullMatcherGroup (line 5) | type FullMatcherGroup struct method AddFullMatcher (line 16) | func (g *FullMatcherGroup) AddFullMatcher(matcher FullMatcher, value u... method Match (line 22) | func (g *FullMatcherGroup) Match(input string) []uint32 { method MatchAny (line 27) | func (g *FullMatcherGroup) MatchAny(input string) bool { function NewFullMatcherGroup (line 9) | func NewFullMatcherGroup() *FullMatcherGroup { FILE: common/strmatcher/matchergroup_full_test.go function TestFullMatcherGroup (line 10) | func TestFullMatcherGroup(t *testing.T) { function TestEmptyFullMatcherGroup (line 65) | func TestEmptyFullMatcherGroup(t *testing.T) { FILE: common/strmatcher/matchergroup_mph.go constant PrimeRK (line 11) | PrimeRK = 16777619 function RollingHash (line 14) | func RollingHash(hash uint32, input string) uint32 { function MemHash (line 24) | func MemHash(seed uint32, input string) uint32 { constant mphMatchTypeCount (line 29) | mphMatchTypeCount = 2 type mphRuleInfo (line 32) | type mphRuleInfo struct type MphMatcherGroup (line 39) | type MphMatcherGroup struct method AddFullMatcher (line 62) | func (g *MphMatcherGroup) AddFullMatcher(matcher FullMatcher, value ui... method AddDomainMatcher (line 68) | func (g *MphMatcherGroup) AddDomainMatcher(matcher DomainMatcher, valu... method addPattern (line 74) | func (g *MphMatcherGroup) addPattern(suffixHash uint32, suffixPattern ... method Build (line 89) | func (g *MphMatcherGroup) Build() error { method Lookup (line 143) | func (g *MphMatcherGroup) Lookup(rollingHash uint32, input string) uin... method Match (line 154) | func (g *MphMatcherGroup) Match(input string) []uint32 { method MatchAny (line 172) | func (g *MphMatcherGroup) MatchAny(input string) bool { function NewMphMatcherGroup (line 49) | func NewMphMatcherGroup() *MphMatcherGroup { function nextPow2 (line 185) | func nextPow2(v int) int { function strhash (line 196) | func strhash(p unsafe.Pointer, h uintptr) uintptr FILE: common/strmatcher/matchergroup_mph_test.go function TestMphMatcherGroup (line 11) | func TestMphMatcherGroup(t *testing.T) { function TestMphMatcherGroupAsIndexMatcher (line 178) | func TestMphMatcherGroupAsIndexMatcher(t *testing.T) { function TestEmptyMphMatcherGroup (line 271) | func TestEmptyMphMatcherGroup(t *testing.T) { FILE: common/strmatcher/matchergroup_simple.go type matcherEntry (line 3) | type matcherEntry struct type SimpleMatcherGroup (line 10) | type SimpleMatcherGroup struct method AddMatcher (line 15) | func (g *SimpleMatcherGroup) AddMatcher(matcher Matcher, value uint32) { method Match (line 23) | func (g *SimpleMatcherGroup) Match(input string) []uint32 { method MatchAny (line 34) | func (g *SimpleMatcherGroup) MatchAny(input string) bool { FILE: common/strmatcher/matchergroup_simple_test.go function TestSimpleMatcherGroup (line 11) | func TestSimpleMatcherGroup(t *testing.T) { FILE: common/strmatcher/matchergroup_substr.go type SubstrMatcherGroup (line 10) | type SubstrMatcherGroup struct method AddSubstrMatcher (line 16) | func (g *SubstrMatcherGroup) AddSubstrMatcher(matcher SubstrMatcher, v... method Match (line 22) | func (g *SubstrMatcherGroup) Match(input string) []uint32 { method MatchAny (line 54) | func (g *SubstrMatcherGroup) MatchAny(input string) bool { FILE: common/strmatcher/matchergroup_substr_test.go function TestSubstrMatcherGroup (line 11) | func TestSubstrMatcherGroup(t *testing.T) { FILE: common/strmatcher/matchers.go type FullMatcher (line 13) | type FullMatcher method Type (line 15) | func (FullMatcher) Type() Type { method Pattern (line 19) | func (m FullMatcher) Pattern() string { method String (line 23) | func (m FullMatcher) String() string { method Match (line 27) | func (m FullMatcher) Match(s string) bool { type DomainMatcher (line 32) | type DomainMatcher method Type (line 34) | func (DomainMatcher) Type() Type { method Pattern (line 38) | func (m DomainMatcher) Pattern() string { method String (line 42) | func (m DomainMatcher) String() string { method Match (line 46) | func (m DomainMatcher) Match(s string) bool { type SubstrMatcher (line 55) | type SubstrMatcher method Type (line 57) | func (SubstrMatcher) Type() Type { method Pattern (line 61) | func (m SubstrMatcher) Pattern() string { method String (line 65) | func (m SubstrMatcher) String() string { method Match (line 69) | func (m SubstrMatcher) Match(s string) bool { type RegexMatcher (line 74) | type RegexMatcher struct method Type (line 78) | func (*RegexMatcher) Type() Type { method Pattern (line 82) | func (m *RegexMatcher) Pattern() string { method String (line 86) | func (m *RegexMatcher) String() string { method Match (line 90) | func (m *RegexMatcher) Match(s string) bool { method New (line 95) | func (t Type) New(pattern string) (Matcher, error) { method NewDomainPattern (line 120) | func (t Type) NewDomainPattern(pattern string) (Matcher, error) { function ToDomain (line 157) | func ToDomain(pattern string) (string, error) { type MatcherGroupForAll (line 194) | type MatcherGroupForAll interface type MatcherGroupForFull (line 199) | type MatcherGroupForFull interface type MatcherGroupForDomain (line 204) | type MatcherGroupForDomain interface type MatcherGroupForSubstr (line 209) | type MatcherGroupForSubstr interface type MatcherGroupForRegex (line 214) | type MatcherGroupForRegex interface function AddMatcherToGroup (line 221) | func AddMatcherToGroup(g MatcherGroup, matcher Matcher, value uint32) er... function CompositeMatches (line 257) | func CompositeMatches(matches [][]uint32) []uint32 { function CompositeMatchesReverse (line 277) | func CompositeMatchesReverse(matches [][]uint32) []uint32 { FILE: common/strmatcher/matchers_test.go function TestMatcher (line 12) | func TestMatcher(t *testing.T) { function TestToDomain (line 77) | func TestToDomain(t *testing.T) { FILE: common/strmatcher/strmatcher.go type Type (line 4) | type Type constant Full (line 8) | Full Type = 0 constant Domain (line 10) | Domain Type = 1 constant Substr (line 12) | Substr Type = 2 constant Regex (line 14) | Regex Type = 3 type Matcher (line 19) | type Matcher interface type MatcherGroup (line 39) | type MatcherGroup interface type IndexMatcher (line 52) | type IndexMatcher interface FILE: common/taggedfeatures/configloader.go function LoadJSONConfig (line 13) | func LoadJSONConfig(ctx context.Context, interfaceType, defaultImpl stri... FILE: common/taggedfeatures/creator.go function NewHolderFromConfig (line 11) | func NewHolderFromConfig(ctx context.Context, config *Config, memberType... FILE: common/taggedfeatures/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/taggedfeatures/holder.go type Holder (line 12) | type Holder struct method GetFeaturesByTag (line 28) | func (h *Holder) GetFeaturesByTag(tag string) (features.Feature, error) { method AddFeaturesByTag (line 38) | func (h *Holder) AddFeaturesByTag(tag string, feature features.Feature... method RemoveFeaturesByTag (line 49) | func (h *Holder) RemoveFeaturesByTag(tag string) error { method GetFeaturesTag (line 56) | func (h *Holder) GetFeaturesTag() ([]string, error) { method Start (line 66) | func (h *Holder) Start() error { method Close (line 76) | func (h *Holder) Close() error { function NewHolder (line 19) | func NewHolder(ctx context.Context, memberType interface{}) *Holder { FILE: common/taggedfeatures/skeleton.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 26) | func (x *Config) Reset() { method String (line 33) | func (x *Config) String() string { method ProtoMessage (line 37) | func (*Config) ProtoMessage() {} method ProtoReflect (line 39) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*Config) Descriptor() ([]byte, []int) { method GetFeatures (line 56) | func (x *Config) GetFeatures() map[string]*anypb.Any { constant file_common_taggedfeatures_skeleton_proto_rawDesc (line 65) | file_common_taggedfeatures_skeleton_proto_rawDesc = "" + function file_common_taggedfeatures_skeleton_proto_rawDescGZIP (line 80) | func file_common_taggedfeatures_skeleton_proto_rawDescGZIP() []byte { function init (line 103) | func init() { file_common_taggedfeatures_skeleton_proto_init() } function file_common_taggedfeatures_skeleton_proto_init (line 104) | func file_common_taggedfeatures_skeleton_proto_init() { FILE: common/task/common.go function Close (line 6) | func Close(v interface{}) func() error { FILE: common/task/periodic.go type Periodic (line 9) | type Periodic struct method hasClosed (line 20) | func (t *Periodic) hasClosed() bool { method checkedExecute (line 27) | func (t *Periodic) checkedExecute() error { method Start (line 54) | func (t *Periodic) Start() error { method Close (line 74) | func (t *Periodic) Close() error { FILE: common/task/periodic_test.go function TestPeriodicTaskStop (line 12) | func TestPeriodicTaskStop(t *testing.T) { FILE: common/task/task.go function OnSuccess (line 10) | func OnSuccess(f func() error, g func() error) func() error { function Run (line 20) | func Run(ctx context.Context, tasks ...func() error) error { FILE: common/task/taskDerive/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: common/task/taskDerive/tryAll.go function RunTryAll (line 9) | func RunTryAll(ctx context.Context, tasks ...func() error) []error { FILE: common/task/task_test.go function TestExecuteParallel (line 16) | func TestExecuteParallel(t *testing.T) { function TestExecuteParallelContextCancel (line 31) | func TestExecuteParallelContextCancel(t *testing.T) { function BenchmarkExecuteOne (line 50) | func BenchmarkExecuteOne(b *testing.B) { function BenchmarkExecuteTwo (line 59) | func BenchmarkExecuteTwo(b *testing.B) { FILE: common/type.go type ConfigCreator (line 11) | type ConfigCreator function RegisterConfig (line 16) | func RegisterConfig(config interface{}, configCreator ConfigCreator) err... function CreateObject (line 28) | func CreateObject(ctx context.Context, config interface{}) (interface{},... FILE: common/type_test.go type TConfig (line 10) | type TConfig struct type YConfig (line 14) | type YConfig struct function TestObjectCreation (line 18) | func TestObjectCreation(t *testing.T) { FILE: common/units/bytesize.go type ByteSize (line 16) | type ByteSize method String (line 34) | func (b ByteSize) String() string { method Parse (line 68) | func (b *ByteSize) Parse(s string) error { constant _ (line 19) | _ = iota constant KB (line 21) | KB ByteSize = 1 << (10 * iota) constant MB (line 23) | MB constant GB (line 25) | GB constant TB (line 27) | TB constant PB (line 29) | PB constant EB (line 31) | EB FILE: common/units/bytesize_test.go function TestByteSizes (line 9) | func TestByteSizes(t *testing.T) { function assertSizeValue (line 49) | func assertSizeValue(t *testing.T, size string, expected units.ByteSize) { function assertSizeString (line 60) | func assertSizeString(t *testing.T, size units.ByteSize, expected string... FILE: common/uuid/uuid.go type UUID (line 14) | type UUID method String (line 17) | func (u *UUID) String() string { method Bytes (line 31) | func (u *UUID) Bytes() []byte { method Equals (line 36) | func (u *UUID) Equals(another *UUID) bool { function New (line 47) | func New() UUID { function ParseBytes (line 54) | func ParseBytes(b []byte) (UUID, error) { function ParseString (line 64) | func ParseString(str string) (UUID, error) { FILE: common/uuid/uuid_test.go function TestParseBytes (line 12) | func TestParseBytes(t *testing.T) { function TestParseString (line 28) | func TestParseString(t *testing.T) { function TestNewUUID (line 49) | func TestNewUUID(t *testing.T) { function TestRandom (line 62) | func TestRandom(t *testing.T) { function TestEquals (line 71) | func TestEquals(t *testing.T) { FILE: config.go constant FormatAuto (line 21) | FormatAuto = "auto" constant FormatJSON (line 23) | FormatJSON = "json" constant FormatTOML (line 25) | FormatTOML = "toml" constant FormatYAML (line 27) | FormatYAML = "yaml" constant FormatProtobuf (line 29) | FormatProtobuf = "protobuf" constant FormatProtobufShort (line 31) | FormatProtobufShort = "pb" type ConfigFormat (line 35) | type ConfigFormat struct type ConfigLoader (line 42) | type ConfigLoader function RegisterConfigLoader (line 51) | func RegisterConfigLoader(format *ConfigFormat) error { function getExtension (line 70) | func getExtension(filename string) string { function GetLoaderExtensions (line 76) | func GetLoaderExtensions(formatName string) ([]string, error) { function GetAllExtensions (line 87) | func GetAllExtensions() []string { function LoadConfig (line 100) | func LoadConfig(formatName string, input interface{}) (*Config, error) { function loadSingleConfigAutoFormat (line 137) | func loadSingleConfigAutoFormat(input interface{}) (*Config, error) { function loadSingleConfigAutoFormatFromFile (line 154) | func loadSingleConfigAutoFormatFromFile(file string) (*Config, error) { function loadSingleConfigByTryingAllLoaders (line 167) | func loadSingleConfigByTryingAllLoaders(input interface{}) (*Config, err... function getInputCount (line 184) | func getInputCount(input interface{}) int { function loadProtobufConfig (line 193) | func loadProtobufConfig(data []byte) (*Config, error) { function init (line 201) | func init() { FILE: config.pb.go constant _ (line 21) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 23) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 28) | type Config struct method Reset (line 53) | func (x *Config) Reset() { method String (line 60) | func (x *Config) String() string { method ProtoMessage (line 64) | func (*Config) ProtoMessage() {} method ProtoReflect (line 66) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 79) | func (*Config) Descriptor() ([]byte, []int) { method GetInbound (line 83) | func (x *Config) GetInbound() []*InboundHandlerConfig { method GetOutbound (line 90) | func (x *Config) GetOutbound() []*OutboundHandlerConfig { method GetApp (line 97) | func (x *Config) GetApp() []*anypb.Any { method GetTransport (line 105) | func (x *Config) GetTransport() *transport.Config { method GetExtension (line 112) | func (x *Config) GetExtension() []*anypb.Any { type InboundHandlerConfig (line 120) | type InboundHandlerConfig struct method Reset (line 133) | func (x *InboundHandlerConfig) Reset() { method String (line 140) | func (x *InboundHandlerConfig) String() string { method ProtoMessage (line 144) | func (*InboundHandlerConfig) ProtoMessage() {} method ProtoReflect (line 146) | func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 159) | func (*InboundHandlerConfig) Descriptor() ([]byte, []int) { method GetTag (line 163) | func (x *InboundHandlerConfig) GetTag() string { method GetReceiverSettings (line 170) | func (x *InboundHandlerConfig) GetReceiverSettings() *anypb.Any { method GetProxySettings (line 177) | func (x *InboundHandlerConfig) GetProxySettings() *anypb.Any { type OutboundHandlerConfig (line 185) | type OutboundHandlerConfig struct method Reset (line 201) | func (x *OutboundHandlerConfig) Reset() { method String (line 208) | func (x *OutboundHandlerConfig) String() string { method ProtoMessage (line 212) | func (*OutboundHandlerConfig) ProtoMessage() {} method ProtoReflect (line 214) | func (x *OutboundHandlerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 227) | func (*OutboundHandlerConfig) Descriptor() ([]byte, []int) { method GetTag (line 231) | func (x *OutboundHandlerConfig) GetTag() string { method GetSenderSettings (line 238) | func (x *OutboundHandlerConfig) GetSenderSettings() *anypb.Any { method GetProxySettings (line 245) | func (x *OutboundHandlerConfig) GetProxySettings() *anypb.Any { method GetExpire (line 252) | func (x *OutboundHandlerConfig) GetExpire() int64 { method GetComment (line 259) | func (x *OutboundHandlerConfig) GetComment() string { constant file_config_proto_rawDesc (line 268) | file_config_proto_rawDesc = "" + function file_config_proto_rawDescGZIP (line 296) | func file_config_proto_rawDescGZIP() []byte { function init (line 328) | func init() { file_config_proto_init() } function file_config_proto_init (line 329) | func file_config_proto_init() { FILE: context.go type v2rayKeyType (line 8) | type v2rayKeyType constant v2rayKey (line 10) | v2rayKey v2rayKeyType = 1 function FromContext (line 13) | func FromContext(ctx context.Context) *Instance { function MustFromContext (line 21) | func MustFromContext(ctx context.Context) *Instance { function toContext (line 39) | func toContext(ctx context.Context, v *Instance) context.Context { function ToBackgroundDetachedContext (line 50) | func ToBackgroundDetachedContext(ctx context.Context) context.Context { type temporaryValueDelegationFix (line 54) | type temporaryValueDelegationFix struct method Value (line 59) | func (t *temporaryValueDelegationFix) Value(key interface{}) interface... FILE: context_test.go function TestFromContextPanic (line 11) | func TestFromContextPanic(t *testing.T) { FILE: core.go function Version (line 29) | func Version() string { function VersionStatement (line 34) | func VersionStatement() []string { FILE: errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: features/dns/client.go type IPOption (line 11) | type IPOption struct method With (line 17) | func (opt IPOption) With(other IPOption) IPOption { method IsValid (line 25) | func (opt IPOption) IsValid() bool { type Client (line 32) | type Client interface type IPv4Lookup (line 42) | type IPv4Lookup interface type IPv6Lookup (line 49) | type IPv6Lookup interface function LookupIPWithOption (line 56) | func LookupIPWithOption(client Client, domain string, option IPOption) (... function ClientType (line 82) | func ClientType() interface{} { type RCodeError (line 89) | type RCodeError method Error (line 91) | func (e RCodeError) Error() string { function RCodeFromError (line 95) | func RCodeFromError(err error) uint16 { FILE: features/dns/fakedns.go type FakeDNSEngine (line 11) | type FakeDNSEngine interface type FakeDNSEngineRev0 (line 24) | type FakeDNSEngineRev0 interface type ClientWithFakeDNS (line 37) | type ClientWithFakeDNS interface function FakeDNSEngineType (line 48) | func FakeDNSEngineType() interface{} { FILE: features/dns/localdns/client.go type Client (line 9) | type Client struct method Type (line 12) | func (*Client) Type() interface{} { method Start (line 17) | func (*Client) Start() error { return nil } method Close (line 20) | func (*Client) Close() error { return nil } method LookupIP (line 23) | func (*Client) LookupIP(host string) ([]net.IP, error) { method LookupIPv4 (line 42) | func (c *Client) LookupIPv4(host string) ([]net.IP, error) { method LookupIPv6 (line 60) | func (c *Client) LookupIPv6(host string) ([]net.IP, error) { function New (line 78) | func New() *Client { FILE: features/dns/localdns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: features/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: features/extension/browser.go type BrowserForwarder (line 8) | type BrowserForwarder interface function BrowserForwarderType (line 12) | func BrowserForwarderType() interface{} { FILE: features/extension/contextreceiver.go type ContextReceiver (line 5) | type ContextReceiver interface FILE: features/extension/instance.go type InstanceManagement (line 10) | type InstanceManagement interface function InstanceManagementType (line 19) | func InstanceManagementType() interface{} { FILE: features/extension/observatory.go type Observatory (line 11) | type Observatory interface function ObservatoryType (line 16) | func ObservatoryType() interface{} { FILE: features/extension/storage.go type PersistentStorageEngine (line 9) | type PersistentStorageEngine interface FILE: features/extension/storage/storage.go type ScopedPersistentStorage (line 10) | type ScopedPersistentStorage interface type ScopedTransientStorage (line 20) | type ScopedTransientStorage interface type ScopedPersistentStorageService (line 30) | type ScopedPersistentStorageService interface type TransientStorageLifecycleReceiver (line 37) | type TransientStorageLifecycleReceiver interface FILE: features/feature.go type Feature (line 9) | type Feature interface function PrintDeprecatedFeatureWarning (line 15) | func PrintDeprecatedFeatureWarning(feature string) { type TaggedFeatures (line 20) | type TaggedFeatures interface FILE: features/inbound/inbound.go type Handler (line 14) | type Handler interface type Manager (line 26) | type Manager interface function ManagerType (line 40) | func ManagerType() interface{} { FILE: features/outbound/outbound.go type Handler (line 14) | type Handler interface type HandlerSelector (line 20) | type HandlerSelector interface type Manager (line 27) | type Manager interface function ManagerType (line 43) | func ManagerType() interface{} { FILE: features/policy/default.go type DefaultManager (line 8) | type DefaultManager struct method Type (line 11) | func (DefaultManager) Type() interface{} { method ForLevel (line 16) | func (DefaultManager) ForLevel(level uint32) Session { method ForSystem (line 25) | func (DefaultManager) ForSystem() System { method Start (line 30) | func (DefaultManager) Start() error { method Close (line 35) | func (DefaultManager) Close() error { FILE: features/policy/policy.go type Timeout (line 13) | type Timeout struct type Stats (line 25) | type Stats struct type Buffer (line 33) | type Buffer struct type SystemStats (line 39) | type SystemStats struct type System (line 51) | type System struct type Session (line 58) | type Session struct type Manager (line 67) | type Manager interface function ManagerType (line 80) | func ManagerType() interface{} { function init (line 86) | func init() { function defaultBufferPolicy (line 111) | func defaultBufferPolicy() Buffer { function SessionDefault (line 118) | func SessionDefault() Session { type policyKey (line 136) | type policyKey constant bufferPolicyKey (line 139) | bufferPolicyKey policyKey = 0 function ContextWithBufferPolicy (line 142) | func ContextWithBufferPolicy(ctx context.Context, p Buffer) context.Cont... function BufferPolicyFromContext (line 146) | func BufferPolicyFromContext(ctx context.Context) Buffer { FILE: features/routing/balancer.go type BalancerOverrider (line 3) | type BalancerOverrider interface type BalancerPrincipleTarget (line 8) | type BalancerPrincipleTarget interface FILE: features/routing/context.go type Context (line 10) | type Context interface FILE: features/routing/dispatcher.go type Dispatcher (line 15) | type Dispatcher interface function DispatcherType (line 25) | func DispatcherType() interface{} { FILE: features/routing/dns/context.go type ResolvableContext (line 12) | type ResolvableContext struct method GetTargetIPs (line 19) | func (ctx *ResolvableContext) GetTargetIPs() []net.IP { function ContextWithDNSClient (line 42) | func ContextWithDNSClient(ctx routing.Context, client dns.Client) routin... FILE: features/routing/dns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: features/routing/router.go type Router (line 11) | type Router interface type Route (line 21) | type Route interface function RouterType (line 35) | func RouterType() interface{} { type DefaultRouter (line 40) | type DefaultRouter struct method Type (line 43) | func (DefaultRouter) Type() interface{} { method PickRoute (line 48) | func (DefaultRouter) PickRoute(ctx Context) (Route, error) { method Start (line 53) | func (DefaultRouter) Start() error { method Close (line 58) | func (DefaultRouter) Close() error { FILE: features/routing/session/context.go type Context (line 12) | type Context struct method GetInboundTag (line 19) | func (ctx *Context) GetInboundTag() string { method GetSourceIPs (line 27) | func (ctx *Context) GetSourceIPs() []net.IP { method GetSourcePort (line 40) | func (ctx *Context) GetSourcePort() net.Port { method GetTargetIPs (line 48) | func (ctx *Context) GetTargetIPs() []net.IP { method GetTargetPort (line 61) | func (ctx *Context) GetTargetPort() net.Port { method GetTargetDomain (line 69) | func (ctx *Context) GetTargetDomain() string { method GetNetwork (line 81) | func (ctx *Context) GetNetwork() net.Network { method GetProtocol (line 89) | func (ctx *Context) GetProtocol() string { method GetUser (line 97) | func (ctx *Context) GetUser() string { method GetAttributes (line 105) | func (ctx *Context) GetAttributes() map[string]string { method GetSkipDNSResolve (line 113) | func (ctx *Context) GetSkipDNSResolve() bool { function AsRoutingContext (line 121) | func AsRoutingContext(ctx context.Context) routing.Context { FILE: features/stats/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: features/stats/stats.go type Counter (line 15) | type Counter interface type Channel (line 27) | type Channel interface function SubscribeRunnableChannel (line 41) | func SubscribeRunnableChannel(c Channel) (chan interface{}, error) { function UnsubscribeClosableChannel (line 51) | func UnsubscribeClosableChannel(c Channel, sub chan interface{}) error { type Manager (line 64) | type Manager interface function GetOrRegisterCounter (line 83) | func GetOrRegisterCounter(m Manager, name string) (Counter, error) { function GetOrRegisterChannel (line 93) | func GetOrRegisterChannel(m Manager, name string) (Channel, error) { function ManagerType (line 105) | func ManagerType() interface{} { type NoopManager (line 110) | type NoopManager struct method Type (line 113) | func (NoopManager) Type() interface{} { method RegisterCounter (line 118) | func (NoopManager) RegisterCounter(string) (Counter, error) { method UnregisterCounter (line 123) | func (NoopManager) UnregisterCounter(string) error { method GetCounter (line 128) | func (NoopManager) GetCounter(string) Counter { method RegisterChannel (line 133) | func (NoopManager) RegisterChannel(string) (Channel, error) { method UnregisterChannel (line 138) | func (NoopManager) UnregisterChannel(string) error { method GetChannel (line 143) | func (NoopManager) GetChannel(string) Channel { method Start (line 148) | func (NoopManager) Start() error { return nil } method Close (line 151) | func (NoopManager) Close() error { return nil } FILE: functions.go function CreateObject (line 15) | func CreateObject(v *Instance, config interface{}) (interface{}, error) { function CreateObjectWithEnvironment (line 19) | func CreateObjectWithEnvironment(v *Instance, config, environment interf... function StartInstance (line 32) | func StartInstance(configFormat string, configBytes []byte) (*Instance, ... function Dial (line 53) | func Dial(ctx context.Context, v *Instance, dest net.Destination) (net.C... function DialUDP (line 80) | func DialUDP(ctx context.Context, v *Instance) (net.PacketConn, error) { FILE: functions_test.go function xor (line 25) | func xor(b []byte) []byte { function xor2 (line 33) | func xor2(b []byte) []byte { function TestV2RayDial (line 41) | func TestV2RayDial(t *testing.T) { function TestV2RayDialUDPConn (line 91) | func TestV2RayDialUDPConn(t *testing.T) { function TestV2RayDialUDP (line 151) | func TestV2RayDialUDP(t *testing.T) { FILE: infra/conf/cfgcommon/buildable.go type Buildable (line 9) | type Buildable interface type BuildableV5 (line 13) | type BuildableV5 interface FILE: infra/conf/cfgcommon/common.go type StringList (line 14) | type StringList method Len (line 21) | func (v StringList) Len() int { method UnmarshalJSON (line 25) | func (v *StringList) UnmarshalJSON(data []byte) error { function NewStringList (line 16) | func NewStringList(raw []string) *StringList { type Address (line 41) | type Address struct method UnmarshalJSON (line 45) | func (v *Address) UnmarshalJSON(data []byte) error { method Build (line 55) | func (v *Address) Build() *net.IPOrDomain { type Network (line 59) | type Network method Build (line 61) | func (v Network) Build() net.Network { type NetworkList (line 65) | type NetworkList method UnmarshalJSON (line 67) | func (v *NetworkList) UnmarshalJSON(data []byte) error { method Build (line 88) | func (v *NetworkList) Build() []net.Network { function parseIntPort (line 100) | func parseIntPort(data []byte) (net.Port, error) { function parseStringPort (line 109) | func parseStringPort(s string) (net.Port, net.Port, error) { function parseJSONStringPort (line 135) | func parseJSONStringPort(data []byte) (net.Port, net.Port, error) { type PortRange (line 144) | type PortRange struct method Build (line 149) | func (v *PortRange) Build() *net.PortRange { method UnmarshalJSON (line 157) | func (v *PortRange) UnmarshalJSON(data []byte) error { type PortList (line 178) | type PortList struct method Build (line 182) | func (list *PortList) Build() *net.PortList { method UnmarshalJSON (line 191) | func (list *PortList) UnmarshalJSON(data []byte) error { method UnmarshalText (line 209) | func (list *PortList) UnmarshalText(listStr string) error { type User (line 232) | type User struct method Build (line 237) | func (v *User) Build() *protocol.User { FILE: infra/conf/cfgcommon/common_test.go function TestStringListUnmarshalError (line 17) | func TestStringListUnmarshalError(t *testing.T) { function TestStringListLen (line 26) | func TestStringListLen(t *testing.T) { function TestIPParsing (line 36) | func TestIPParsing(t *testing.T) { function TestDomainParsing (line 46) | func TestDomainParsing(t *testing.T) { function TestURLParsing (line 55) | func TestURLParsing(t *testing.T) { function TestInvalidAddressJson (line 74) | func TestInvalidAddressJson(t *testing.T) { function TestStringNetwork (line 83) | func TestStringNetwork(t *testing.T) { function TestArrayNetworkList (line 91) | func TestArrayNetworkList(t *testing.T) { function TestStringNetworkList (line 104) | func TestStringNetworkList(t *testing.T) { function TestInvalidNetworkJson (line 117) | func TestInvalidNetworkJson(t *testing.T) { function TestIntPort (line 125) | func TestIntPort(t *testing.T) { function TestOverRangeIntPort (line 136) | func TestOverRangeIntPort(t *testing.T) { function TestEnvPort (line 149) | func TestEnvPort(t *testing.T) { function TestSingleStringPort (line 162) | func TestSingleStringPort(t *testing.T) { function TestStringPairPort (line 173) | func TestStringPairPort(t *testing.T) { function TestOverRangeStringPort (line 184) | func TestOverRangeStringPort(t *testing.T) { function TestUserParsing (line 207) | func TestUserParsing(t *testing.T) { function TestInvalidUserJson (line 225) | func TestInvalidUserJson(t *testing.T) { FILE: infra/conf/cfgcommon/duration/duration.go type Duration (line 9) | type Duration method MarshalJSON (line 11) | func (d *Duration) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 16) | func (d *Duration) UnmarshalJSON(b []byte) error { FILE: infra/conf/cfgcommon/duration/duration_test.go type testWithDuration (line 11) | type testWithDuration struct function TestDurationJSON (line 15) | func TestDurationJSON(t *testing.T) { FILE: infra/conf/cfgcommon/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/cfgcommon/loader/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/cfgcommon/loader/loader.go type ConfigCreator (line 10) | type ConfigCreator type ConfigCreatorCache (line 12) | type ConfigCreatorCache method RegisterCreator (line 14) | func (v ConfigCreatorCache) RegisterCreator(id string, creator ConfigC... method CreateConfig (line 23) | func (v ConfigCreatorCache) CreateConfig(id string) (interface{}, erro... type JSONConfigLoader (line 31) | type JSONConfigLoader struct method LoadWithID (line 45) | func (v *JSONConfigLoader) LoadWithID(raw []byte, id string) (interfac... method Load (line 57) | func (v *JSONConfigLoader) Load(raw []byte) (interface{}, string, erro... function NewJSONConfigLoader (line 37) | func NewJSONConfigLoader(cache ConfigCreatorCache, idKey string, configK... FILE: infra/conf/cfgcommon/muxcfg/mux.go type MuxConfig (line 5) | type MuxConfig struct method Build (line 11) | func (m *MuxConfig) Build() *proxyman.MultiplexingConfig { FILE: infra/conf/cfgcommon/proxycfg/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/cfgcommon/proxycfg/proxy.go type ProxyConfig (line 5) | type ProxyConfig struct method Build (line 13) | func (v *ProxyConfig) Build() (*internet.ProxyConfig, error) { FILE: infra/conf/cfgcommon/session.go type configureLoadingContext (line 10) | type configureLoadingContext constant confContextKey (line 12) | confContextKey = configureLoadingContext(1) type configureLoadingEnvironment (line 14) | type configureLoadingEnvironment struct method GetGeoLoader (line 18) | func (c *configureLoadingEnvironment) GetGeoLoader() geodata.Loader { method doNotImpl (line 27) | func (c *configureLoadingEnvironment) doNotImpl() {} type ConfigureLoadingEnvironmentCapabilitySet (line 29) | type ConfigureLoadingEnvironmentCapabilitySet interface type ConfigureLoadingEnvironment (line 33) | type ConfigureLoadingEnvironment interface function NewConfigureLoadingContext (line 41) | func NewConfigureLoadingContext(ctx context.Context) context.Context { function GetConfigureLoadingEnvironment (line 46) | func GetConfigureLoadingEnvironment(ctx context.Context) ConfigureLoadin... function SetGeoDataLoader (line 50) | func SetGeoDataLoader(ctx context.Context, loader geodata.Loader) { FILE: infra/conf/cfgcommon/sniffer/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/cfgcommon/sniffer/sniffer.go type SniffingConfig (line 12) | type SniffingConfig struct method Build (line 19) | func (c *SniffingConfig) Build() (*proxyman.SniffingConfig, error) { FILE: infra/conf/cfgcommon/socketcfg/socket.go type SocketConfig (line 9) | type SocketConfig struct method Build (line 25) | func (c *SocketConfig) Build() (*internet.SocketConfig, error) { FILE: infra/conf/cfgcommon/testassist/general.go function LoadJSON (line 13) | func LoadJSON(creator func() cfgcommon.Buildable) func(string) (proto.Me... type TestCase (line 23) | type TestCase struct function RunMultiTestCase (line 29) | func RunMultiTestCase(t *testing.T, testCases []TestCase) { FILE: infra/conf/cfgcommon/tlscfg/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/cfgcommon/tlscfg/tls.go type TLSConfig (line 16) | type TLSConfig struct method Build (line 30) | func (c *TLSConfig) Build() (proto.Message, error) { type TLSCertConfig (line 76) | type TLSCertConfig struct method Build (line 85) | func (c *TLSCertConfig) Build() (*tls.Certificate, error) { function readFileOrString (line 118) | func readFileOrString(f string, s []string) ([]byte, error) { FILE: infra/conf/geodata/attr.go type AttributeList (line 9) | type AttributeList struct method Match (line 13) | func (al *AttributeList) Match(domain *routercommon.Domain) bool { method IsEmpty (line 22) | func (al *AttributeList) IsEmpty() bool { function parseAttrs (line 26) | func parseAttrs(attrs []string) *AttributeList { type AttributeMatcher (line 38) | type AttributeMatcher interface type BooleanMatcher (line 42) | type BooleanMatcher method Match (line 44) | func (m BooleanMatcher) Match(domain *routercommon.Domain) bool { FILE: infra/conf/geodata/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/geodata/geodata.go type loader (line 9) | type loader struct method LoadGeoSite (line 13) | func (l *loader) LoadGeoSite(list string) ([]*routercommon.Domain, err... method LoadGeoSiteWithAttr (line 17) | func (l *loader) LoadGeoSiteWithAttr(file string, siteWithAttr string)... method LoadGeoIP (line 57) | func (l *loader) LoadGeoIP(country string) ([]*routercommon.CIDR, erro... function RegisterGeoDataLoaderImplementationCreator (line 63) | func RegisterGeoDataLoaderImplementationCreator(name string, loader func... function getGeoDataLoaderImplementation (line 70) | func getGeoDataLoaderImplementation(name string) (LoaderImplementation, ... function GetGeoDataLoader (line 77) | func GetGeoDataLoader(name string) (Loader, error) { FILE: infra/conf/geodata/geodata_test.go function init (line 18) | func init() { function BenchmarkStandardLoaderGeoIP (line 47) | func BenchmarkStandardLoaderGeoIP(b *testing.B) { function BenchmarkStandardLoaderGeoSite (line 63) | func BenchmarkStandardLoaderGeoSite(b *testing.B) { function BenchmarkMemconservativeLoaderGeoIP (line 79) | func BenchmarkMemconservativeLoaderGeoIP(b *testing.B) { function BenchmarkMemconservativeLoaderGeoSite (line 95) | func BenchmarkMemconservativeLoaderGeoSite(b *testing.B) { function BenchmarkAllLoader (line 111) | func BenchmarkAllLoader(b *testing.B) { FILE: infra/conf/geodata/geodataproto.go type LoaderImplementation (line 9) | type LoaderImplementation interface type Loader (line 14) | type Loader interface FILE: infra/conf/geodata/memconservative/cache.go type GeoIPCache (line 13) | type GeoIPCache method Has (line 15) | func (g GeoIPCache) Has(key string) bool { method Get (line 19) | func (g GeoIPCache) Get(key string) *routercommon.GeoIP { method Set (line 26) | func (g GeoIPCache) Set(key string, value *routercommon.GeoIP) { method Unmarshal (line 33) | func (g GeoIPCache) Unmarshal(filename, code string) (*routercommon.Ge... type GeoSiteCache (line 78) | type GeoSiteCache method Has (line 80) | func (g GeoSiteCache) Has(key string) bool { method Get (line 84) | func (g GeoSiteCache) Get(key string) *routercommon.GeoSite { method Set (line 91) | func (g GeoSiteCache) Set(key string, value *routercommon.GeoSite) { method Unmarshal (line 98) | func (g GeoSiteCache) Unmarshal(filename, code string) (*routercommon.... FILE: infra/conf/geodata/memconservative/decode.go function emitBytes (line 21) | func emitBytes(f io.ReadSeeker, code string) ([]byte, error) { function Decode (line 93) | func Decode(filename, code string) ([]byte, error) { FILE: infra/conf/geodata/memconservative/decode_test.go function init (line 16) | func init() { function TestDecodeGeoIP (line 45) | func TestDecodeGeoIP(t *testing.T) { function TestDecodeGeoSite (line 58) | func TestDecodeGeoSite(t *testing.T) { FILE: infra/conf/geodata/memconservative/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/geodata/memconservative/memc.go type memConservativeLoader (line 12) | type memConservativeLoader struct method LoadIP (line 17) | func (m *memConservativeLoader) LoadIP(filename, country string) ([]*r... method LoadSite (line 26) | func (m *memConservativeLoader) LoadSite(filename, list string) ([]*ro... function newMemConservativeLoader (line 35) | func newMemConservativeLoader() geodata.LoaderImplementation { function init (line 39) | func init() { FILE: infra/conf/geodata/standard/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/geodata/standard/standard.go function loadIP (line 15) | func loadIP(filename, country string) ([]*routercommon.CIDR, error) { function loadSite (line 34) | func loadSite(filename, list string) ([]*routercommon.Domain, error) { type standardLoader (line 53) | type standardLoader struct method LoadSite (line 55) | func (d standardLoader) LoadSite(filename, list string) ([]*routercomm... method LoadIP (line 59) | func (d standardLoader) LoadIP(filename, country string) ([]*routercom... function init (line 63) | func init() { FILE: infra/conf/json/json_test.go function assertResult (line 9) | func assertResult(t *testing.T, value map[string]interface{}, expected s... FILE: infra/conf/json/reader.go type State (line 10) | type State constant StateContent (line 13) | StateContent State = iota constant StateEscape (line 14) | StateEscape constant StateDoubleQuote (line 15) | StateDoubleQuote constant StateDoubleQuoteEscape (line 16) | StateDoubleQuoteEscape constant StateSingleQuote (line 17) | StateSingleQuote constant StateSingleQuoteEscape (line 18) | StateSingleQuoteEscape constant StateComment (line 19) | StateComment constant StateSlash (line 20) | StateSlash constant StateMultilineComment (line 21) | StateMultilineComment constant StateMultilineCommentStar (line 22) | StateMultilineCommentStar type Reader (line 27) | type Reader struct method Read (line 36) | func (v *Reader) Read(b []byte) (int, error) { FILE: infra/conf/json/reader_test.go function TestReader (line 14) | func TestReader(t *testing.T) { function TestReader1 (line 59) | func TestReader1(t *testing.T) { FILE: infra/conf/json/toml.go function FromTOML (line 12) | func FromTOML(v []byte) ([]byte, error) { function jsonFromTomlReader (line 21) | func jsonFromTomlReader(r io.Reader) (string, error) { function mapToJSON (line 29) | func mapToJSON(tree *toml.Tree) (string, error) { FILE: infra/conf/json/toml_test.go function TestTOMLToJSON_V2Style (line 10) | func TestTOMLToJSON_V2Style(t *testing.T) { function TestTOMLToJSON_ValueTypes (line 76) | func TestTOMLToJSON_ValueTypes(t *testing.T) { FILE: infra/conf/json/yaml.go function FromYAML (line 11) | func FromYAML(v []byte) ([]byte, error) { function convert (line 25) | func convert(m map[interface{}]interface{}) map[string]interface{} { FILE: infra/conf/json/yaml_test.go function TestYMLToJSON_V2Style (line 10) | func TestYMLToJSON_V2Style(t *testing.T) { function TestYMLToJSON_ValueTypes (line 72) | func TestYMLToJSON_ValueTypes(t *testing.T) { FILE: infra/conf/jsonpb/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/jsonpb/jsonpb.go function loadJSONPB (line 19) | func loadJSONPB(data io.Reader) (*core.Config, error) { function dumpJSONPb (line 29) | func dumpJSONPb(config proto.Message, w io.Writer) error { function DumpJSONPb (line 38) | func DumpJSONPb(config proto.Message, w io.Writer) error { constant FormatProtobufJSONPB (line 42) | FormatProtobufJSONPB = "jsonpb" function init (line 44) | func init() { FILE: infra/conf/merge/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/merge/map.go function mergeMaps (line 14) | func mergeMaps(target map[string]interface{}, source map[string]interfac... function mergeField (line 24) | func mergeField(target interface{}, source interface{}) (interface{}, er... FILE: infra/conf/merge/merge.go function JSONs (line 25) | func JSONs(args [][]byte) ([]byte, error) { function ToMap (line 36) | func ToMap(content []byte, target map[string]interface{}) (map[string]in... function FromMap (line 53) | func FromMap(target map[string]interface{}) ([]byte, error) { FILE: infra/conf/merge/merge_test.go function TestMergeV2Style (line 17) | func TestMergeV2Style(t *testing.T) { function TestMergeTag (line 60) | func TestMergeTag(t *testing.T) { function TestMergeTagValueTypes (line 101) | func TestMergeTagValueTypes(t *testing.T) { function TestMergeTagDeep (line 157) | func TestMergeTagDeep(t *testing.T) { function TestNoMergeDnsServers (line 197) | func TestNoMergeDnsServers(t *testing.T) { function assertResult (line 299) | func assertResult(t *testing.T, value []byte, expected string) { FILE: infra/conf/merge/priority.go function getPriority (line 9) | func getPriority(v interface{}) float64 { function sortByPriority (line 24) | func sortByPriority(slice []interface{}) { FILE: infra/conf/merge/rules.go constant priorityKey (line 10) | priorityKey string = "_priority" constant tagKey (line 11) | tagKey string = "_tag" function ApplyRules (line 15) | func ApplyRules(m map[string]interface{}) error { function sortMergeSlices (line 25) | func sortMergeSlices(target map[string]interface{}, path string) error { function removeHelperFields (line 46) | func removeHelperFields(target map[string]interface{}) { FILE: infra/conf/merge/tag.go function getTag (line 11) | func getTag(v map[string]interface{}, tagKeyOnly bool) string { function mergeSameTag (line 27) | func mergeSameTag(s []interface{}, path string) ([]interface{}, error) { FILE: infra/conf/mergers/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/mergers/extensions.go function GetExtensions (line 6) | func GetExtensions(formatName string) ([]string, error) { function GetAllExtensions (line 19) | func GetAllExtensions() []string { FILE: infra/conf/mergers/merge.go function MergeAs (line 13) | func MergeAs(formatName string, input interface{}, m map[string]interfac... function Merge (line 24) | func Merge(input interface{}, m map[string]interface{}) error { function mergeSingleFile (line 69) | func mergeSingleFile(input interface{}, m map[string]interface{}) error { function getExtension (line 94) | func getExtension(filename string) string { FILE: infra/conf/mergers/merger_base.go type jsonConverter (line 12) | type jsonConverter function makeMerger (line 15) | func makeMerger(name string, extensions []string, converter jsonConverte... function makeToJSONMergeFunc (line 24) | func makeToJSONMergeFunc(converter func(v []byte) ([]byte, error)) Merge... function loadFiles (line 65) | func loadFiles(files []string, target map[string]interface{}, converter ... function loadFile (line 75) | func loadFile(file string, target map[string]interface{}, converter func... function loadReader (line 90) | func loadReader(reader io.Reader, target map[string]interface{}, convert... function loadBytes (line 98) | func loadBytes(bs []byte, target map[string]interface{}, converter func(... FILE: infra/conf/mergers/mergers.go function init (line 13) | func init() { type Merger (line 39) | type Merger struct type MergeFunc (line 46) | type MergeFunc function RegisterMerger (line 54) | func RegisterMerger(format *Merger) error { FILE: infra/conf/mergers/names.go function GetAllNames (line 4) | func GetAllNames() []string { FILE: infra/conf/rule/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/rule/rule.go function parseDomainRule (line 17) | func parseDomainRule(ctx context.Context, domain string) ([]*routercommo... function toCidrList (line 113) | func toCidrList(ctx context.Context, ips cfgcommon.StringList) ([]*route... function parseFieldRule (line 204) | func parseFieldRule(ctx context.Context, msg json.RawMessage) (*router.R... function ParseRule (line 316) | func ParseRule(ctx context.Context, msg json.RawMessage) (*router.Routin... function ParseIP (line 333) | func ParseIP(s string) (*routercommon.CIDR, error) { function ParseDomainRule (line 381) | func ParseDomainRule(ctx context.Context, domain string) ([]*routercommo... function ToCidrList (line 385) | func ToCidrList(ctx context.Context, ips cfgcommon.StringList) ([]*route... type RouterRule (line 389) | type RouterRule struct FILE: infra/conf/rule/rule_test.go function init (line 20) | func init() { function TestToCidrList (line 39) | func TestToCidrList(t *testing.T) { FILE: infra/conf/serial/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/serial/loader.go type offset (line 14) | type offset struct function findOffset (line 19) | func findOffset(b []byte, o int) *offset { function DecodeJSONConfig (line 43) | func DecodeJSONConfig(reader io.Reader) (*v4.Config, error) { function DecodeJSON (line 54) | func DecodeJSON(reader io.Reader, target interface{}) error { function LoadJSONConfig (line 79) | func LoadJSONConfig(reader io.Reader) (*core.Config, error) { FILE: infra/conf/serial/loader_test.go function TestLoaderError (line 11) | func TestLoaderError(t *testing.T) { FILE: infra/conf/synthetic/dns/dns.go type NameServerConfig (line 21) | type NameServerConfig struct method UnmarshalJSON (line 37) | func (c *NameServerConfig) UnmarshalJSON(data []byte) error { method BuildV5 (line 90) | func (c *NameServerConfig) BuildV5(ctx context.Context) (*dns.NameServ... method Build (line 95) | func (c *NameServerConfig) Build() (*dns.NameServer, error) { function toDomainMatchingType (line 75) | func toDomainMatchingType(t routercommon.Domain_Type) dns.DomainMatching... type DNSConfig (line 206) | type DNSConfig struct method BuildV5 (line 268) | func (c *DNSConfig) BuildV5(ctx context.Context) (*dns.Config, error) { method Build (line 274) | func (c *DNSConfig) Build() (*dns.Config, error) { type HostAddress (line 222) | type HostAddress struct method UnmarshalJSON (line 228) | func (h *HostAddress) UnmarshalJSON(data []byte) error { function getHostMapping (line 242) | func getHostMapping(ha *HostAddress) *dns.HostMapping { FILE: infra/conf/synthetic/dns/dns_test.go function init (line 23) | func init() { function TestDNSConfigParsing (line 52) | func TestDNSConfigParsing(t *testing.T) { FILE: infra/conf/synthetic/dns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/synthetic/dns/fakedns.go type FakeDNSPoolElementConfig (line 10) | type FakeDNSPoolElementConfig struct type FakeDNSConfig (line 15) | type FakeDNSConfig struct method UnmarshalJSON (line 21) | func (f *FakeDNSConfig) UnmarshalJSON(data []byte) error { method Build (line 53) | func (f *FakeDNSConfig) Build() (*fakedns.FakeDnsPoolMulti, error) { type FakeDNSConfigExtend (line 74) | type FakeDNSConfigExtend struct method UnmarshalJSON (line 78) | func (f *FakeDNSConfigExtend) UnmarshalJSON(data []byte) error { FILE: infra/conf/synthetic/log/log.go function DefaultLogConfig (line 10) | func DefaultLogConfig() *log.Config { type LogConfig (line 17) | type LogConfig struct method Build (line 23) | func (v *LogConfig) Build() *log.Config { FILE: infra/conf/synthetic/router/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/synthetic/router/router.go type RouterRulesConfig (line 20) | type RouterRulesConfig struct type StrategyConfig (line 26) | type StrategyConfig struct type BalancingRule (line 31) | type BalancingRule struct method Build (line 39) | func (r *BalancingRule) Build() (*router.BalancingRule, error) { type RouterConfig (line 85) | type RouterConfig struct method getDomainStrategy (line 96) | func (c *RouterConfig) getDomainStrategy() router.DomainStrategy { method BuildV5 (line 116) | func (c *RouterConfig) BuildV5(ctx context.Context) (*router.Config, e... method Build (line 121) | func (c *RouterConfig) Build() (*router.Config, error) { FILE: infra/conf/synthetic/router/router_strategy.go constant strategyRandom (line 13) | strategyRandom string = "random" constant strategyLeastLoad (line 14) | strategyLeastLoad string = "leastload" constant strategyLeastPing (line 15) | strategyLeastPing string = "leastping" type strategyEmptyConfig (line 24) | type strategyEmptyConfig struct method Build (line 26) | func (v *strategyEmptyConfig) Build() (proto.Message, error) { type strategyLeastLoadConfig (line 30) | type strategyLeastLoadConfig struct method Build (line 65) | func (v *strategyLeastLoadConfig) Build() (proto.Message, error) { type HealthCheckSettings (line 46) | type HealthCheckSettings struct method Build (line 54) | func (h HealthCheckSettings) Build() (proto.Message, error) { type strategyLeastPingConfig (line 94) | type strategyLeastPingConfig struct method Build (line 98) | func (s strategyLeastPingConfig) Build() (proto.Message, error) { type strategyRandomConfig (line 102) | type strategyRandomConfig struct method Build (line 107) | func (s strategyRandomConfig) Build() (proto.Message, error) { FILE: infra/conf/synthetic/router/router_test.go function TestRouterConfig (line 21) | func TestRouterConfig(t *testing.T) { FILE: infra/conf/v2jsonpb/any2.go type anyresolverv2 (line 9) | type anyresolverv2 struct method FindMessageByName (line 13) | func (r anyresolverv2) FindMessageByName(message protoreflect.FullName... method FindMessageByURL (line 17) | func (r anyresolverv2) FindMessageByURL(url string) (protoreflect.Mess... method FindExtensionByName (line 25) | func (r anyresolverv2) FindExtensionByName(field protoreflect.FullName... method FindExtensionByNumber (line 29) | func (r anyresolverv2) FindExtensionByNumber(message protoreflect.Full... FILE: infra/conf/v2jsonpb/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/v2jsonpb/follower.go type V2JsonProtobufFollowerFieldDescriptor (line 11) | type V2JsonProtobufFollowerFieldDescriptor struct type V2JsonProtobufFollower (line 15) | type V2JsonProtobufFollower struct method Type (line 19) | func (v *V2JsonProtobufFollower) Type() protoreflect.MessageType { method New (line 23) | func (v *V2JsonProtobufFollower) New() protoreflect.Message { method Interface (line 27) | func (v *V2JsonProtobufFollower) Interface() protoreflect.ProtoMessage { method Range (line 31) | func (v *V2JsonProtobufFollower) Range(f func(protoreflect.FieldDescri... method Has (line 83) | func (v *V2JsonProtobufFollower) Has(descriptor protoreflect.FieldDesc... method Clear (line 87) | func (v *V2JsonProtobufFollower) Clear(descriptor protoreflect.FieldDe... method Set (line 91) | func (v *V2JsonProtobufFollower) Set(descriptor protoreflect.FieldDesc... method Mutable (line 109) | func (v *V2JsonProtobufFollower) Mutable(descriptor protoreflect.Field... method NewField (line 123) | func (v *V2JsonProtobufFollower) NewField(descriptor protoreflect.Fiel... method WhichOneof (line 140) | func (v *V2JsonProtobufFollower) WhichOneof(descriptor protoreflect.On... method GetUnknown (line 144) | func (v *V2JsonProtobufFollower) GetUnknown() protoreflect.RawFields { method SetUnknown (line 148) | func (v *V2JsonProtobufFollower) SetUnknown(fields protoreflect.RawFie... method IsValid (line 152) | func (v *V2JsonProtobufFollower) IsValid() bool { method ProtoReflect (line 156) | func (v *V2JsonProtobufFollower) ProtoReflect() protoreflect.Message { method Descriptor (line 160) | func (v *V2JsonProtobufFollower) Descriptor() protoreflect.MessageDesc... method Get (line 169) | func (v *V2JsonProtobufFollower) Get(fd protoreflect.FieldDescriptor) ... function followValue (line 65) | func followValue(descriptor protoreflect.FieldDescriptor, value protoref... type V2JsonProtobufFollowerDescriptor (line 173) | type V2JsonProtobufFollowerDescriptor struct method Fields (line 177) | func (v *V2JsonProtobufFollowerDescriptor) Fields() protoreflect.Field... type V2JsonProtobufFollowerFields (line 181) | type V2JsonProtobufFollowerFields struct method ByJSONName (line 185) | func (v *V2JsonProtobufFollowerFields) ByJSONName(s string) protorefle... method ByTextName (line 189) | func (v *V2JsonProtobufFollowerFields) ByTextName(s string) protorefle... FILE: infra/conf/v2jsonpb/followerany.go type V2JsonProtobufAnyTypeDescriptor (line 5) | type V2JsonProtobufAnyTypeDescriptor struct method FullName (line 9) | func (v V2JsonProtobufAnyTypeDescriptor) FullName() protoreflect.FullN... method Fields (line 13) | func (v V2JsonProtobufAnyTypeDescriptor) Fields() protoreflect.FieldDe... type V2JsonProtobufAnyTypeFields (line 17) | type V2JsonProtobufAnyTypeFields struct method Len (line 21) | func (v V2JsonProtobufAnyTypeFields) Len() int { method Get (line 25) | func (v V2JsonProtobufAnyTypeFields) Get(i int) protoreflect.FieldDesc... method ByName (line 29) | func (v V2JsonProtobufAnyTypeFields) ByName(s protoreflect.Name) proto... method ByJSONName (line 33) | func (v V2JsonProtobufAnyTypeFields) ByJSONName(s string) protoreflect... method ByTextName (line 42) | func (v V2JsonProtobufAnyTypeFields) ByTextName(s string) protoreflect... method ByNumber (line 46) | func (v V2JsonProtobufAnyTypeFields) ByNumber(n protoreflect.FieldNumb... type V2JsonProtobufAnyTypeFieldDescriptor (line 50) | type V2JsonProtobufAnyTypeFieldDescriptor struct method JSONName (line 54) | func (v V2JsonProtobufAnyTypeFieldDescriptor) JSONName() string { method TextName (line 58) | func (v V2JsonProtobufAnyTypeFieldDescriptor) TextName() string { type V2JsonProtobufAnyValueField (line 62) | type V2JsonProtobufAnyValueField struct method Kind (line 67) | func (v *V2JsonProtobufAnyValueField) Kind() protoreflect.Kind { method JSONName (line 71) | func (v *V2JsonProtobufAnyValueField) JSONName() string { method TextName (line 75) | func (v *V2JsonProtobufAnyValueField) TextName() string { type V2JsonProtobufAnyValueFieldReturn (line 79) | type V2JsonProtobufAnyValueFieldReturn struct method ProtoReflect (line 83) | func (v *V2JsonProtobufAnyValueFieldReturn) ProtoReflect() protoreflec... FILE: infra/conf/v2jsonpb/followerlist.go type V2JsonProtobufListFollower (line 5) | type V2JsonProtobufListFollower struct method Len (line 9) | func (v V2JsonProtobufListFollower) Len() int { method Get (line 13) | func (v V2JsonProtobufListFollower) Get(i int) protoreflect.Value { method Set (line 17) | func (v V2JsonProtobufListFollower) Set(i int, value protoreflect.Valu... method Append (line 21) | func (v V2JsonProtobufListFollower) Append(value protoreflect.Value) { method AppendMutable (line 25) | func (v V2JsonProtobufListFollower) AppendMutable() protoreflect.Value { method Truncate (line 29) | func (v V2JsonProtobufListFollower) Truncate(i int) { method NewElement (line 33) | func (v V2JsonProtobufListFollower) NewElement() protoreflect.Value { method IsValid (line 38) | func (v V2JsonProtobufListFollower) IsValid() bool { FILE: infra/conf/v2jsonpb/followermap.go type V2JsonProtobufMapFollower (line 5) | type V2JsonProtobufMapFollower struct method Len (line 10) | func (v V2JsonProtobufMapFollower) Len() int { method Range (line 14) | func (v V2JsonProtobufMapFollower) Range(f func(protoreflect.MapKey, p... method Has (line 20) | func (v V2JsonProtobufMapFollower) Has(key protoreflect.MapKey) bool { method Clear (line 24) | func (v V2JsonProtobufMapFollower) Clear(key protoreflect.MapKey) { method Get (line 28) | func (v V2JsonProtobufMapFollower) Get(key protoreflect.MapKey) protor... method Set (line 32) | func (v V2JsonProtobufMapFollower) Set(key protoreflect.MapKey, value ... method Mutable (line 36) | func (v V2JsonProtobufMapFollower) Mutable(key protoreflect.MapKey) pr... method NewValue (line 40) | func (v V2JsonProtobufMapFollower) NewValue() protoreflect.Value { method IsValid (line 45) | func (v V2JsonProtobufMapFollower) IsValid() bool { function followMapValue (line 49) | func followMapValue(descriptor protoreflect.FieldDescriptor, value proto... FILE: infra/conf/v2jsonpb/v2jsonpb.go function loadV2JsonPb (line 18) | func loadV2JsonPb(data []byte) (*core.Config, error) { function dumpV2JsonPb (line 28) | func dumpV2JsonPb(config proto.Message) ([]byte, error) { function DumpV2JsonPb (line 37) | func DumpV2JsonPb(config proto.Message) ([]byte, error) { constant FormatProtobufV2JSONPB (line 41) | FormatProtobufV2JSONPB = "v2jsonpb" function init (line 43) | func init() { FILE: infra/conf/v4/api.go type APIConfig (line 19) | type APIConfig struct method Build (line 24) | func (c *APIConfig) Build() (*commander.Config, error) { FILE: infra/conf/v4/blackhole.go type NoneResponse (line 14) | type NoneResponse struct method Build (line 16) | func (*NoneResponse) Build() (proto.Message, error) { type HTTPResponse (line 20) | type HTTPResponse struct method Build (line 22) | func (*HTTPResponse) Build() (proto.Message, error) { type BlackholeConfig (line 26) | type BlackholeConfig struct method Build (line 30) | func (v *BlackholeConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/blackhole_test.go function TestHTTPResponseJSON (line 13) | func TestHTTPResponseJSON(t *testing.T) { FILE: infra/conf/v4/browser_forwarder.go type BrowserForwarderConfig (line 11) | type BrowserForwarderConfig struct method Build (line 16) | func (b *BrowserForwarderConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/dns_proxy.go type DNSOutboundConfig (line 11) | type DNSOutboundConfig struct method Build (line 18) | func (c *DNSOutboundConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/dns_proxy_test.go function TestDnsProxyConfig (line 13) | func TestDnsProxyConfig(t *testing.T) { FILE: infra/conf/v4/dokodemo.go type DokodemoConfig (line 10) | type DokodemoConfig struct method Build (line 19) | func (v *DokodemoConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/dokodemo_test.go function TestDokodemoConfig (line 13) | func TestDokodemoConfig(t *testing.T) { FILE: infra/conf/v4/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/v4/freedom.go type FreedomConfig (line 14) | type FreedomConfig struct method Build (line 22) | func (c *FreedomConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/freedom_test.go function TestFreedomConfig (line 14) | func TestFreedomConfig(t *testing.T) { FILE: infra/conf/v4/gun.go type GunConfig (line 9) | type GunConfig struct method Build (line 17) | func (g GunConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/http.go type HTTPAccount (line 14) | type HTTPAccount struct method Build (line 19) | func (v *HTTPAccount) Build() *http.Account { type HTTPServerConfig (line 26) | type HTTPServerConfig struct method Build (line 33) | func (c *HTTPServerConfig) Build() (proto.Message, error) { type HTTPRemoteConfig (line 50) | type HTTPRemoteConfig struct type HTTPClientConfig (line 56) | type HTTPClientConfig struct method Build (line 60) | func (v *HTTPClientConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/http_test.go function TestHTTPServerConfig (line 12) | func TestHTTPServerConfig(t *testing.T) { FILE: infra/conf/v4/hysteria2.go type Hysteria2ServerTarget (line 14) | type Hysteria2ServerTarget struct type Hysteria2ClientConfig (line 22) | type Hysteria2ClientConfig struct method Build (line 27) | func (c *Hysteria2ClientConfig) Build() (proto.Message, error) { type Hysteria2ServerConfig (line 64) | type Hysteria2ServerConfig struct method Build (line 69) | func (c *Hysteria2ServerConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/lint.go type ConfigureFilePostProcessingStage (line 3) | type ConfigureFilePostProcessingStage interface function RegisterConfigureFilePostProcessingStage (line 9) | func RegisterConfigureFilePostProcessingStage(name string, stage Configu... function PostProcessConfigureFile (line 16) | func PostProcessConfigureFile(conf *Config) error { FILE: infra/conf/v4/loopback.go type LoopbackConfig (line 9) | type LoopbackConfig struct method Build (line 13) | func (l LoopbackConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/observatory.go type ObservatoryConfig (line 18) | type ObservatoryConfig struct method Build (line 24) | func (o *ObservatoryConfig) Build() (proto.Message, error) { type BurstObservatoryConfig (line 28) | type BurstObservatoryConfig struct method Build (line 34) | func (b BurstObservatoryConfig) Build() (proto.Message, error) { type MultiObservatoryItem (line 42) | type MultiObservatoryItem struct type MultiObservatoryConfig (line 48) | type MultiObservatoryConfig struct method Build (line 52) | func (o *MultiObservatoryConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/policy.go type Policy (line 7) | type Policy struct method Build (line 17) | func (t *Policy) Build() (*policy.Policy, error) { type SystemPolicy (line 53) | type SystemPolicy struct method Build (line 61) | func (p *SystemPolicy) Build() (*policy.SystemPolicy, error) { type PolicyConfig (line 73) | type PolicyConfig struct method Build (line 78) | func (c *PolicyConfig) Build() (*policy.Config, error) { FILE: infra/conf/v4/policy_test.go function TestBufferSize (line 10) | func TestBufferSize(t *testing.T) { FILE: infra/conf/v4/reverse.go type BridgeConfig (line 9) | type BridgeConfig struct method Build (line 14) | func (c *BridgeConfig) Build() (*reverse.BridgeConfig, error) { type PortalConfig (line 21) | type PortalConfig struct method Build (line 26) | func (c *PortalConfig) Build() (*reverse.PortalConfig, error) { type ReverseConfig (line 33) | type ReverseConfig struct method Build (line 38) | func (c *ReverseConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/reverse_test.go function TestReverseConfig (line 12) | func TestReverseConfig(t *testing.T) { FILE: infra/conf/v4/services.go method BuildServices (line 14) | func (c *Config) BuildServices(service map[string]*json.RawMessage) ([]*... FILE: infra/conf/v4/shadowsocks.go type ShadowsocksServerConfig (line 13) | type ShadowsocksServerConfig struct method Build (line 24) | func (v *ShadowsocksServerConfig) Build() (proto.Message, error) { type ShadowsocksServerTarget (line 57) | type ShadowsocksServerTarget struct type ShadowsocksClientConfig (line 68) | type ShadowsocksClientConfig struct method Build (line 72) | func (v *ShadowsocksClientConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/shadowsocks_test.go function TestShadowsocksServerConfigParsing (line 15) | func TestShadowsocksServerConfigParsing(t *testing.T) { FILE: infra/conf/v4/socks.go type SocksAccount (line 16) | type SocksAccount struct method Build (line 21) | func (v *SocksAccount) Build() *socks.Account { constant AuthMethodNoAuth (line 29) | AuthMethodNoAuth = "noauth" constant AuthMethodUserPass (line 30) | AuthMethodUserPass = "password" type SocksServerConfig (line 33) | type SocksServerConfig struct method Build (line 43) | func (v *SocksServerConfig) Build() (proto.Message, error) { type SocksRemoteConfig (line 80) | type SocksRemoteConfig struct type SocksClientConfig (line 86) | type SocksClientConfig struct method Build (line 91) | func (v *SocksClientConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/socks_test.go function TestSocksInboundConfig (line 16) | func TestSocksInboundConfig(t *testing.T) { function TestSocksOutboundConfig (line 57) | func TestSocksOutboundConfig(t *testing.T) { FILE: infra/conf/v4/transport.go type TransportConfig (line 9) | type TransportConfig struct method Build (line 21) | func (c *TransportConfig) Build() (*transport.Config, error) { FILE: infra/conf/v4/transport_authenticators.go type NoOpAuthenticator (line 18) | type NoOpAuthenticator struct method Build (line 20) | func (NoOpAuthenticator) Build() (proto.Message, error) { type NoOpConnectionAuthenticator (line 24) | type NoOpConnectionAuthenticator struct method Build (line 26) | func (NoOpConnectionAuthenticator) Build() (proto.Message, error) { type SRTPAuthenticator (line 30) | type SRTPAuthenticator struct method Build (line 32) | func (SRTPAuthenticator) Build() (proto.Message, error) { type UTPAuthenticator (line 36) | type UTPAuthenticator struct method Build (line 38) | func (UTPAuthenticator) Build() (proto.Message, error) { type WechatVideoAuthenticator (line 42) | type WechatVideoAuthenticator struct method Build (line 44) | func (WechatVideoAuthenticator) Build() (proto.Message, error) { type WireguardAuthenticator (line 48) | type WireguardAuthenticator struct method Build (line 50) | func (WireguardAuthenticator) Build() (proto.Message, error) { type DTLSAuthenticator (line 54) | type DTLSAuthenticator struct method Build (line 56) | func (DTLSAuthenticator) Build() (proto.Message, error) { type AuthenticatorRequest (line 60) | type AuthenticatorRequest struct method Build (line 76) | func (v *AuthenticatorRequest) Build() (*http.RequestConfig, error) { function sortMapKeys (line 67) | func sortMapKeys(m map[string]*cfgcommon.StringList) []string { type AuthenticatorResponse (line 136) | type AuthenticatorResponse struct method Build (line 143) | func (v *AuthenticatorResponse) Build() (*http.ResponseConfig, error) { type Authenticator (line 204) | type Authenticator struct method Build (line 209) | func (v *Authenticator) Build() (proto.Message, error) { FILE: infra/conf/v4/transport_internet.go type KCPConfig (line 42) | type KCPConfig struct method Build (line 55) | func (c *KCPConfig) Build() (proto.Message, error) { type TCPConfig (line 116) | type TCPConfig struct method Build (line 122) | func (c *TCPConfig) Build() (proto.Message, error) { type Hy2ConfigCongestion (line 141) | type Hy2ConfigCongestion struct type Hy2Config (line 147) | type Hy2Config struct method Build (line 155) | func (c *Hy2Config) Build() (proto.Message, error) { type WebSocketConfig (line 168) | type WebSocketConfig struct method Build (line 178) | func (c *WebSocketConfig) Build() (proto.Message, error) { type HTTPConfig (line 200) | type HTTPConfig struct method Build (line 208) | func (c *HTTPConfig) Build() (proto.Message, error) { type QUICConfig (line 235) | type QUICConfig struct method Build (line 242) | func (c *QUICConfig) Build() (proto.Message, error) { type DomainSocketConfig (line 276) | type DomainSocketConfig struct method Build (line 283) | func (c *DomainSocketConfig) Build() (proto.Message, error) { type TransportProtocol (line 291) | type TransportProtocol method Build (line 294) | func (p TransportProtocol) Build() (string, error) { type StreamConfig (line 317) | type StreamConfig struct method Build (line 334) | func (c *StreamConfig) Build() (*internet.StreamConfig, error) { FILE: infra/conf/v4/transport_test.go function TestSocketConfig (line 25) | func TestSocketConfig(t *testing.T) { function TestTransportConfig (line 55) | func TestTransportConfig(t *testing.T) { FILE: infra/conf/v4/trojan.go type TrojanServerTarget (line 22) | type TrojanServerTarget struct type TrojanClientConfig (line 31) | type TrojanClientConfig struct method Build (line 36) | func (c *TrojanClientConfig) Build() (proto.Message, error) { type TrojanInboundFallback (line 78) | type TrojanInboundFallback struct type TrojanUserConfig (line 87) | type TrojanUserConfig struct type TrojanServerConfig (line 94) | type TrojanServerConfig struct method Build (line 102) | func (c *TrojanServerConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/v2ray.go function toProtocolList (line 56) | func toProtocolList(s []string) ([]proxyman.KnownProtocols, error) { type InboundDetourAllocationConfig (line 71) | type InboundDetourAllocationConfig struct method Build (line 78) | func (c *InboundDetourAllocationConfig) Build() (*proxyman.AllocationS... type InboundDetourConfig (line 105) | type InboundDetourConfig struct method Build (line 118) | func (c *InboundDetourConfig) Build() (*core.InboundHandlerConfig, err... type OutboundDetourConfig (line 211) | type OutboundDetourConfig struct method Build (line 223) | func (c *OutboundDetourConfig) Build() (*core.OutboundHandlerConfig, e... type StatsConfig (line 284) | type StatsConfig struct method Build (line 287) | func (c *StatsConfig) Build() (*stats.Config, error) { type Config (line 291) | type Config struct method findInboundTag (line 332) | func (c *Config) findInboundTag(tag string) int { method findOutboundTag (line 343) | func (c *Config) findOutboundTag(tag string) int { method Build (line 373) | func (c *Config) Build() (*core.Config, error) { function applyTransportConfig (line 354) | func applyTransportConfig(s *StreamConfig, t *TransportConfig) { FILE: infra/conf/v4/v2ray_test.go function TestV2RayConfig (line 38) | func TestV2RayConfig(t *testing.T) { function TestMuxConfig_Build (line 353) | func TestMuxConfig_Build(t *testing.T) { FILE: infra/conf/v4/vless.go type VLessInboundFallback (line 22) | type VLessInboundFallback struct type VLessInboundConfig (line 30) | type VLessInboundConfig struct method Build (line 38) | func (c *VLessInboundConfig) Build() (proto.Message, error) { type VLessOutboundVnext (line 122) | type VLessOutboundVnext struct type VLessOutboundConfig (line 128) | type VLessOutboundConfig struct method Build (line 133) | func (c *VLessOutboundConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/vless_test.go function TestVLessOutbound (line 17) | func TestVLessOutbound(t *testing.T) { function TestVLessInbound (line 63) | func TestVLessInbound(t *testing.T) { FILE: infra/conf/v4/vmess.go type VMessAccount (line 17) | type VMessAccount struct method Build (line 25) | func (a *VMessAccount) Build() *vmess.Account { type VMessDetourConfig (line 51) | type VMessDetourConfig struct method Build (line 56) | func (c *VMessDetourConfig) Build() *inbound.DetourConfig { type FeaturesConfig (line 62) | type FeaturesConfig struct type VMessDefaultConfig (line 66) | type VMessDefaultConfig struct method Build (line 72) | func (c *VMessDefaultConfig) Build() *inbound.DefaultConfig { type VMessInboundConfig (line 79) | type VMessInboundConfig struct method Build (line 88) | func (c *VMessInboundConfig) Build() (proto.Message, error) { type VMessOutboundTarget (line 120) | type VMessOutboundTarget struct type VMessOutboundConfig (line 126) | type VMessOutboundConfig struct method Build (line 131) | func (c *VMessOutboundConfig) Build() (proto.Message, error) { FILE: infra/conf/v4/vmess_test.go function TestVMessOutbound (line 17) | func TestVMessOutbound(t *testing.T) { function TestVMessInbound (line 67) | func TestVMessInbound(t *testing.T) { FILE: infra/conf/v5cfg/common.go function loadHeterogeneousConfigFromRawJSON (line 14) | func loadHeterogeneousConfigFromRawJSON(interfaceType, name string, rawJ... function LoadHeterogeneousConfigFromRawJSON (line 24) | func LoadHeterogeneousConfigFromRawJSON(ctx context.Context, interfaceTy... FILE: infra/conf/v5cfg/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: infra/conf/v5cfg/inbound.go method BuildV5 (line 16) | func (c InboundConfig) BuildV5(ctx context.Context) (proto.Message, erro... FILE: infra/conf/v5cfg/init.go constant jsonV5 (line 14) | jsonV5 = "jsonv5" function init (line 16) | func init() { FILE: infra/conf/v5cfg/outbound.go method BuildV5 (line 14) | func (c OutboundConfig) BuildV5(ctx context.Context) (proto.Message, err... FILE: infra/conf/v5cfg/root.go method BuildV5 (line 22) | func (c RootConfig) BuildV5(ctx context.Context) (proto.Message, error) { function loadJSONConfig (line 87) | func loadJSONConfig(data []byte) (*core.Config, error) { FILE: infra/conf/v5cfg/skeleton.go type RootConfig (line 13) | type RootConfig struct type InboundConfig (line 23) | type InboundConfig struct type OutboundConfig (line 33) | type OutboundConfig struct type StreamConfig (line 44) | type StreamConfig struct FILE: infra/conf/v5cfg/stream.go method BuildV5 (line 12) | func (s StreamConfig) BuildV5(ctx context.Context) (proto.Message, error) { FILE: infra/vformat/main.go function envFile (line 15) | func envFile() (string, error) { function GetRuntimeEnv (line 34) | func GetRuntimeEnv(key string) (string, error) { function GetGOBIN (line 60) | func GetGOBIN() string { function Run (line 79) | func Run(binary string, args []string) ([]byte, error) { function RunMany (line 89) | func RunMany(binary string, args, files []string) { function main (line 107) | func main() { FILE: main/commands/all/api/balancer_info.go function executeBalancerInfo (line 43) | func executeBalancerInfo(cmd *base.Command, args []string) { function showBalancerInfo (line 65) | func showBalancerInfo(b *routerService.BalancerMsg) { function getColumnFormats (line 84) | func getColumnFormats(titles []string) []string { function writeRow (line 92) | func writeRow(sb *strings.Builder, indent, index int, values, formats []... FILE: main/commands/all/api/balancer_override.go function executeBalancerOverride (line 44) | func executeBalancerOverride(cmd *base.Command, args []string) { FILE: main/commands/all/api/jsonv4/inbounds_add.go function executeAddInbounds (line 46) | func executeAddInbounds(cmd *base.Command, args []string) { FILE: main/commands/all/api/jsonv4/inbounds_remove.go function executeRemoveInbounds (line 50) | func executeRemoveInbounds(cmd *base.Command, args []string) { FILE: main/commands/all/api/jsonv4/init.go function init (line 5) | func init() { FILE: main/commands/all/api/jsonv4/outbounds_add.go function executeAddOutbounds (line 46) | func executeAddOutbounds(cmd *base.Command, args []string) { FILE: main/commands/all/api/jsonv4/outbounds_remove.go function executeRemoveOutbounds (line 50) | func executeRemoveOutbounds(cmd *base.Command, args []string) { FILE: main/commands/all/api/log.go function executeLog (line 43) | func executeLog(cmd *base.Command, args []string) { function restartLogger (line 56) | func restartLogger() { function followLogger (line 67) | func followLogger() { FILE: main/commands/all/api/shared.go function SetSharedFlags (line 29) | func SetSharedFlags(cmd *base.Command) { function setSharedFlags (line 33) | func setSharedFlags(cmd *base.Command) { function SetSharedConfigFlags (line 42) | func SetSharedConfigFlags(cmd *base.Command) { function setSharedConfigFlags (line 46) | func setSharedConfigFlags(cmd *base.Command) { function DialAPIServer (line 52) | func DialAPIServer() (conn *grpc.ClientConn, ctx context.Context, close ... function dialAPIServer (line 56) | func dialAPIServer() (conn *grpc.ClientConn, ctx context.Context, close ... function dialAPIServerWithoutTimeout (line 66) | func dialAPIServerWithoutTimeout() (conn *grpc.ClientConn, ctx context.C... function dialAPIServerWithContext (line 75) | func dialAPIServerWithContext(ctx context.Context) (conn *grpc.ClientCon... function protoToJSONString (line 83) | func protoToJSONString(m proto.Message, prefix, indent string) (string, ... function showJSONResponse (line 87) | func showJSONResponse(m proto.Message) { FILE: main/commands/all/api/stats.go function executeStats (line 55) | func executeStats(cmd *base.Command, args []string) { function getRuntimeStats (line 74) | func getRuntimeStats(jsonOutput bool) { function showRuntimeStats (line 91) | func showRuntimeStats(s *statsService.SysStatsResponse) { function getStats (line 116) | func getStats(patterns []string, regexp, reset, jsonOutput bool) { function showStats (line 140) | func showStats(stats []*statsService.Stat) { FILE: main/commands/all/commands.go function init (line 11) | func init() { FILE: main/commands/all/engineering/convertpb.go function setConfigFlags (line 23) | func setConfigFlags(cmd *base.Command) { FILE: main/commands/all/engineering/engineering.go function init (line 19) | func init() { function AddCommand (line 23) | func AddCommand(cmd *base.Command) { FILE: main/commands/all/engineering/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: main/commands/all/engineering/generateRandomData/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: main/commands/all/engineering/generateRandomData/generateRandomData.go function init (line 63) | func init() { FILE: main/commands/all/engineering/nonnativelinkextract.go type valueContainer (line 15) | type valueContainer struct type orderedValueContainer (line 19) | type orderedValueContainer method Len (line 21) | func (o *orderedValueContainer) Len() int { method Less (line 25) | func (o *orderedValueContainer) Less(i, j int) bool { method Swap (line 29) | func (o *orderedValueContainer) Swap(i, j int) { FILE: main/commands/all/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: main/commands/all/jsonv4/convert.go function init (line 60) | func init() { function setConfArgs (line 70) | func setConfArgs(cmd *base.Command) { function executeConvert (line 78) | func executeConvert(cmd *base.Command, args []string) { FILE: main/commands/all/jsonv4/init.go function init (line 5) | func init() { FILE: main/commands/all/love.go function executeLove (line 22) | func executeLove(cmd *base.Command, args []string) { FILE: main/commands/all/tls/cert.go function init (line 49) | func init() { function executeCert (line 68) | func executeCert(cmd *base.Command, args []string) { function printJSON (line 98) | func printJSON(certificate *cert.Certificate) { function writeFile (line 110) | func writeFile(content []byte, name string) error { function printFile (line 120) | func printFile(certificate *cert.Certificate, name string) error { type stringList (line 129) | type stringList method String (line 131) | func (l *stringList) String() string { method Set (line 135) | func (l *stringList) Set(v string) error { type jsonCert (line 143) | type jsonCert struct FILE: main/commands/all/tls/chainhash.go function init (line 16) | func init() { function executeChainHash (line 22) | func executeChainHash(cmd *base.Command, args []string) { FILE: main/commands/all/tls/ping.go function init (line 28) | func init() { function executePing (line 34) | func executePing(cmd *base.Command, args []string) { function printCertificates (line 111) | func printCertificates(certs []*x509.Certificate) { function showCert (line 120) | func showCert() func(rawCerts [][]byte, verifiedChains [][]*x509.Certifi... FILE: main/commands/all/uuid.go function executeUUID (line 18) | func executeUUID(cmd *base.Command, args []string) { FILE: main/commands/all/verify.go function init (line 24) | func init() { function executeVerify (line 30) | func executeVerify(cmd *base.Command, args []string) { FILE: main/commands/base/command.go type Command (line 19) | type Command struct method LongName (line 54) | func (c *Command) LongName() string { method Name (line 68) | func (c *Command) Name() string { method Usage (line 77) | func (c *Command) Usage() { method Runnable (line 87) | func (c *Command) Runnable() bool { function Exit (line 92) | func Exit() { function Fatalf (line 97) | func Fatalf(format string, args ...interface{}) { function Errorf (line 103) | func Errorf(format string, args ...interface{}) { function ExitIfErrors (line 110) | func ExitIfErrors() { function SetExitStatus (line 122) | func SetExitStatus(n int) { function GetExitStatus (line 131) | func GetExitStatus() int { FILE: main/commands/base/env.go type CommandEnvHolder (line 9) | type CommandEnvHolder struct function init (line 19) | func init() { FILE: main/commands/base/execute.go function Execute (line 16) | func Execute() { function SortCommands (line 82) | func SortCommands() { FILE: main/commands/base/help.go function Help (line 20) | func Help(w io.Writer, args []string) { type errWriter (line 75) | type errWriter struct method Write (line 80) | func (w *errWriter) Write(b []byte) (int, error) { function tmpl (line 89) | func tmpl(w io.Writer, text string, data interface{}) { function capitalize (line 108) | func capitalize(s string) string { function width (line 116) | func width(width int, value string) string { function PrintUsage (line 122) | func PrintUsage(w io.Writer, cmd *Command) { function buildCommandText (line 130) | func buildCommandText(cmd *Command) { function buildText (line 140) | func buildText(text string, data interface{}) string { type tmplData (line 147) | type tmplData struct function makeTmplData (line 152) | func makeTmplData(cmd *Command) tmplData { FILE: main/commands/base/root.go function init (line 6) | func init() { function RegisterCommand (line 14) | func RegisterCommand(cmd *Command) { FILE: main/commands/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: main/commands/helpers/config_load.go function LoadConfig (line 16) | func LoadConfig(files []string, format string, recursively bool) (*v4.Co... function LoadConfigToMap (line 32) | func LoadConfigToMap(files []string, format string, recursively bool) (m... FILE: main/commands/helpers/fs.go function ReadDir (line 11) | func ReadDir(dir string, extensions []string) ([]string, error) { function ReadDirRecursively (line 30) | func ReadDirRecursively(dir string, extensions []string) ([]string, erro... function ResolveFolderToFiles (line 50) | func ResolveFolderToFiles(paths []string, extensions []string, recursive... FILE: main/commands/run.go function setConfigFlags (line 67) | func setConfigFlags(cmd *base.Command) { function executeRun (line 77) | func executeRun(cmd *base.Command, args []string) { function fileExists (line 116) | func fileExists(file string) bool { function dirExists (line 121) | func dirExists(file string) bool { function readConfDir (line 129) | func readConfDir(dirPath string, extension []string) cmdarg.Arg { function readConfDirRecursively (line 148) | func readConfDirRecursively(dirPath string, extension []string) cmdarg.A... function getConfigFilePath (line 166) | func getConfigFilePath() cmdarg.Arg { function startV2Ray (line 208) | func startV2Ray() (core.Server, error) { FILE: main/commands/test.go function executeTest (line 49) | func executeTest(cmd *base.Command, args []string) { FILE: main/commands/version.go function executeVersion (line 19) | func executeVersion(cmd *base.Command, args []string) { function printVersion (line 23) | func printVersion() { FILE: main/distro/debug/debug.go function init (line 7) | func init() { FILE: main/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: main/formats/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: main/formats/formats.go function init (line 13) | func init() { function makeMergeLoader (line 26) | func makeMergeLoader(formatName string) (*core.ConfigFormat, error) { function makeLoaderFunc (line 38) | func makeLoaderFunc(formatName string) core.ConfigLoader { FILE: main/main.go function main (line 9) | func main() { function runIsTheFirst (line 19) | func runIsTheFirst(i, j *base.Command) bool { FILE: main/main_test.go function TestRunMainForCoverage (line 10) | func TestRunMainForCoverage(t *testing.T) { FILE: main/plugins/plugin.go type Plugin (line 7) | type Plugin function RegisterPlugin (line 9) | func RegisterPlugin(plugin Plugin) { FILE: main/plugins/plugin_pprof/plugin_pprof.go function init (line 27) | func init() { FILE: main/v2binding/startUp.go method setBaseDir (line 12) | func (b *bindingInstance) setBaseDir(baseDir string) { method loadDefaultConfigIfExists (line 25) | func (b *bindingInstance) loadDefaultConfigIfExists() error { FILE: main/v2binding/v2api/api.go function main (line 9) | func main() { FILE: main/v2binding/v2binding.go type bindingInstance (line 23) | type bindingInstance struct method startAPIInstance (line 31) | func (b *bindingInstance) startAPIInstance() { function withDefaultApps (line 86) | func withDefaultApps(config *core.Config) *core.Config { function StartAPIInstance (line 93) | func StartAPIInstance(basedir string) { FILE: proxy/blackhole/blackhole.go type Handler (line 16) | type Handler struct method Process (line 32) | func (h *Handler) Process(ctx context.Context, link *transport.Link, d... function New (line 21) | func New(ctx context.Context, config *Config) (*Handler, error) { function init (line 42) | func init() { FILE: proxy/blackhole/blackhole_test.go function TestBlackHoleHTTPResponse (line 15) | func TestBlackHoleHTTPResponse(t *testing.T) { FILE: proxy/blackhole/config.go constant http403response (line 10) | http403response = `HTTP/1.1 403 Forbidden type ResponseConfig (line 20) | type ResponseConfig interface method WriteTo (line 26) | func (*NoneResponse) WriteTo(buf.Writer) int32 { return 0 } method WriteTo (line 29) | func (*HTTPResponse) WriteTo(writer buf.Writer) int32 { method GetInternalResponse (line 38) | func (c *Config) GetInternalResponse() (ResponseConfig, error) { FILE: proxy/blackhole/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type NoneResponse (line 20) | type NoneResponse struct method Reset (line 26) | func (x *NoneResponse) Reset() { method String (line 33) | func (x *NoneResponse) String() string { method ProtoMessage (line 37) | func (*NoneResponse) ProtoMessage() {} method ProtoReflect (line 39) | func (x *NoneResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*NoneResponse) Descriptor() ([]byte, []int) { type HTTPResponse (line 56) | type HTTPResponse struct method Reset (line 62) | func (x *HTTPResponse) Reset() { method String (line 69) | func (x *HTTPResponse) String() string { method ProtoMessage (line 73) | func (*HTTPResponse) ProtoMessage() {} method ProtoReflect (line 75) | func (x *HTTPResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 88) | func (*HTTPResponse) Descriptor() ([]byte, []int) { type Config (line 92) | type Config struct method Reset (line 99) | func (x *Config) Reset() { method String (line 106) | func (x *Config) String() string { method ProtoMessage (line 110) | func (*Config) ProtoMessage() {} method ProtoReflect (line 112) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 125) | func (*Config) Descriptor() ([]byte, []int) { method GetResponse (line 129) | func (x *Config) GetResponse() *anypb.Any { type SimplifiedConfig (line 136) | type SimplifiedConfig struct method Reset (line 142) | func (x *SimplifiedConfig) Reset() { method String (line 149) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 153) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 155) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { constant file_proxy_blackhole_config_proto_rawDesc (line 174) | file_proxy_blackhole_config_proto_rawDesc = "" + function file_proxy_blackhole_config_proto_rawDescGZIP (line 190) | func file_proxy_blackhole_config_proto_rawDescGZIP() []byte { function init (line 214) | func init() { file_proxy_blackhole_config_proto_init() } function file_proxy_blackhole_config_proto_init (line 215) | func file_proxy_blackhole_config_proto_init() { FILE: proxy/blackhole/config_test.go function TestHTTPResponse (line 13) | func TestHTTPResponse(t *testing.T) { FILE: proxy/blackhole/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/dns/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 33) | func (x *Config) Reset() { method String (line 40) | func (x *Config) String() string { method ProtoMessage (line 44) | func (*Config) ProtoMessage() {} method ProtoReflect (line 46) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 59) | func (*Config) Descriptor() ([]byte, []int) { method GetServer (line 63) | func (x *Config) GetServer() *net.Endpoint { method GetUserLevel (line 70) | func (x *Config) GetUserLevel() uint32 { method GetOverrideResponseTtl (line 77) | func (x *Config) GetOverrideResponseTtl() bool { method GetResponseTtl (line 84) | func (x *Config) GetResponseTtl() uint32 { method GetNon_IPQuery (line 91) | func (x *Config) GetNon_IPQuery() string { type SimplifiedConfig (line 98) | type SimplifiedConfig struct method Reset (line 106) | func (x *SimplifiedConfig) Reset() { method String (line 113) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 117) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 119) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 132) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetOverrideResponseTtl (line 136) | func (x *SimplifiedConfig) GetOverrideResponseTtl() bool { method GetResponseTtl (line 143) | func (x *SimplifiedConfig) GetResponseTtl() uint32 { constant file_proxy_dns_config_proto_rawDesc (line 152) | file_proxy_dns_config_proto_rawDesc = "" + function file_proxy_dns_config_proto_rawDescGZIP (line 174) | func file_proxy_dns_config_proto_rawDescGZIP() []byte { function init (line 196) | func init() { file_proxy_dns_config_proto_init() } function file_proxy_dns_config_proto_init (line 197) | func file_proxy_dns_config_proto_init() { FILE: proxy/dns/dns.go function init (line 26) | func init() { type ownLinkVerifier (line 47) | type ownLinkVerifier interface type Handler (line 51) | type Handler struct method Init (line 64) | func (h *Handler) Init(config *Config, dnsClient dns.Client, policyMan... method isOwnLink (line 98) | func (h *Handler) isOwnLink(ctx context.Context) bool { method Process (line 127) | func (h *Handler) Process(ctx context.Context, link *transport.Link, d... method handleIPQuery (line 248) | func (h *Handler) handleIPQuery(id uint16, qType dnsmessage.Type, doma... method handleDNSError (line 313) | func (h *Handler) handleDNSError(id uint16, rCode dnsmessage.RCode, wr... function parseIPQuery (line 102) | func parseIPQuery(b []byte) (r bool, domain string, id uint16, qType dns... type outboundConn (line 342) | type outboundConn struct method dial (line 350) | func (c *outboundConn) dial() error { method Write (line 360) | func (c *outboundConn) Write(b []byte) (int, error) { method Read (line 376) | func (c *outboundConn) Read(b []byte) (int, error) { method Close (line 393) | func (c *outboundConn) Close() error { FILE: proxy/dns/dns_test.go type staticHandler (line 28) | type staticHandler struct method ServeDNS (line 30) | func (*staticHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg) { function TestUDPDNSTunnel (line 78) | func TestUDPDNSTunnel(t *testing.T) { function TestTCPDNSTunnel (line 196) | func TestTCPDNSTunnel(t *testing.T) { function TestUDP2TCPDNSTunnel (line 282) | func TestUDP2TCPDNSTunnel(t *testing.T) { FILE: proxy/dns/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/dokodemo/config.go method GetPredefinedAddress (line 8) | func (v *Config) GetPredefinedAddress() net.Address { FILE: proxy/dokodemo/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 39) | func (x *Config) Reset() { method String (line 46) | func (x *Config) String() string { method ProtoMessage (line 50) | func (*Config) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Config) Descriptor() ([]byte, []int) { method GetAddress (line 69) | func (x *Config) GetAddress() *net.IPOrDomain { method GetPort (line 76) | func (x *Config) GetPort() uint32 { method GetNetworkList (line 84) | func (x *Config) GetNetworkList() *net.NetworkList { method GetNetworks (line 91) | func (x *Config) GetNetworks() []net.Network { method GetTimeout (line 99) | func (x *Config) GetTimeout() uint32 { method GetFollowRedirect (line 106) | func (x *Config) GetFollowRedirect() bool { method GetUserLevel (line 113) | func (x *Config) GetUserLevel() uint32 { type SimplifiedConfig (line 120) | type SimplifiedConfig struct method Reset (line 130) | func (x *SimplifiedConfig) Reset() { method String (line 137) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 141) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 143) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 156) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetAddress (line 160) | func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain { method GetPort (line 167) | func (x *SimplifiedConfig) GetPort() uint32 { method GetNetworks (line 174) | func (x *SimplifiedConfig) GetNetworks() *net.NetworkList { method GetFollowRedirect (line 181) | func (x *SimplifiedConfig) GetFollowRedirect() bool { constant file_proxy_dokodemo_config_proto_rawDesc (line 190) | file_proxy_dokodemo_config_proto_rawDesc = "" + function file_proxy_dokodemo_config_proto_rawDescGZIP (line 215) | func file_proxy_dokodemo_config_proto_rawDescGZIP() []byte { function init (line 243) | func init() { file_proxy_dokodemo_config_proto_init() } function file_proxy_dokodemo_config_proto_init (line 244) | func file_proxy_dokodemo_config_proto_init() { FILE: proxy/dokodemo/dokodemo.go function init (line 24) | func init() { type Door (line 46) | type Door struct method Init (line 55) | func (d *Door) Init(config *Config, pm policy.Manager, sockopt *sessio... method Network (line 69) | func (d *Door) Network() []net.Network { method policy (line 77) | func (d *Door) policy() policy.Session { method Process (line 91) | func (d *Door) Process(ctx context.Context, network net.Network, conn ... type hasHandshakeAddress (line 86) | type hasHandshakeAddress interface FILE: proxy/dokodemo/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/freedom/config.go method useIP (line 3) | func (c *Config) useIP() bool { FILE: proxy/freedom/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProtocolReplacement (line 20) | type ProtocolReplacement method Enum (line 42) | func (x ProtocolReplacement) Enum() *ProtocolReplacement { method String (line 48) | func (x ProtocolReplacement) String() string { method Descriptor (line 52) | func (ProtocolReplacement) Descriptor() protoreflect.EnumDescriptor { method Type (line 56) | func (ProtocolReplacement) Type() protoreflect.EnumType { method Number (line 60) | func (x ProtocolReplacement) Number() protoreflect.EnumNumber { method EnumDescriptor (line 65) | func (ProtocolReplacement) EnumDescriptor() ([]byte, []int) { constant ProtocolReplacement_IDENTITY (line 23) | ProtocolReplacement_IDENTITY ProtocolReplacement = 0 constant ProtocolReplacement_FORCE_TCP (line 24) | ProtocolReplacement_FORCE_TCP ProtocolReplacement = 1 constant ProtocolReplacement_FORCE_UDP (line 25) | ProtocolReplacement_FORCE_UDP ProtocolReplacement = 2 type Config_DomainStrategy (line 69) | type Config_DomainStrategy method Enum (line 94) | func (x Config_DomainStrategy) Enum() *Config_DomainStrategy { method String (line 100) | func (x Config_DomainStrategy) String() string { method Descriptor (line 104) | func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor { method Type (line 108) | func (Config_DomainStrategy) Type() protoreflect.EnumType { method Number (line 112) | func (x Config_DomainStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 117) | func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) { constant Config_AS_IS (line 72) | Config_AS_IS Config_DomainStrategy = 0 constant Config_USE_IP (line 73) | Config_USE_IP Config_DomainStrategy = 1 constant Config_USE_IP4 (line 74) | Config_USE_IP4 Config_DomainStrategy = 2 constant Config_USE_IP6 (line 75) | Config_USE_IP6 Config_DomainStrategy = 3 type DestinationOverride (line 121) | type DestinationOverride struct method Reset (line 128) | func (x *DestinationOverride) Reset() { method String (line 135) | func (x *DestinationOverride) String() string { method ProtoMessage (line 139) | func (*DestinationOverride) ProtoMessage() {} method ProtoReflect (line 141) | func (x *DestinationOverride) ProtoReflect() protoreflect.Message { method Descriptor (line 154) | func (*DestinationOverride) Descriptor() ([]byte, []int) { method GetServer (line 158) | func (x *DestinationOverride) GetServer() *protocol.ServerEndpoint { type Config (line 165) | type Config struct method Reset (line 177) | func (x *Config) Reset() { method String (line 184) | func (x *Config) String() string { method ProtoMessage (line 188) | func (*Config) ProtoMessage() {} method ProtoReflect (line 190) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 203) | func (*Config) Descriptor() ([]byte, []int) { method GetDomainStrategy (line 207) | func (x *Config) GetDomainStrategy() Config_DomainStrategy { method GetTimeout (line 215) | func (x *Config) GetTimeout() uint32 { method GetDestinationOverride (line 222) | func (x *Config) GetDestinationOverride() *DestinationOverride { method GetUserLevel (line 229) | func (x *Config) GetUserLevel() uint32 { method GetProtocolReplacement (line 236) | func (x *Config) GetProtocolReplacement() ProtocolReplacement { type SimplifiedConfig (line 243) | type SimplifiedConfig struct method Reset (line 251) | func (x *SimplifiedConfig) Reset() { method String (line 258) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 262) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 264) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 277) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetDestinationOverride (line 281) | func (x *SimplifiedConfig) GetDestinationOverride() *DestinationOverri... method GetProtocolReplacement (line 288) | func (x *SimplifiedConfig) GetProtocolReplacement() ProtocolReplacement { constant file_proxy_freedom_config_proto_rawDesc (line 297) | file_proxy_freedom_config_proto_rawDesc = "" + function file_proxy_freedom_config_proto_rawDescGZIP (line 330) | func file_proxy_freedom_config_proto_rawDescGZIP() []byte { function init (line 361) | func init() { file_proxy_freedom_config_proto_init() } function file_proxy_freedom_config_proto_init (line 362) | func file_proxy_freedom_config_proto_init() { FILE: proxy/freedom/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/freedom/freedom.go function init (line 24) | func init() { type Handler (line 47) | type Handler struct method Init (line 54) | func (h *Handler) Init(config *Config, pm policy.Manager, d dns.Client... method policy (line 62) | func (h *Handler) policy() policy.Session { method resolveIP (line 70) | func (h *Handler) resolveIP(ctx context.Context, domain string, localA... method Process (line 95) | func (h *Handler) Process(ctx context.Context, link *transport.Link, d... function isValidAddress (line 85) | func isValidAddress(addr *net.IPOrDomain) bool { FILE: proxy/http/client.go type Client (line 33) | type Client struct method Process (line 72) | func (c *Client) Process(ctx context.Context, link *transport.Link, di... type h2Conn (line 39) | type h2Conn struct function NewClient (line 50) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... function setUpHTTPTunnel (line 168) | func setUpHTTPTunnel(ctx context.Context, dest net.Destination, target s... function newHTTP2Conn (line 332) | func newHTTP2Conn(c net.Conn, pipedReqBody *io.PipeWriter, respBody io.R... type http2Conn (line 336) | type http2Conn struct method Read (line 342) | func (h *http2Conn) Read(p []byte) (n int, err error) { method Write (line 346) | func (h *http2Conn) Write(p []byte) (n int, err error) { method Close (line 350) | func (h *http2Conn) Close() error { function init (line 355) | func init() { FILE: proxy/http/config.go method Equals (line 7) | func (a *Account) Equals(another protocol.Account) bool { method AsAccount (line 14) | func (a *Account) AsAccount() (protocol.Account, error) { method HasAccount (line 18) | func (sc *ServerConfig) HasAccount(username, password string) bool { FILE: proxy/http/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Account (line 19) | type Account struct method Reset (line 27) | func (x *Account) Reset() { method String (line 34) | func (x *Account) String() string { method ProtoMessage (line 38) | func (*Account) ProtoMessage() {} method ProtoReflect (line 40) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*Account) Descriptor() ([]byte, []int) { method GetUsername (line 57) | func (x *Account) GetUsername() string { method GetPassword (line 64) | func (x *Account) GetPassword() string { type ServerConfig (line 72) | type ServerConfig struct method Reset (line 83) | func (x *ServerConfig) Reset() { method String (line 90) | func (x *ServerConfig) String() string { method ProtoMessage (line 94) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 96) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 109) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetTimeout (line 114) | func (x *ServerConfig) GetTimeout() uint32 { method GetAccounts (line 121) | func (x *ServerConfig) GetAccounts() map[string]string { method GetAllowTransparent (line 128) | func (x *ServerConfig) GetAllowTransparent() bool { method GetUserLevel (line 135) | func (x *ServerConfig) GetUserLevel() uint32 { type ClientConfig (line 143) | type ClientConfig struct method Reset (line 152) | func (x *ClientConfig) Reset() { method String (line 159) | func (x *ClientConfig) String() string { method ProtoMessage (line 163) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 165) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 178) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetServer (line 182) | func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint { method GetH1SkipWaitForReply (line 189) | func (x *ClientConfig) GetH1SkipWaitForReply() bool { constant file_proxy_http_config_proto_rawDesc (line 198) | file_proxy_http_config_proto_rawDesc = "" + function file_proxy_http_config_proto_rawDescGZIP (line 223) | func file_proxy_http_config_proto_rawDescGZIP() []byte { function init (line 248) | func init() { file_proxy_http_config_proto_init() } function file_proxy_http_config_proto_init (line 249) | func file_proxy_http_config_proto_init() { FILE: proxy/http/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/http/server.go type Server (line 30) | type Server struct method policy (line 46) | func (s *Server) policy() policy.Session { method Network (line 56) | func (*Server) Network() []net.Network { method Process (line 86) | func (s *Server) Process(ctx context.Context, network net.Network, con... method handleConnect (line 161) | func (s *Server) handleConnect(ctx context.Context, _ *http.Request, r... method handlePlainHTTP (line 217) | func (s *Server) handlePlainHTTP(ctx context.Context, request *http.Re... function NewServer (line 36) | func NewServer(ctx context.Context, config *ServerConfig) (*Server, erro... function isTimeout (line 60) | func isTimeout(err error) bool { function parseBasicAuth (line 65) | func parseBasicAuth(auth string) (username, password string, ok bool) { type readerOnly (line 82) | type readerOnly struct function readResponseAndHandle100Continue (line 325) | func readResponseAndHandle100Continue(r *bufio.Reader, req *http.Request... function init (line 355) | func init() { FILE: proxy/http/simplified/config.go function init (line 11) | func init() { FILE: proxy/http/simplified/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerConfig (line 20) | type ServerConfig struct method Reset (line 26) | func (x *ServerConfig) Reset() { method String (line 33) | func (x *ServerConfig) String() string { method ProtoMessage (line 37) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 39) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*ServerConfig) Descriptor() ([]byte, []int) { type ClientConfig (line 56) | type ClientConfig struct method Reset (line 65) | func (x *ClientConfig) Reset() { method String (line 72) | func (x *ClientConfig) String() string { method ProtoMessage (line 76) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 78) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 91) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetAddress (line 95) | func (x *ClientConfig) GetAddress() *net.IPOrDomain { method GetPort (line 102) | func (x *ClientConfig) GetPort() uint32 { method GetH1SkipWaitForReply (line 109) | func (x *ClientConfig) GetH1SkipWaitForReply() bool { constant file_proxy_http_simplified_config_proto_rawDesc (line 118) | file_proxy_http_simplified_config_proto_rawDesc = "" + function file_proxy_http_simplified_config_proto_rawDescGZIP (line 135) | func file_proxy_http_simplified_config_proto_rawDescGZIP() []byte { function init (line 157) | func init() { file_proxy_http_simplified_config_proto_init() } function file_proxy_http_simplified_config_proto_init (line 158) | func file_proxy_http_simplified_config_proto_init() { FILE: proxy/hysteria2/client.go type Client (line 27) | type Client struct method Process (line 55) | func (c *Client) Process(ctx context.Context, link *transport.Link, di... function NewClient (line 33) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... function init (line 212) | func init() { FILE: proxy/hysteria2/config.go type MemoryAccount (line 8) | type MemoryAccount struct method Equals (line 16) | func (a *MemoryAccount) Equals(another protocol.Account) bool { method AsAccount (line 11) | func (a *Account) AsAccount() (protocol.Account, error) { FILE: proxy/hysteria2/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Account (line 21) | type Account struct method Reset (line 27) | func (x *Account) Reset() { method String (line 34) | func (x *Account) String() string { method ProtoMessage (line 38) | func (*Account) ProtoMessage() {} method ProtoReflect (line 40) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*Account) Descriptor() ([]byte, []int) { type ClientConfig (line 57) | type ClientConfig struct method Reset (line 64) | func (x *ClientConfig) Reset() { method String (line 71) | func (x *ClientConfig) String() string { method ProtoMessage (line 75) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 77) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 90) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetServer (line 94) | func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint { type ServerConfig (line 101) | type ServerConfig struct method Reset (line 108) | func (x *ServerConfig) Reset() { method String (line 115) | func (x *ServerConfig) String() string { method ProtoMessage (line 119) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetPacketEncoding (line 138) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { constant file_proxy_hysteria2_config_proto_rawDesc (line 147) | file_proxy_hysteria2_config_proto_rawDesc = "" + function file_proxy_hysteria2_config_proto_rawDescGZIP (line 164) | func file_proxy_hysteria2_config_proto_rawDescGZIP() []byte { function init (line 189) | func init() { file_proxy_hysteria2_config_proto_init() } function file_proxy_hysteria2_config_proto_init (line 190) | func file_proxy_hysteria2_config_proto_init() { FILE: proxy/hysteria2/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/hysteria2/protocol.go constant paddingChars (line 16) | paddingChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123... type ConnWriter (line 20) | type ConnWriter struct method Write (line 27) | func (c *ConnWriter) Write(p []byte) (n int, err error) { method WriteMultiBuffer (line 38) | func (c *ConnWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { method WriteTCPHeader (line 52) | func (c *ConnWriter) WriteTCPHeader() error { method writeTCPHeader (line 65) | func (c *ConnWriter) writeTCPHeader() error { function QuicLen (line 61) | func QuicLen(s int) int { type PacketWriter (line 91) | type PacketWriter struct method WriteMultiBuffer (line 98) | func (w *PacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { method WriteMultiBufferWithMetadata (line 113) | func (w *PacketWriter) WriteMultiBufferWithMetadata(mb buf.MultiBuffer... method WriteTo (line 127) | func (w *PacketWriter) WriteTo(payload []byte, addr net.Addr) (int, er... method writePacket (line 133) | func (w *PacketWriter) writePacket(payload []byte, dest net.Destinatio... type ConnReader (line 138) | type ConnReader struct method Read (line 144) | func (c *ConnReader) Read(p []byte) (int, error) { method ReadMultiBuffer (line 149) | func (c *ConnReader) ReadMultiBuffer() (buf.MultiBuffer, error) { type PacketPayload (line 159) | type PacketPayload struct type PacketReader (line 165) | type PacketReader struct method ReadMultiBuffer (line 171) | func (r *PacketReader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadMultiBufferWithMetadata (line 180) | func (r *PacketReader) ReadMultiBufferWithMetadata() (*PacketPayload, ... type PacketConnectionReader (line 189) | type PacketConnectionReader struct method ReadFrom (line 194) | func (r *PacketConnectionReader) ReadFrom(p []byte) (n int, addr net.A... FILE: proxy/hysteria2/server.go function init (line 28) | func init() { type Server (line 35) | type Server struct method Network (line 51) | func (s *Server) Network() []net.Network { method Process (line 56) | func (s *Server) Process(ctx context.Context, network net.Network, con... method handleConnection (line 131) | func (s *Server) handleConnection(ctx context.Context, sessionPolicy p... method handleUDPPayload (line 173) | func (s *Server) handleUDPPayload(ctx context.Context, clientReader *P... function NewServer (line 41) | func NewServer(ctx context.Context, config *ServerConfig) (*Server, erro... FILE: proxy/loopback/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 26) | func (x *Config) Reset() { method String (line 33) | func (x *Config) String() string { method ProtoMessage (line 37) | func (*Config) ProtoMessage() {} method ProtoReflect (line 39) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*Config) Descriptor() ([]byte, []int) { method GetInboundTag (line 56) | func (x *Config) GetInboundTag() string { constant file_proxy_loopback_config_proto_rawDesc (line 65) | file_proxy_loopback_config_proto_rawDesc = "" + function file_proxy_loopback_config_proto_rawDescGZIP (line 79) | func file_proxy_loopback_config_proto_rawDescGZIP() []byte { function init (line 98) | func init() { file_proxy_loopback_config_proto_init() } function file_proxy_loopback_config_proto_init (line 99) | func file_proxy_loopback_config_proto_init() { FILE: proxy/loopback/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/loopback/loopback.go type Loopback (line 21) | type Loopback struct method Process (line 26) | func (l *Loopback) Process(ctx context.Context, link *transport.Link, ... method init (line 109) | func (l *Loopback) init(config *Config, dispatcherInstance routing.Dis... function init (line 115) | func init() { FILE: proxy/proxy.go constant FirstPayloadTimeout (line 20) | FirstPayloadTimeout = 100 * time.Millisecond type Inbound (line 23) | type Inbound interface type Outbound (line 32) | type Outbound interface type UserManager (line 38) | type UserManager interface type GetInbound (line 46) | type GetInbound interface type GetOutbound (line 50) | type GetOutbound interface FILE: proxy/shadowsocks/client.go type Client (line 24) | type Client struct method Process (line 52) | func (c *Client) Process(ctx context.Context, link *transport.Link, di... function NewClient (line 30) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... function init (line 205) | func init() { FILE: proxy/shadowsocks/config.go type MemoryAccount (line 23) | type MemoryAccount struct method Equals (line 33) | func (a *MemoryAccount) Equals(another protocol.Account) bool { method CheckIV (line 40) | func (a *MemoryAccount) CheckIV(iv []byte) error { function createAesGcm (line 50) | func createAesGcm(key []byte) cipher.AEAD { function createChaCha20Poly1305 (line 58) | func createChaCha20Poly1305(key []byte) cipher.AEAD { method getCipher (line 64) | func (a *Account) getCipher() (Cipher, error) { method AsAccount (line 92) | func (a *Account) AsAccount() (protocol.Account, error) { type Cipher (line 111) | type Cipher interface type AEADCipher (line 121) | type AEADCipher struct method IsAEAD (line 127) | func (*AEADCipher) IsAEAD() bool { method KeySize (line 131) | func (c *AEADCipher) KeySize() int32 { method IVSize (line 135) | func (c *AEADCipher) IVSize() int32 { method createAuthenticator (line 139) | func (c *AEADCipher) createAuthenticator(key []byte, iv []byte) *crypt... method NewEncryptionWriter (line 149) | func (c *AEADCipher) NewEncryptionWriter(key []byte, iv []byte, writer... method NewDecryptionReader (line 156) | func (c *AEADCipher) NewDecryptionReader(key []byte, iv []byte, reader... method EncodePacket (line 163) | func (c *AEADCipher) EncodePacket(key []byte, b *buf.Buffer) error { method DecodePacket (line 173) | func (c *AEADCipher) DecodePacket(key []byte, b *buf.Buffer) error { type NoneCipher (line 189) | type NoneCipher struct method KeySize (line 191) | func (NoneCipher) KeySize() int32 { return 0 } method IVSize (line 192) | func (NoneCipher) IVSize() int32 { return 0 } method IsAEAD (line 193) | func (NoneCipher) IsAEAD() bool { method NewDecryptionReader (line 197) | func (NoneCipher) NewDecryptionReader(key []byte, iv []byte, reader io... method NewEncryptionWriter (line 201) | func (NoneCipher) NewEncryptionWriter(key []byte, iv []byte, writer io... method EncodePacket (line 205) | func (NoneCipher) EncodePacket(key []byte, b *buf.Buffer) error { method DecodePacket (line 209) | func (NoneCipher) DecodePacket(key []byte, b *buf.Buffer) error { function CipherFromString (line 213) | func CipherFromString(c string) CipherType { function passwordToCipherKey (line 228) | func passwordToCipherKey(password []byte, keySize int32) []byte { function hkdfSHA1 (line 245) | func hkdfSHA1(secret, salt, outKey []byte) { FILE: proxy/shadowsocks/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CipherType (line 21) | type CipherType method Enum (line 49) | func (x CipherType) Enum() *CipherType { method String (line 55) | func (x CipherType) String() string { method Descriptor (line 59) | func (CipherType) Descriptor() protoreflect.EnumDescriptor { method Type (line 63) | func (CipherType) Type() protoreflect.EnumType { method Number (line 67) | func (x CipherType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 72) | func (CipherType) EnumDescriptor() ([]byte, []int) { constant CipherType_UNKNOWN (line 24) | CipherType_UNKNOWN CipherType = 0 constant CipherType_AES_128_GCM (line 25) | CipherType_AES_128_GCM CipherType = 1 constant CipherType_AES_256_GCM (line 26) | CipherType_AES_256_GCM CipherType = 2 constant CipherType_CHACHA20_POLY1305 (line 27) | CipherType_CHACHA20_POLY1305 CipherType = 3 constant CipherType_NONE (line 28) | CipherType_NONE CipherType = 4 type Account (line 76) | type Account struct method Reset (line 86) | func (x *Account) Reset() { method String (line 93) | func (x *Account) String() string { method ProtoMessage (line 97) | func (*Account) ProtoMessage() {} method ProtoReflect (line 99) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 112) | func (*Account) Descriptor() ([]byte, []int) { method GetPassword (line 116) | func (x *Account) GetPassword() string { method GetCipherType (line 123) | func (x *Account) GetCipherType() CipherType { method GetIvCheck (line 130) | func (x *Account) GetIvCheck() bool { method GetExperimentReducedIvHeadEntropy (line 137) | func (x *Account) GetExperimentReducedIvHeadEntropy() bool { type ServerConfig (line 144) | type ServerConfig struct method Reset (line 158) | func (x *ServerConfig) Reset() { method String (line 165) | func (x *ServerConfig) String() string { method ProtoMessage (line 169) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 171) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 184) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetUdpEnabled (line 189) | func (x *ServerConfig) GetUdpEnabled() bool { method GetUser (line 196) | func (x *ServerConfig) GetUser() *protocol.User { method GetNetwork (line 203) | func (x *ServerConfig) GetNetwork() []net.Network { method GetPacketEncoding (line 210) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { type ClientConfig (line 217) | type ClientConfig struct method Reset (line 224) | func (x *ClientConfig) Reset() { method String (line 231) | func (x *ClientConfig) String() string { method ProtoMessage (line 235) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 237) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 250) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetServer (line 254) | func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint { constant file_proxy_shadowsocks_config_proto_rawDesc (line 263) | file_proxy_shadowsocks_config_proto_rawDesc = "" + function file_proxy_shadowsocks_config_proto_rawDescGZIP (line 294) | func file_proxy_shadowsocks_config_proto_rawDescGZIP() []byte { function init (line 326) | func init() { file_proxy_shadowsocks_config_proto_init() } function file_proxy_shadowsocks_config_proto_init (line 327) | func file_proxy_shadowsocks_config_proto_init() { FILE: proxy/shadowsocks/config_test.go function TestAEADCipherUDP (line 14) | func TestAEADCipherUDP(t *testing.T) { FILE: proxy/shadowsocks/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/shadowsocks/protocol.go constant Version (line 20) | Version = 1 function ReadTCPSession (line 33) | func ReadTCPSession(user *protocol.MemoryUser, reader io.Reader) (*proto... function WriteTCPRequest (line 99) | func WriteTCPRequest(request *protocol.RequestHeader, writer io.Writer) ... function ReadTCPResponse (line 136) | func ReadTCPResponse(user *protocol.MemoryUser, reader io.Reader) (buf.R... function WriteTCPResponse (line 166) | func WriteTCPResponse(request *protocol.RequestHeader, writer io.Writer)... function EncodeUDPPacket (line 185) | func EncodeUDPPacket(request *protocol.RequestHeader, payload []byte) (*... function DecodeUDPPacket (line 235) | func DecodeUDPPacket(user *protocol.MemoryUser, payload *buf.Buffer) (*p... type UDPReader (line 268) | type UDPReader struct method ReadMultiBuffer (line 273) | func (v *UDPReader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadFrom (line 288) | func (v *UDPReader) ReadFrom(p []byte) (n int, addr gonet.Addr, err er... type UDPWriter (line 305) | type UDPWriter struct method Write (line 311) | func (w *UDPWriter) Write(payload []byte) (int, error) { method WriteTo (line 321) | func (w *UDPWriter) WriteTo(payload []byte, addr gonet.Addr) (n int, e... function remapToPrintable (line 336) | func remapToPrintable(input []byte) { FILE: proxy/shadowsocks/protocol_test.go function toAccount (line 15) | func toAccount(a *Account) protocol.Account { function equalRequestHeader (line 21) | func equalRequestHeader(x, y *protocol.RequestHeader) bool { function TestUDPEncoding (line 27) | func TestUDPEncoding(t *testing.T) { function TestTCPRequest (line 59) | func TestTCPRequest(t *testing.T) { function TestUDPReaderWriter (line 144) | func TestUDPReaderWriter(t *testing.T) { FILE: proxy/shadowsocks/server.go type Server (line 24) | type Server struct method Network (line 51) | func (s *Server) Network() []net.Network { method Process (line 62) | func (s *Server) Process(ctx context.Context, network net.Network, con... method handlerUDPPayload (line 73) | func (s *Server) handlerUDPPayload(ctx context.Context, conn internet.... method handleConnection (line 155) | func (s *Server) handleConnection(ctx context.Context, conn internet.C... function NewServer (line 31) | func NewServer(ctx context.Context, config *ServerConfig) (*Server, erro... function init (line 247) | func init() { FILE: proxy/shadowsocks/simplified/config.go method UnmarshalJSONPB (line 15) | func (c *CipherTypeWrapper) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarsha... method MarshalJSONPB (line 29) | func (c *CipherTypeWrapper) MarshalJSONPB(marshaler *jsonpb.Marshaler) (... function init (line 35) | func init() { FILE: proxy/shadowsocks/simplified/config.pb.go constant _ (line 17) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 19) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerConfig (line 22) | type ServerConfig struct method Reset (line 32) | func (x *ServerConfig) Reset() { method String (line 39) | func (x *ServerConfig) String() string { method ProtoMessage (line 43) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 45) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 58) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetMethod (line 62) | func (x *ServerConfig) GetMethod() *CipherTypeWrapper { method GetPassword (line 69) | func (x *ServerConfig) GetPassword() string { method GetNetworks (line 76) | func (x *ServerConfig) GetNetworks() *net.NetworkList { method GetPacketEncoding (line 83) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { type ClientConfig (line 90) | type ClientConfig struct method Reset (line 101) | func (x *ClientConfig) Reset() { method String (line 108) | func (x *ClientConfig) String() string { method ProtoMessage (line 112) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 114) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 127) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetAddress (line 131) | func (x *ClientConfig) GetAddress() *net.IPOrDomain { method GetPort (line 138) | func (x *ClientConfig) GetPort() uint32 { method GetMethod (line 145) | func (x *ClientConfig) GetMethod() *CipherTypeWrapper { method GetPassword (line 152) | func (x *ClientConfig) GetPassword() string { method GetExperimentReducedIvHeadEntropy (line 159) | func (x *ClientConfig) GetExperimentReducedIvHeadEntropy() bool { type CipherTypeWrapper (line 166) | type CipherTypeWrapper struct method Reset (line 173) | func (x *CipherTypeWrapper) Reset() { method String (line 180) | func (x *CipherTypeWrapper) String() string { method ProtoMessage (line 184) | func (*CipherTypeWrapper) ProtoMessage() {} method ProtoReflect (line 186) | func (x *CipherTypeWrapper) ProtoReflect() protoreflect.Message { method Descriptor (line 199) | func (*CipherTypeWrapper) Descriptor() ([]byte, []int) { method GetValue (line 203) | func (x *CipherTypeWrapper) GetValue() shadowsocks.CipherType { constant file_proxy_shadowsocks_simplified_config_proto_rawDesc (line 212) | file_proxy_shadowsocks_simplified_config_proto_rawDesc = "" + function file_proxy_shadowsocks_simplified_config_proto_rawDescGZIP (line 237) | func file_proxy_shadowsocks_simplified_config_proto_rawDescGZIP() []byte { function init (line 268) | func init() { file_proxy_shadowsocks_simplified_config_proto_init() } function file_proxy_shadowsocks_simplified_config_proto_init (line 269) | func file_proxy_shadowsocks_simplified_config_proto_init() { FILE: proxy/shadowsocks/simplified/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/shadowsocks2022/client.go type Client (line 24) | type Client struct method Process (line 56) | func (c *Client) Process(ctx context.Context, link *transport.Link, di... method getUDPSession (line 180) | func (c *Client) getUDPSession(ctx context.Context, network net.Networ... constant UDPConnectionState (line 29) | UDPConnectionState = "UDPConnectionState" type ClientUDPConnState (line 31) | type ClientUDPConnState struct method GetOrCreateSession (line 36) | func (c *ClientUDPConnState) GetOrCreateSession(create func() (*Client... function NewClientUDPConnState (line 52) | func NewClientUDPConnState() (*ClientUDPConnState, error) { function NewClient (line 224) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... function init (line 239) | func init() { FILE: proxy/shadowsocks2022/client_session.go function NewClientUDPSession (line 18) | func NewClientUDPSession(ctx context.Context, conn io.ReadWriteCloser, p... type ClientUDPSession (line 32) | type ClientUDPSession struct method GetCachedState (line 45) | func (c *ClientUDPSession) GetCachedState(sessionID string) UDPClientP... method GetCachedServerState (line 56) | func (c *ClientUDPSession) GetCachedServerState(serverSessionID string... method getCachedStateAlias (line 76) | func (c *ClientUDPSession) getCachedStateAlias(serverSessionID string)... method PutCachedState (line 84) | func (c *ClientUDPSession) PutCachedState(sessionID string, cache UDPC... method PutCachedServerState (line 95) | func (c *ClientUDPSession) PutCachedServerState(serverSessionID string... method Close (line 114) | func (c *ClientUDPSession) Close() error { method WriteUDPRequest (line 119) | func (c *ClientUDPSession) WriteUDPRequest(request *UDPRequest) error { method KeepReading (line 136) | func (c *ClientUDPSession) KeepReading() { method NewSessionConn (line 175) | func (c *ClientUDPSession) NewSessionConn() (internet.AbstractPacketCo... type ClientUDPSessionServerTracker (line 199) | type ClientUDPSessionServerTracker struct type ClientUDPSessionConn (line 205) | type ClientUDPSessionConn struct method Close (line 219) | func (c *ClientUDPSessionConn) Close() error { method WriteTo (line 230) | func (c *ClientUDPSessionConn) WriteTo(p []byte, addr gonet.Addr) (n i... method ReadFrom (line 251) | func (c *ClientUDPSessionConn) ReadFrom(p []byte) (n int, addr net.Add... FILE: proxy/shadowsocks2022/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ClientConfig (line 20) | type ClientConfig struct method Reset (line 31) | func (x *ClientConfig) Reset() { method String (line 38) | func (x *ClientConfig) String() string { method ProtoMessage (line 42) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 44) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetMethod (line 61) | func (x *ClientConfig) GetMethod() string { method GetPsk (line 68) | func (x *ClientConfig) GetPsk() []byte { method GetIpsk (line 75) | func (x *ClientConfig) GetIpsk() [][]byte { method GetAddress (line 82) | func (x *ClientConfig) GetAddress() *net.IPOrDomain { method GetPort (line 89) | func (x *ClientConfig) GetPort() uint32 { constant file_proxy_shadowsocks2022_config_proto_rawDesc (line 98) | file_proxy_shadowsocks2022_config_proto_rawDesc = "" + function file_proxy_shadowsocks2022_config_proto_rawDescGZIP (line 115) | func file_proxy_shadowsocks2022_config_proto_rawDescGZIP() []byte { function init (line 136) | func init() { file_proxy_shadowsocks2022_config_proto_init() } function file_proxy_shadowsocks2022_config_proto_init (line 137) | func file_proxy_shadowsocks2022_config_proto_init() { FILE: proxy/shadowsocks2022/eih_aes.go function newAESEIH (line 14) | func newAESEIH(size int) *aesEIH { function newAESEIHWithData (line 18) | func newAESEIHWithData(size int, eih [][aesEIHSize]byte) *aesEIH { constant aesEIHSize (line 22) | aesEIHSize = 16 type aesEIH (line 24) | type aesEIH struct method Pack (line 29) | func (a *aesEIH) Pack(p []byte, opt *struc.Options) (int, error) { method Unpack (line 41) | func (a *aesEIH) Unpack(r io.Reader, length int, opt *struc.Options) e... method Size (line 55) | func (a *aesEIH) Size(opt *struc.Options) int { method String (line 59) | func (a *aesEIH) String() string { constant aesEIHPskHashSize (line 63) | aesEIHPskHashSize = 16 type aesEIHGenerator (line 65) | type aesEIHGenerator struct method GenerateEIH (line 84) | func (a *aesEIHGenerator) GenerateEIH(derivation KeyDerivation, method... method GenerateEIHUDP (line 88) | func (a *aesEIHGenerator) GenerateEIHUDP(derivation KeyDerivation, met... method generateEIHWithMask (line 92) | func (a *aesEIHGenerator) generateEIHWithMask(derivation KeyDerivation... function newAESEIHGeneratorContainer (line 73) | func newAESEIHGeneratorContainer(size int, effectivePsk []byte, ipsk [][... FILE: proxy/shadowsocks2022/encoding.go type TCPRequest (line 21) | type TCPRequest struct method EncodeTCPRequestHeader (line 37) | func (t *TCPRequest) EncodeTCPRequestHeader(effectivePsk []byte, method DecodeTCPResponseHeader (line 158) | func (t *TCPRequest) DecodeTCPResponseHeader(effectivePsk []byte, in i... method CheckC2SConnectionConstraint (line 223) | func (t *TCPRequest) CheckC2SConnectionConstraint() error { method CreateClientS2CReader (line 230) | func (t *TCPRequest) CreateClientS2CReader(in io.Reader, initialPayloa... method CreateClientC2SWriter (line 253) | func (t *TCPRequest) CreateClientC2SWriter(writer io.Writer) buf.Writer { type AEADChunkSizeParser (line 265) | type AEADChunkSizeParser struct method HasConstantOffset (line 269) | func (p *AEADChunkSizeParser) HasConstantOffset() uint16 { method SizeBytes (line 273) | func (p *AEADChunkSizeParser) SizeBytes() int32 { method Encode (line 277) | func (p *AEADChunkSizeParser) Encode(size uint16, b []byte) []byte { method Decode (line 284) | func (p *AEADChunkSizeParser) Decode(b []byte) (uint16, error) { FILE: proxy/shadowsocks2022/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/shadowsocks2022/kdf_blake3.go function newBLAKE3KeyDerivation (line 9) | func newBLAKE3KeyDerivation() *BLAKE3KeyDerivation { type BLAKE3KeyDerivation (line 13) | type BLAKE3KeyDerivation struct method GetSessionSubKey (line 15) | func (b BLAKE3KeyDerivation) GetSessionSubKey(effectivePsk, salt []byt... method GetIdentitySubKey (line 24) | func (b BLAKE3KeyDerivation) GetIdentitySubKey(effectivePsk, salt []by... FILE: proxy/shadowsocks2022/method_aes128gcm.go function newAES128GCMMethod (line 8) | func newAES128GCMMethod() *AES128GCMMethod { type AES128GCMMethod (line 12) | type AES128GCMMethod struct method GetSessionSubKeyAndSaltLength (line 14) | func (a AES128GCMMethod) GetSessionSubKeyAndSaltLength() int { method GetStreamAEAD (line 18) | func (a AES128GCMMethod) GetStreamAEAD(sessionSubKey []byte) (cipher.A... method GenerateEIH (line 30) | func (a AES128GCMMethod) GenerateEIH(currentIdentitySubKey []byte, nex... method GetUDPClientProcessor (line 39) | func (a AES128GCMMethod) GetUDPClientProcessor(ipsk [][]byte, psk []by... FILE: proxy/shadowsocks2022/method_aes256gcm.go function newAES256GCMMethod (line 8) | func newAES256GCMMethod() *AES256GCMMethod { type AES256GCMMethod (line 12) | type AES256GCMMethod struct method GetSessionSubKeyAndSaltLength (line 14) | func (a AES256GCMMethod) GetSessionSubKeyAndSaltLength() int { method GetStreamAEAD (line 18) | func (a AES256GCMMethod) GetStreamAEAD(sessionSubKey []byte) (cipher.A... method GenerateEIH (line 30) | func (a AES256GCMMethod) GenerateEIH(currentIdentitySubKey []byte, nex... method GetUDPClientProcessor (line 39) | func (a AES256GCMMethod) GetUDPClientProcessor(ipsk [][]byte, psk []by... FILE: proxy/shadowsocks2022/requestsalt.go function newRequestSaltWithLength (line 10) | func newRequestSaltWithLength(length int) RequestSalt { type requestSaltWithLength (line 14) | type requestSaltWithLength struct method isRequestSalt (line 19) | func (r *requestSaltWithLength) isRequestSalt() {} method Pack (line 20) | func (r *requestSaltWithLength) Pack(p []byte, opt *struc.Options) (in... method Unpack (line 28) | func (r *requestSaltWithLength) Unpack(reader io.Reader, length int, o... method Size (line 40) | func (r *requestSaltWithLength) Size(opt *struc.Options) int { method String (line 44) | func (r *requestSaltWithLength) String() string { method Bytes (line 48) | func (r *requestSaltWithLength) Bytes() []byte { method FillAllFrom (line 52) | func (r *requestSaltWithLength) FillAllFrom(reader io.Reader) error { FILE: proxy/shadowsocks2022/ss2022.go type KeyDerivation (line 16) | type KeyDerivation interface type Method (line 21) | type Method interface type ExtensibleIdentityHeaders (line 28) | type ExtensibleIdentityHeaders interface type DestinationAddress (line 32) | type DestinationAddress interface type RequestSalt (line 36) | type RequestSalt interface type TCPRequestHeader1PreSessionKey (line 43) | type TCPRequestHeader1PreSessionKey struct type TCPRequestHeader2FixedLength (line 48) | type TCPRequestHeader2FixedLength struct type TCPRequestHeader3VariableLength (line 54) | type TCPRequestHeader3VariableLength struct type TCPRequestHeader (line 62) | type TCPRequestHeader struct type TCPResponseHeader1PreSessionKey (line 68) | type TCPResponseHeader1PreSessionKey struct type TCPResponseHeader2FixedLength (line 72) | type TCPResponseHeader2FixedLength struct type TCPResponseHeader (line 78) | type TCPResponseHeader struct constant TCPHeaderTypeClientToServerStream (line 84) | TCPHeaderTypeClientToServerStream = byte(0x00) constant TCPHeaderTypeServerToClientStream (line 85) | TCPHeaderTypeServerToClientStream = byte(0x01) constant TCPMinPaddingLength (line 86) | TCPMinPaddingLength = 0 constant TCPMaxPaddingLength (line 87) | TCPMaxPaddingLength = 900 type UDPRequest (line 96) | type UDPRequest struct type UDPResponse (line 105) | type UDPResponse struct constant UDPHeaderTypeClientToServerStream (line 111) | UDPHeaderTypeClientToServerStream = byte(0x00) constant UDPHeaderTypeServerToClientStream (line 112) | UDPHeaderTypeServerToClientStream = byte(0x01) type UDPClientPacketProcessorCachedStateContainer (line 115) | type UDPClientPacketProcessorCachedStateContainer interface type UDPClientPacketProcessorCachedState (line 122) | type UDPClientPacketProcessorCachedState interface type UDPClientPacketProcessor (line 126) | type UDPClientPacketProcessor interface FILE: proxy/shadowsocks2022/udp_aes.go type AESUDPClientPacketProcessor (line 14) | type AESUDPClientPacketProcessor struct method EncodeUDPRequest (line 55) | func (p *AESUDPClientPacketProcessor) EncodeUDPRequest(request *UDPReq... method DecodeUDPResp (line 131) | func (p *AESUDPClientPacketProcessor) DecodeUDPResp(input []byte, resp... function NewAESUDPClientPacketProcessor (line 21) | func NewAESUDPClientPacketProcessor(requestSeparateHeaderBlockCipher, re... type separateHeader (line 30) | type separateHeader struct type header (line 35) | type header struct type respHeader (line 42) | type respHeader struct type cachedUDPState (line 50) | type cachedUDPState struct FILE: proxy/socks/client.go type Client (line 25) | type Client struct method Process (line 62) | func (c *Client) Process(ctx context.Context, link *transport.Link, di... function NewClient (line 34) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... function init (line 229) | func init() { FILE: proxy/socks/config.go method Equals (line 5) | func (a *Account) Equals(another protocol.Account) bool { method AsAccount (line 12) | func (a *Account) AsAccount() (protocol.Account, error) { method HasAccount (line 16) | func (c *ServerConfig) HasAccount(username, password string) bool { FILE: proxy/socks/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AuthType (line 22) | type AuthType method Enum (line 43) | func (x AuthType) Enum() *AuthType { method String (line 49) | func (x AuthType) String() string { method Descriptor (line 53) | func (AuthType) Descriptor() protoreflect.EnumDescriptor { method Type (line 57) | func (AuthType) Type() protoreflect.EnumType { method Number (line 61) | func (x AuthType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 66) | func (AuthType) EnumDescriptor() ([]byte, []int) { constant AuthType_NO_AUTH (line 26) | AuthType_NO_AUTH AuthType = 0 constant AuthType_PASSWORD (line 28) | AuthType_PASSWORD AuthType = 1 type Version (line 70) | type Version method Enum (line 92) | func (x Version) Enum() *Version { method String (line 98) | func (x Version) String() string { method Descriptor (line 102) | func (Version) Descriptor() protoreflect.EnumDescriptor { method Type (line 106) | func (Version) Type() protoreflect.EnumType { method Number (line 110) | func (x Version) Number() protoreflect.EnumNumber { method EnumDescriptor (line 115) | func (Version) EnumDescriptor() ([]byte, []int) { constant Version_SOCKS5 (line 73) | Version_SOCKS5 Version = 0 constant Version_SOCKS4 (line 74) | Version_SOCKS4 Version = 1 constant Version_SOCKS4A (line 75) | Version_SOCKS4A Version = 2 type Account (line 120) | type Account struct method Reset (line 128) | func (x *Account) Reset() { method String (line 135) | func (x *Account) String() string { method ProtoMessage (line 139) | func (*Account) ProtoMessage() {} method ProtoReflect (line 141) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 154) | func (*Account) Descriptor() ([]byte, []int) { method GetUsername (line 158) | func (x *Account) GetUsername() string { method GetPassword (line 165) | func (x *Account) GetPassword() string { type ServerConfig (line 173) | type ServerConfig struct method Reset (line 188) | func (x *ServerConfig) Reset() { method String (line 195) | func (x *ServerConfig) String() string { method ProtoMessage (line 199) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 201) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 214) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetAuthType (line 218) | func (x *ServerConfig) GetAuthType() AuthType { method GetAccounts (line 225) | func (x *ServerConfig) GetAccounts() map[string]string { method GetAddress (line 232) | func (x *ServerConfig) GetAddress() *net.IPOrDomain { method GetUdpEnabled (line 239) | func (x *ServerConfig) GetUdpEnabled() bool { method GetTimeout (line 247) | func (x *ServerConfig) GetTimeout() uint32 { method GetUserLevel (line 254) | func (x *ServerConfig) GetUserLevel() uint32 { method GetPacketEncoding (line 261) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { method GetDeferLastReply (line 268) | func (x *ServerConfig) GetDeferLastReply() bool { type ClientConfig (line 276) | type ClientConfig struct method Reset (line 286) | func (x *ClientConfig) Reset() { method String (line 293) | func (x *ClientConfig) String() string { method ProtoMessage (line 297) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 299) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 312) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetServer (line 316) | func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint { method GetVersion (line 323) | func (x *ClientConfig) GetVersion() Version { method GetDelayAuthWrite (line 330) | func (x *ClientConfig) GetDelayAuthWrite() bool { constant file_proxy_socks_config_proto_rawDesc (line 339) | file_proxy_socks_config_proto_rawDesc = "" + function file_proxy_socks_config_proto_rawDescGZIP (line 379) | func file_proxy_socks_config_proto_rawDescGZIP() []byte { function init (line 413) | func init() { file_proxy_socks_config_proto_init() } function file_proxy_socks_config_proto_init (line 414) | func file_proxy_socks_config_proto_init() { FILE: proxy/socks/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/socks/protocol.go constant socks5Version (line 15) | socks5Version = 0x05 constant socks4Version (line 16) | socks4Version = 0x04 constant cmdTCPConnect (line 18) | cmdTCPConnect = 0x01 constant cmdTCPBind (line 19) | cmdTCPBind = 0x02 constant cmdUDPAssociate (line 20) | cmdUDPAssociate = 0x03 constant cmdTorResolve (line 21) | cmdTorResolve = 0xF0 constant cmdTorResolvePTR (line 22) | cmdTorResolvePTR = 0xF1 constant socks4RequestGranted (line 24) | socks4RequestGranted = 90 constant socks4RequestRejected (line 25) | socks4RequestRejected = 91 constant authNotRequired (line 27) | authNotRequired = 0x00 constant authPassword (line 29) | authPassword = 0x02 constant authNoMatchingMethod (line 30) | authNoMatchingMethod = 0xFF constant statusSuccess (line 32) | statusSuccess = 0x00 constant statusConnRefused (line 33) | statusConnRefused = 0x05 constant statusCmdNotSupport (line 34) | statusCmdNotSupport = 0x07 type ServerSession (line 43) | type ServerSession struct method handshake4 (line 51) | func (s *ServerSession) handshake4(cmd byte, reader io.Reader, writer ... method auth5 (line 106) | func (s *ServerSession) auth5(nMethod byte, reader io.Reader, writer i... method handshake5 (line 148) | func (s *ServerSession) handshake5(nMethod byte, reader io.Reader, wri... method setupLastReply (line 228) | func (s *ServerSession) setupLastReply(callback func(bool) error) error { method Handshake (line 246) | func (s *ServerSession) Handshake(reader io.Reader, writer io.Writer) ... function ReadUsernamePassword (line 273) | func ReadUsernamePassword(reader io.Reader) (string, string, error) { function ReadUntilNull (line 303) | func ReadUntilNull(reader io.Reader) (string, error) { function hasAuthMethod (line 322) | func hasAuthMethod(expectedAuth byte, authCandidates []byte) bool { function writeSocks5AuthenticationResponse (line 331) | func writeSocks5AuthenticationResponse(writer io.Writer, version byte, a... function writeSocks5Response (line 335) | func writeSocks5Response(writer io.Writer, errCode byte, address net.Add... function writeSocks4Response (line 347) | func writeSocks4Response(writer io.Writer, errCode byte, address net.Add... function DecodeUDPPacket (line 359) | func DecodeUDPPacket(packet *buf.Buffer) (*protocol.RequestHeader, error) { function EncodeUDPPacket (line 384) | func EncodeUDPPacket(request *protocol.RequestHeader, data []byte) (*buf... function EncodeUDPPacketFromAddress (line 395) | func EncodeUDPPacketFromAddress(address net.Destination, data []byte) (*... type UDPReader (line 406) | type UDPReader struct method ReadMultiBuffer (line 414) | func (r *UDPReader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadFrom (line 425) | func (r *UDPReader) ReadFrom(p []byte) (n int, addr gonet.Addr, err er... function NewUDPReader (line 410) | func NewUDPReader(reader io.Reader) *UDPReader { type UDPWriter (line 442) | type UDPWriter struct method Write (line 455) | func (w *UDPWriter) Write(b []byte) (int, error) { method WriteTo (line 467) | func (w *UDPWriter) WriteTo(payload []byte, addr gonet.Addr) (n int, e... function NewUDPWriter (line 447) | func NewUDPWriter(request *protocol.RequestHeader, writer io.Writer) *UD... function ClientHandshake (line 482) | func ClientHandshake(request *protocol.RequestHeader, reader io.Reader, ... function ClientHandshake4 (line 586) | func ClientHandshake4(request *protocol.RequestHeader, reader io.Reader,... FILE: proxy/socks/protocol_test.go function TestUDPEncoding (line 16) | func TestUDPEncoding(t *testing.T) { function TestReadUsernamePassword (line 39) | func TestReadUsernamePassword(t *testing.T) { function TestReadUntilNull (line 78) | func TestReadUntilNull(t *testing.T) { function BenchmarkReadUsernamePassword (line 112) | func BenchmarkReadUsernamePassword(b *testing.B) { FILE: proxy/socks/server.go type Server (line 28) | type Server struct method policy (line 43) | func (s *Server) policy() policy.Session { method Network (line 56) | func (s *Server) Network() []net.Network { method Process (line 65) | func (s *Server) Process(ctx context.Context, network net.Network, con... method processTCP (line 82) | func (s *Server) processTCP(ctx context.Context, conn internet.Connect... method handleUDP (line 176) | func (*Server) handleUDP(c io.Reader) error { method transport (line 182) | func (s *Server) transport(ctx context.Context, reader io.Reader, writ... method handleUDPPayload (line 223) | func (s *Server) handleUDPPayload(ctx context.Context, conn internet.C... function NewServer (line 34) | func NewServer(ctx context.Context, config *ServerConfig) (*Server, erro... type handshakeFinalizingDispatcher (line 149) | type handshakeFinalizingDispatcher struct method Dispatch (line 155) | func (d *handshakeFinalizingDispatcher) Dispatch(ctx context.Context, ... function init (line 294) | func init() { FILE: proxy/socks/simplified/config.go function init (line 11) | func init() { FILE: proxy/socks/simplified/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerConfig (line 21) | type ServerConfig struct method Reset (line 31) | func (x *ServerConfig) Reset() { method String (line 38) | func (x *ServerConfig) String() string { method ProtoMessage (line 42) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 44) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetAddress (line 61) | func (x *ServerConfig) GetAddress() *net.IPOrDomain { method GetUdpEnabled (line 68) | func (x *ServerConfig) GetUdpEnabled() bool { method GetPacketEncoding (line 75) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { method GetDeferLastReply (line 82) | func (x *ServerConfig) GetDeferLastReply() bool { type ClientConfig (line 89) | type ClientConfig struct method Reset (line 97) | func (x *ClientConfig) Reset() { method String (line 104) | func (x *ClientConfig) String() string { method ProtoMessage (line 108) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 110) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetAddress (line 127) | func (x *ClientConfig) GetAddress() *net.IPOrDomain { method GetPort (line 134) | func (x *ClientConfig) GetPort() uint32 { constant file_proxy_socks_simplified_config_proto_rawDesc (line 143) | file_proxy_socks_simplified_config_proto_rawDesc = "" + function file_proxy_socks_simplified_config_proto_rawDescGZIP (line 164) | func file_proxy_socks_simplified_config_proto_rawDescGZIP() []byte { function init (line 189) | func init() { file_proxy_socks_simplified_config_proto_init() } function file_proxy_socks_simplified_config_proto_init (line 190) | func file_proxy_socks_simplified_config_proto_init() { FILE: proxy/trojan/client.go type Client (line 24) | type Client struct method Process (line 52) | func (c *Client) Process(ctx context.Context, link *transport.Link, di... function NewClient (line 30) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... function init (line 194) | func init() { FILE: proxy/trojan/config.go type MemoryAccount (line 13) | type MemoryAccount struct method Equals (line 29) | func (a *MemoryAccount) Equals(another protocol.Account) bool { method AsAccount (line 19) | func (a *Account) AsAccount() (protocol.Account, error) { function hexSha224 (line 36) | func hexSha224(password string) []byte { function hexString (line 44) | func hexString(data []byte) string { FILE: proxy/trojan/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Account (line 20) | type Account struct method Reset (line 27) | func (x *Account) Reset() { method String (line 34) | func (x *Account) String() string { method ProtoMessage (line 38) | func (*Account) ProtoMessage() {} method ProtoReflect (line 40) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*Account) Descriptor() ([]byte, []int) { method GetPassword (line 57) | func (x *Account) GetPassword() string { type Fallback (line 64) | type Fallback struct method Reset (line 75) | func (x *Fallback) Reset() { method String (line 82) | func (x *Fallback) String() string { method ProtoMessage (line 86) | func (*Fallback) ProtoMessage() {} method ProtoReflect (line 88) | func (x *Fallback) ProtoReflect() protoreflect.Message { method Descriptor (line 101) | func (*Fallback) Descriptor() ([]byte, []int) { method GetAlpn (line 105) | func (x *Fallback) GetAlpn() string { method GetPath (line 112) | func (x *Fallback) GetPath() string { method GetType (line 119) | func (x *Fallback) GetType() string { method GetDest (line 126) | func (x *Fallback) GetDest() string { method GetXver (line 133) | func (x *Fallback) GetXver() uint64 { type ClientConfig (line 140) | type ClientConfig struct method Reset (line 147) | func (x *ClientConfig) Reset() { method String (line 154) | func (x *ClientConfig) String() string { method ProtoMessage (line 158) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 160) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 173) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetServer (line 177) | func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint { type ServerConfig (line 184) | type ServerConfig struct method Reset (line 193) | func (x *ServerConfig) Reset() { method String (line 200) | func (x *ServerConfig) String() string { method ProtoMessage (line 204) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 206) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 219) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetUsers (line 223) | func (x *ServerConfig) GetUsers() []*protocol.User { method GetFallbacks (line 230) | func (x *ServerConfig) GetFallbacks() []*Fallback { method GetPacketEncoding (line 237) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { constant file_proxy_trojan_config_proto_rawDesc (line 246) | file_proxy_trojan_config_proto_rawDesc = "" + function file_proxy_trojan_config_proto_rawDescGZIP (line 270) | func file_proxy_trojan_config_proto_rawDescGZIP() []byte { function init (line 299) | func init() { file_proxy_trojan_config_proto_init() } function file_proxy_trojan_config_proto_init (line 300) | func file_proxy_trojan_config_proto_init() { FILE: proxy/trojan/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/trojan/protocol.go constant commandTCP (line 24) | commandTCP byte = 1 constant commandUDP (line 25) | commandUDP byte = 3 type ConnWriter (line 29) | type ConnWriter struct method Write (line 37) | func (c *ConnWriter) Write(p []byte) (n int, err error) { method WriteMultiBuffer (line 48) | func (c *ConnWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { method WriteHeader (line 62) | func (c *ConnWriter) WriteHeader() error { method writeHeader (line 71) | func (c *ConnWriter) writeHeader() error { type PacketWriter (line 105) | type PacketWriter struct method WriteMultiBuffer (line 111) | func (w *PacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { method WriteMultiBufferWithMetadata (line 126) | func (w *PacketWriter) WriteMultiBufferWithMetadata(mb buf.MultiBuffer... method WriteTo (line 140) | func (w *PacketWriter) WriteTo(payload []byte, addr gonet.Addr) (int, ... method writePacket (line 146) | func (w *PacketWriter) writePacket(payload []byte, dest net.Destinatio... type ConnReader (line 190) | type ConnReader struct method ParseHeader (line 197) | func (c *ConnReader) ParseHeader() error { method Read (line 233) | func (c *ConnReader) Read(p []byte) (int, error) { method ReadMultiBuffer (line 244) | func (c *ConnReader) ReadMultiBuffer() (buf.MultiBuffer, error) { type PacketPayload (line 251) | type PacketPayload struct type PacketReader (line 257) | type PacketReader struct method ReadMultiBuffer (line 262) | func (r *PacketReader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadMultiBufferWithMetadata (line 271) | func (r *PacketReader) ReadMultiBufferWithMetadata() (*PacketPayload, ... type PacketConnectionReader (line 300) | type PacketConnectionReader struct method ReadFrom (line 305) | func (r *PacketConnectionReader) ReadFrom(p []byte) (n int, addr gonet... FILE: proxy/trojan/protocol_test.go function toAccount (line 16) | func toAccount(a *Account) protocol.Account { function TestTCPRequest (line 22) | func TestTCPRequest(t *testing.T) { function TestUDPRequest (line 54) | func TestUDPRequest(t *testing.T) { function TestLargeUDPRequest (line 95) | func TestLargeUDPRequest(t *testing.T) { FILE: proxy/trojan/server.go function init (line 29) | func init() { type Server (line 36) | type Server struct method AddUser (line 89) | func (s *Server) AddUser(ctx context.Context, u *protocol.MemoryUser) ... method RemoveUser (line 94) | func (s *Server) RemoveUser(ctx context.Context, e string) error { method Network (line 99) | func (s *Server) Network() []net.Network { method Process (line 104) | func (s *Server) Process(ctx context.Context, network net.Network, con... method handleUDPPayload (line 209) | func (s *Server) handleUDPPayload(ctx context.Context, clientReader *P... method handleConnection (line 256) | func (s *Server) handleConnection(ctx context.Context, sessionPolicy p... method fallback (line 298) | func (s *Server) fallback(ctx context.Context, sid errors.ExportOption... function NewServer (line 44) | func NewServer(ctx context.Context, config *ServerConfig) (*Server, erro... FILE: proxy/trojan/simplified/config.go function init (line 12) | func init() { FILE: proxy/trojan/simplified/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerConfig (line 21) | type ServerConfig struct method Reset (line 29) | func (x *ServerConfig) Reset() { method String (line 36) | func (x *ServerConfig) String() string { method ProtoMessage (line 40) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 42) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetUsers (line 59) | func (x *ServerConfig) GetUsers() []string { method GetPacketEncoding (line 66) | func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { type ClientConfig (line 73) | type ClientConfig struct method Reset (line 82) | func (x *ClientConfig) Reset() { method String (line 89) | func (x *ClientConfig) String() string { method ProtoMessage (line 93) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 95) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetAddress (line 112) | func (x *ClientConfig) GetAddress() *net.IPOrDomain { method GetPort (line 119) | func (x *ClientConfig) GetPort() uint32 { method GetPassword (line 126) | func (x *ClientConfig) GetPassword() string { constant file_proxy_trojan_simplified_config_proto_rawDesc (line 135) | file_proxy_trojan_simplified_config_proto_rawDesc = "" + function file_proxy_trojan_simplified_config_proto_rawDescGZIP (line 154) | func file_proxy_trojan_simplified_config_proto_rawDescGZIP() []byte { function init (line 178) | func init() { file_proxy_trojan_simplified_config_proto_init() } function file_proxy_trojan_simplified_config_proto_init (line 179) | func file_proxy_trojan_simplified_config_proto_init() { FILE: proxy/trojan/validator.go type Validator (line 11) | type Validator struct method Add (line 18) | func (v *Validator) Add(u *protocol.MemoryUser) error { method Del (line 30) | func (v *Validator) Del(e string) error { method Get (line 45) | func (v *Validator) Get(hash string) *protocol.MemoryUser { FILE: proxy/vless/account.go method AsAccount (line 12) | func (a *Account) AsAccount() (protocol.Account, error) { type MemoryAccount (line 25) | type MemoryAccount struct method Equals (line 35) | func (a *MemoryAccount) Equals(account protocol.Account) bool { FILE: proxy/vless/account.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Account (line 18) | type Account struct method Reset (line 30) | func (x *Account) Reset() { method String (line 37) | func (x *Account) String() string { method ProtoMessage (line 41) | func (*Account) ProtoMessage() {} method ProtoReflect (line 43) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*Account) Descriptor() ([]byte, []int) { method GetId (line 60) | func (x *Account) GetId() string { method GetFlow (line 67) | func (x *Account) GetFlow() string { method GetEncryption (line 74) | func (x *Account) GetEncryption() string { constant file_proxy_vless_account_proto_rawDesc (line 83) | file_proxy_vless_account_proto_rawDesc = "" + function file_proxy_vless_account_proto_rawDescGZIP (line 99) | func file_proxy_vless_account_proto_rawDescGZIP() []byte { function init (line 118) | func init() { file_proxy_vless_account_proto_init() } function file_proxy_vless_account_proto_init (line 119) | func file_proxy_vless_account_proto_init() { FILE: proxy/vless/encoding/addons.go function EncodeHeaderAddons (line 17) | func EncodeHeaderAddons(buffer *buf.Buffer, addons *Addons) error { function DecodeHeaderAddons (line 24) | func DecodeHeaderAddons(buffer *buf.Buffer, reader io.Reader) (*Addons, ... function EncodeBodyAddons (line 46) | func EncodeBodyAddons(writer io.Writer, request *protocol.RequestHeader,... function DecodeBodyAddons (line 54) | func DecodeBodyAddons(reader io.Reader, request *protocol.RequestHeader,... function NewMultiLengthPacketWriter (line 61) | func NewMultiLengthPacketWriter(writer buf.Writer) *MultiLengthPacketWri... type MultiLengthPacketWriter (line 67) | type MultiLengthPacketWriter struct method WriteMultiBuffer (line 71) | func (w *MultiLengthPacketWriter) WriteMultiBuffer(mb buf.MultiBuffer)... type LengthPacketWriter (line 105) | type LengthPacketWriter struct method WriteMultiBuffer (line 110) | func (w *LengthPacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { function NewLengthPacketReader (line 130) | func NewLengthPacketReader(reader io.Reader) *LengthPacketReader { type LengthPacketReader (line 137) | type LengthPacketReader struct method ReadMultiBuffer (line 142) | func (r *LengthPacketReader) ReadMultiBuffer() (buf.MultiBuffer, error) { FILE: proxy/vless/encoding/addons.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Addons (line 18) | type Addons struct method Reset (line 26) | func (x *Addons) Reset() { method String (line 33) | func (x *Addons) String() string { method ProtoMessage (line 37) | func (*Addons) ProtoMessage() {} method ProtoReflect (line 39) | func (x *Addons) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*Addons) Descriptor() ([]byte, []int) { method GetFlow (line 56) | func (x *Addons) GetFlow() string { method GetSeed (line 63) | func (x *Addons) GetSeed() []byte { constant file_proxy_vless_encoding_addons_proto_rawDesc (line 72) | file_proxy_vless_encoding_addons_proto_rawDesc = "" + function file_proxy_vless_encoding_addons_proto_rawDescGZIP (line 85) | func file_proxy_vless_encoding_addons_proto_rawDescGZIP() []byte { function init (line 104) | func init() { file_proxy_vless_encoding_addons_proto_init() } function file_proxy_vless_encoding_addons_proto_init (line 105) | func file_proxy_vless_encoding_addons_proto_init() { FILE: proxy/vless/encoding/encoding.go constant Version (line 15) | Version = byte(0) function EncodeRequestHeader (line 26) | func EncodeRequestHeader(writer io.Writer, request *protocol.RequestHead... function DecodeRequestHeader (line 60) | func DecodeRequestHeader(isfb bool, first *buf.Buffer, reader io.Reader,... function EncodeResponseHeader (line 129) | func EncodeResponseHeader(writer io.Writer, request *protocol.RequestHea... function DecodeResponseHeader (line 149) | func DecodeResponseHeader(reader io.Reader, request *protocol.RequestHea... FILE: proxy/vless/encoding/encoding_test.go function toAccount (line 18) | func toAccount(a *vless.Account) protocol.Account { function TestRequestSerialization (line 24) | func TestRequestSerialization(t *testing.T) { function TestInvalidRequest (line 62) | func TestInvalidRequest(t *testing.T) { function TestMuxRequest (line 94) | func TestMuxRequest(t *testing.T) { FILE: proxy/vless/encoding/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vless/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vless/inbound/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Fallback (line 20) | type Fallback struct method Reset (line 31) | func (x *Fallback) Reset() { method String (line 38) | func (x *Fallback) String() string { method ProtoMessage (line 42) | func (*Fallback) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Fallback) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Fallback) Descriptor() ([]byte, []int) { method GetAlpn (line 61) | func (x *Fallback) GetAlpn() string { method GetPath (line 68) | func (x *Fallback) GetPath() string { method GetType (line 75) | func (x *Fallback) GetType() string { method GetDest (line 82) | func (x *Fallback) GetDest() string { method GetXver (line 89) | func (x *Fallback) GetXver() uint64 { type Config (line 96) | type Config struct method Reset (line 107) | func (x *Config) Reset() { method String (line 114) | func (x *Config) String() string { method ProtoMessage (line 118) | func (*Config) ProtoMessage() {} method ProtoReflect (line 120) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 133) | func (*Config) Descriptor() ([]byte, []int) { method GetClients (line 137) | func (x *Config) GetClients() []*protocol.User { method GetDecryption (line 144) | func (x *Config) GetDecryption() string { method GetFallbacks (line 151) | func (x *Config) GetFallbacks() []*Fallback { type SimplifiedConfig (line 158) | type SimplifiedConfig struct method Reset (line 165) | func (x *SimplifiedConfig) Reset() { method String (line 172) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 176) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 178) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 191) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetUsers (line 195) | func (x *SimplifiedConfig) GetUsers() []string { constant file_proxy_vless_inbound_config_proto_rawDesc (line 204) | file_proxy_vless_inbound_config_proto_rawDesc = "" + function file_proxy_vless_inbound_config_proto_rawDescGZIP (line 229) | func file_proxy_vless_inbound_config_proto_rawDescGZIP() []byte { function init (line 253) | func init() { file_proxy_vless_inbound_config_proto_init() } function file_proxy_vless_inbound_config_proto_init (line 254) | func file_proxy_vless_inbound_config_proto_init() { FILE: proxy/vless/inbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vless/inbound/inbound.go function init (line 33) | func init() { type Handler (line 65) | type Handler struct method Close (line 129) | func (h *Handler) Close() error { method AddUser (line 134) | func (h *Handler) AddUser(ctx context.Context, u *protocol.MemoryUser)... method RemoveUser (line 139) | func (h *Handler) RemoveUser(ctx context.Context, e string) error { method Network (line 144) | func (*Handler) Network() []net.Network { method Process (line 149) | func (h *Handler) Process(ctx context.Context, network net.Network, co... function New (line 75) | func New(ctx context.Context, config *Config, dc dns.Client) (*Handler, ... FILE: proxy/vless/outbound/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 21) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetVnext (line 58) | func (x *Config) GetVnext() []*protocol.ServerEndpoint { type SimplifiedConfig (line 65) | type SimplifiedConfig struct method Reset (line 74) | func (x *SimplifiedConfig) Reset() { method String (line 81) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 85) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 87) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 100) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetAddress (line 104) | func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain { method GetPort (line 111) | func (x *SimplifiedConfig) GetPort() uint32 { method GetUuid (line 118) | func (x *SimplifiedConfig) GetUuid() string { constant file_proxy_vless_outbound_config_proto_rawDesc (line 127) | file_proxy_vless_outbound_config_proto_rawDesc = "" + function file_proxy_vless_outbound_config_proto_rawDescGZIP (line 144) | func file_proxy_vless_outbound_config_proto_rawDescGZIP() []byte { function init (line 168) | func init() { file_proxy_vless_outbound_config_proto_init() } function file_proxy_vless_outbound_config_proto_init (line 169) | func file_proxy_vless_outbound_config_proto_init() { FILE: proxy/vless/outbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vless/outbound/outbound.go function init (line 26) | func init() { type Handler (line 50) | type Handler struct method Process (line 78) | func (h *Handler) Process(ctx context.Context, link *transport.Link, d... function New (line 57) | func New(ctx context.Context, config *Config) (*Handler, error) { FILE: proxy/vless/validator.go type Validator (line 12) | type Validator struct method Add (line 19) | func (v *Validator) Add(u *protocol.MemoryUser) error { method Del (line 31) | func (v *Validator) Del(e string) error { method Get (line 46) | func (v *Validator) Get(id uuid.UUID) *protocol.MemoryUser { FILE: proxy/vlite/inbound/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type UDPProtocolConfig (line 19) | type UDPProtocolConfig struct method Reset (line 31) | func (x *UDPProtocolConfig) Reset() { method String (line 38) | func (x *UDPProtocolConfig) String() string { method ProtoMessage (line 42) | func (*UDPProtocolConfig) ProtoMessage() {} method ProtoReflect (line 44) | func (x *UDPProtocolConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*UDPProtocolConfig) Descriptor() ([]byte, []int) { method GetPassword (line 61) | func (x *UDPProtocolConfig) GetPassword() string { method GetScramblePacket (line 68) | func (x *UDPProtocolConfig) GetScramblePacket() bool { method GetEnableFec (line 75) | func (x *UDPProtocolConfig) GetEnableFec() bool { method GetEnableStabilization (line 82) | func (x *UDPProtocolConfig) GetEnableStabilization() bool { method GetEnableRenegotiation (line 89) | func (x *UDPProtocolConfig) GetEnableRenegotiation() bool { method GetHandshakeMaskingPaddingSize (line 96) | func (x *UDPProtocolConfig) GetHandshakeMaskingPaddingSize() uint32 { constant file_proxy_vlite_inbound_config_proto_rawDesc (line 105) | file_proxy_vlite_inbound_config_proto_rawDesc = "" + function file_proxy_vlite_inbound_config_proto_rawDescGZIP (line 124) | func file_proxy_vlite_inbound_config_proto_rawDescGZIP() []byte { function init (line 143) | func init() { file_proxy_vlite_inbound_config_proto_init() } function file_proxy_vlite_inbound_config_proto_init (line 144) | func file_proxy_vlite_inbound_config_proto_init() { FILE: proxy/vlite/inbound/connAdp.go function newUDPConnAdaptor (line 11) | func newUDPConnAdaptor(conn net.Conn, done *done.Instance) net.Conn { type udpConnAdp (line 20) | type udpConnAdp struct method Read (line 29) | func (u *udpConnAdp) Read(p []byte) (n int, err error) { method Close (line 46) | func (u *udpConnAdp) Close() error { FILE: proxy/vlite/inbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vlite/inbound/inbound.go function NewUDPInboundHandler (line 33) | func NewUDPInboundHandler(ctx context.Context, config *UDPProtocolConfig... type Handler (line 43) | type Handler struct method Network (line 47) | func (h *Handler) Network() []net.Network { method Process (line 160) | func (h *Handler) Process(ctx context.Context, network net.Network, co... method ensureStarted (line 188) | func (h *Handler) ensureStarted(s *status) error { type status (line 52) | type status struct method RelayStream (line 65) | func (s *status) RelayStream(conn io.ReadWriteCloser, ctx context.Cont... method Connection (line 68) | func (s *status) Connection(conn gonet.Conn, connctx context.Context) ... function createStatusFromConfig (line 123) | func createStatusFromConfig(config *UDPProtocolConfig) (*status, error) ... function enableInterface (line 149) | func enableInterface(s *status) error { //nolint: unparam function init (line 200) | func init() { FILE: proxy/vlite/outbound/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type UDPProtocolConfig (line 20) | type UDPProtocolConfig struct method Reset (line 34) | func (x *UDPProtocolConfig) Reset() { method String (line 41) | func (x *UDPProtocolConfig) String() string { method ProtoMessage (line 45) | func (*UDPProtocolConfig) ProtoMessage() {} method ProtoReflect (line 47) | func (x *UDPProtocolConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*UDPProtocolConfig) Descriptor() ([]byte, []int) { method GetAddress (line 64) | func (x *UDPProtocolConfig) GetAddress() *net.IPOrDomain { method GetPort (line 71) | func (x *UDPProtocolConfig) GetPort() uint32 { method GetPassword (line 78) | func (x *UDPProtocolConfig) GetPassword() string { method GetScramblePacket (line 85) | func (x *UDPProtocolConfig) GetScramblePacket() bool { method GetEnableFec (line 92) | func (x *UDPProtocolConfig) GetEnableFec() bool { method GetEnableStabilization (line 99) | func (x *UDPProtocolConfig) GetEnableStabilization() bool { method GetEnableRenegotiation (line 106) | func (x *UDPProtocolConfig) GetEnableRenegotiation() bool { method GetHandshakeMaskingPaddingSize (line 113) | func (x *UDPProtocolConfig) GetHandshakeMaskingPaddingSize() uint32 { constant file_proxy_vlite_outbound_config_proto_rawDesc (line 122) | file_proxy_vlite_outbound_config_proto_rawDesc = "" + function file_proxy_vlite_outbound_config_proto_rawDescGZIP (line 143) | func file_proxy_vlite_outbound_config_proto_rawDescGZIP() []byte { function init (line 164) | func init() { file_proxy_vlite_outbound_config_proto_init() } function file_proxy_vlite_outbound_config_proto_init (line 165) | func file_proxy_vlite_outbound_config_proto_init() { FILE: proxy/vlite/outbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vlite/outbound/outbound.go function NewUDPOutboundHandler (line 36) | func NewUDPOutboundHandler(ctx context.Context, config *UDPProtocolConfi... type Handler (line 46) | type Handler struct method Process (line 51) | func (h *Handler) Process(ctx context.Context, link *transport.Link, d... method ensureStarted (line 87) | func (h *Handler) ensureStarted(s *status) error { type status (line 99) | type status struct function createStatusFromConfig (line 119) | func createStatusFromConfig(config *UDPProtocolConfig) (*status, error) ... function enableInterface (line 154) | func enableInterface(s *status) error { function init (line 222) | func init() { FILE: proxy/vmess/account.go type MemoryAccount (line 15) | type MemoryAccount struct method AnyValidID (line 28) | func (a *MemoryAccount) AnyValidID() *protocol.ID { method Equals (line 36) | func (a *MemoryAccount) Equals(account protocol.Account) bool { method AsAccount (line 46) | func (a *Account) AsAccount() (protocol.Account, error) { FILE: proxy/vmess/account.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Account (line 19) | type Account struct method Reset (line 34) | func (x *Account) Reset() { method String (line 41) | func (x *Account) String() string { method ProtoMessage (line 45) | func (*Account) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Account) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Account) Descriptor() ([]byte, []int) { method GetId (line 64) | func (x *Account) GetId() string { method GetAlterId (line 71) | func (x *Account) GetAlterId() uint32 { method GetSecuritySettings (line 78) | func (x *Account) GetSecuritySettings() *protocol.SecurityConfig { method GetTestsEnabled (line 85) | func (x *Account) GetTestsEnabled() string { constant file_proxy_vmess_account_proto_rawDesc (line 94) | file_proxy_vmess_account_proto_rawDesc = "" + function file_proxy_vmess_account_proto_rawDescGZIP (line 109) | func file_proxy_vmess_account_proto_rawDescGZIP() []byte { function init (line 130) | func init() { file_proxy_vmess_account_proto_init() } function file_proxy_vmess_account_proto_init (line 131) | func file_proxy_vmess_account_proto_init() { FILE: proxy/vmess/aead/authid.go function CreateAuthID (line 24) | func CreateAuthID(cmdKey []byte, time int64) [16]byte { function NewCipherFromKey (line 40) | func NewCipherFromKey(cmdKey []byte) cipher.Block { type AuthIDDecoder (line 48) | type AuthIDDecoder struct method Decode (line 56) | func (aidd *AuthIDDecoder) Decode(data [16]byte) (int64, uint32, int32... function NewAuthIDDecoder (line 52) | func NewAuthIDDecoder(cmdKey []byte) *AuthIDDecoder { function NewAuthIDDecoderHolder (line 68) | func NewAuthIDDecoderHolder() *AuthIDDecoderHolder { type AuthIDDecoderHolder (line 72) | type AuthIDDecoderHolder struct method AddUser (line 89) | func (a *AuthIDDecoderHolder) AddUser(key [16]byte, ticket interface{}) { method RemoveUser (line 93) | func (a *AuthIDDecoderHolder) RemoveUser(key [16]byte) { method Match (line 97) | func (a *AuthIDDecoderHolder) Match(authID [16]byte) (interface{}, err... type AuthIDDecoderItem (line 77) | type AuthIDDecoderItem struct function NewAuthIDDecoderItem (line 82) | func NewAuthIDDecoderItem(key [16]byte, ticket interface{}) *AuthIDDecod... FILE: proxy/vmess/aead/authid_test.go function TestCreateAuthID (line 12) | func TestCreateAuthID(t *testing.T) { function TestCreateAuthIDAndDecode (line 20) | func TestCreateAuthIDAndDecode(t *testing.T) { function TestCreateAuthIDAndDecode2 (line 38) | func TestCreateAuthIDAndDecode2(t *testing.T) { function TestCreateAuthIDAndDecodeMassive (line 63) | func TestCreateAuthIDAndDecodeMassive(t *testing.T) { function TestCreateAuthIDAndDecodeSuperMassive (line 94) | func TestCreateAuthIDAndDecodeSuperMassive(t *testing.T) { FILE: proxy/vmess/aead/consts.go constant KDFSaltConstAuthIDEncryptionKey (line 4) | KDFSaltConstAuthIDEncryptionKey = "AES Auth ID Encryption" constant KDFSaltConstAEADRespHeaderLenKey (line 5) | KDFSaltConstAEADRespHeaderLenKey = "AEAD Resp Header Len Key" constant KDFSaltConstAEADRespHeaderLenIV (line 6) | KDFSaltConstAEADRespHeaderLenIV = "AEAD Resp Header Len IV" constant KDFSaltConstAEADRespHeaderPayloadKey (line 7) | KDFSaltConstAEADRespHeaderPayloadKey = "AEAD Resp Header Key" constant KDFSaltConstAEADRespHeaderPayloadIV (line 8) | KDFSaltConstAEADRespHeaderPayloadIV = "AEAD Resp Header IV" constant KDFSaltConstVMessAEADKDF (line 9) | KDFSaltConstVMessAEADKDF = "VMess AEAD KDF" constant KDFSaltConstVMessHeaderPayloadAEADKey (line 10) | KDFSaltConstVMessHeaderPayloadAEADKey = "VMess Header AEAD Key" constant KDFSaltConstVMessHeaderPayloadAEADIV (line 11) | KDFSaltConstVMessHeaderPayloadAEADIV = "VMess Header AEAD Nonce" constant KDFSaltConstVMessHeaderPayloadLengthAEADKey (line 12) | KDFSaltConstVMessHeaderPayloadLengthAEADKey = "VMess Header AEAD Key_Len... constant KDFSaltConstVMessHeaderPayloadLengthAEADIV (line 13) | KDFSaltConstVMessHeaderPayloadLengthAEADIV = "VMess Header AEAD Nonce_L... FILE: proxy/vmess/aead/encrypt.go function SealVMessAEADHeader (line 15) | func SealVMessAEADHeader(key [16]byte, data []byte) []byte { function OpenVMessAEADHeader (line 80) | func OpenVMessAEADHeader(key [16]byte, authid [16]byte, data io.Reader) ... FILE: proxy/vmess/aead/encrypt_test.go function TestOpenVMessAEADHeader (line 12) | func TestOpenVMessAEADHeader(t *testing.T) { function TestOpenVMessAEADHeader2 (line 31) | func TestOpenVMessAEADHeader2(t *testing.T) { function TestOpenVMessAEADHeader4 (line 50) | func TestOpenVMessAEADHeader4(t *testing.T) { function TestOpenVMessAEADHeader4Massive (line 77) | func TestOpenVMessAEADHeader4Massive(t *testing.T) { FILE: proxy/vmess/aead/kdf.go function KDF (line 9) | func KDF(key []byte, path ...string) []byte { type hMacCreator (line 19) | type hMacCreator struct method Create (line 24) | func (h *hMacCreator) Create() hash.Hash { function KDF16 (line 31) | func KDF16(key []byte, path ...string) []byte { FILE: proxy/vmess/aead/kdf_test.go function TestKDFValue (line 11) | func TestKDFValue(t *testing.T) { FILE: proxy/vmess/encoding/auth.go function Authenticate (line 15) | func Authenticate(b []byte) uint32 { type NoOpAuthenticator (line 21) | type NoOpAuthenticator struct method NonceSize (line 23) | func (NoOpAuthenticator) NonceSize() int { method Overhead (line 27) | func (NoOpAuthenticator) Overhead() int { method Seal (line 32) | func (NoOpAuthenticator) Seal(dst, nonce, plaintext, additionalData []... method Open (line 37) | func (NoOpAuthenticator) Open(dst, nonce, ciphertext, additionalData [... type FnvAuthenticator (line 42) | type FnvAuthenticator struct method NonceSize (line 45) | func (*FnvAuthenticator) NonceSize() int { method Overhead (line 50) | func (*FnvAuthenticator) Overhead() int { method Seal (line 55) | func (*FnvAuthenticator) Seal(dst, nonce, plaintext, additionalData []... method Open (line 62) | func (*FnvAuthenticator) Open(dst, nonce, ciphertext, additionalData [... function GenerateChacha20Poly1305Key (line 70) | func GenerateChacha20Poly1305Key(b []byte) []byte { type ShakeSizeParser (line 79) | type ShakeSizeParser struct method SizeBytes (line 92) | func (*ShakeSizeParser) SizeBytes() int32 { method next (line 96) | func (s *ShakeSizeParser) next() uint16 { method Decode (line 101) | func (s *ShakeSizeParser) Decode(b []byte) (uint16, error) { method Encode (line 107) | func (s *ShakeSizeParser) Encode(size uint16, b []byte) []byte { method NextPaddingLen (line 113) | func (s *ShakeSizeParser) NextPaddingLen() uint16 { method MaxPaddingLen (line 117) | func (s *ShakeSizeParser) MaxPaddingLen() uint16 { function NewShakeSizeParser (line 84) | func NewShakeSizeParser(nonce []byte) *ShakeSizeParser { type AEADSizeParser (line 121) | type AEADSizeParser struct function NewAEADSizeParser (line 125) | func NewAEADSizeParser(auth *crypto.AEADAuthenticator) *AEADSizeParser { FILE: proxy/vmess/encoding/auth_test.go function TestFnvAuth (line 13) | func TestFnvAuth(t *testing.T) { FILE: proxy/vmess/encoding/client.go function hashTimestamp (line 30) | func hashTimestamp(h hash.Hash, t protocol.Timestamp) []byte { type ClientSession (line 39) | type ClientSession struct method EncodeRequestHeader (line 86) | func (c *ClientSession) EncodeRequestHeader(header *protocol.RequestHe... method EncodeRequestBody (line 140) | func (c *ClientSession) EncodeRequestBody(request *protocol.RequestHea... method DecodeResponseHeader (line 228) | func (c *ClientSession) DecodeResponseHeader(reader io.Reader) (*proto... method DecodeResponseBody (line 313) | func (c *ClientSession) DecodeResponseBody(request *protocol.RequestHe... function NewClientSession (line 53) | func NewClientSession(ctx context.Context, isAEAD bool, idHash protocol.... function GenerateChunkNonce (line 401) | func GenerateChunkNonce(nonce []byte, size uint32) crypto.BytesGenerator { FILE: proxy/vmess/encoding/commands.go function MarshalCommand (line 23) | func MarshalCommand(command interface{}, writer io.Writer) error { function UnmarshalCommand (line 57) | func UnmarshalCommand(cmdID byte, data []byte) (protocol.ResponseCommand... type CommandFactory (line 77) | type CommandFactory interface type CommandSwitchAccountFactory (line 82) | type CommandSwitchAccountFactory struct method Marshal (line 84) | func (f *CommandSwitchAccountFactory) Marshal(command interface{}, wri... method Unmarshal (line 111) | func (f *CommandSwitchAccountFactory) Unmarshal(data []byte) (interfac... FILE: proxy/vmess/encoding/commands_test.go function TestSwitchAccount (line 16) | func TestSwitchAccount(t *testing.T) { function TestSwitchAccountBugOffByOne (line 40) | func TestSwitchAccountBugOffByOne(t *testing.T) { FILE: proxy/vmess/encoding/encoding.go constant Version (line 11) | Version = byte(1) FILE: proxy/vmess/encoding/encoding_test.go function toAccount (line 18) | func toAccount(a *vmess.Account) protocol.Account { function TestRequestSerialization (line 24) | func TestRequestSerialization(t *testing.T) { function TestInvalidRequest (line 74) | func TestInvalidRequest(t *testing.T) { function TestMuxRequest (line 116) | func TestMuxRequest(t *testing.T) { FILE: proxy/vmess/encoding/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vmess/encoding/server.go type sessionID (line 29) | type sessionID struct type SessionHistory (line 36) | type SessionHistory struct method Close (line 55) | func (h *SessionHistory) Close() error { method addIfNotExits (line 59) | func (h *SessionHistory) addIfNotExits(session sessionID) bool { method removeExpiredEntries (line 73) | func (h *SessionHistory) removeExpiredEntries() error { function NewSessionHistory (line 43) | func NewSessionHistory() *SessionHistory { type ServerSession (line 97) | type ServerSession struct method SetAEADForced (line 122) | func (s *ServerSession) SetAEADForced(isAEADForced bool) { method DecodeRequestHeader (line 139) | func (s *ServerSession) DecodeRequestHeader(reader io.Reader) (*protoc... method DecodeRequestBody (line 308) | func (s *ServerSession) DecodeRequestBody(request *protocol.RequestHea... method EncodeResponseHeader (line 399) | func (s *ServerSession) EncodeResponseHeader(header *protocol.Response... method EncodeResponseBody (line 455) | func (s *ServerSession) EncodeResponseBody(request *protocol.RequestHe... function NewServerSession (line 114) | func NewServerSession(validator *vmess.TimedUserValidator, sessionHistor... function parseSecurityType (line 126) | func parseSecurityType(b byte) protocol.SecurityType { FILE: proxy/vmess/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vmess/inbound/config.go method GetDefaultValue (line 4) | func (c *Config) GetDefaultValue() *DefaultConfig { FILE: proxy/vmess/inbound/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type DetourConfig (line 20) | type DetourConfig struct method Reset (line 27) | func (x *DetourConfig) Reset() { method String (line 34) | func (x *DetourConfig) String() string { method ProtoMessage (line 38) | func (*DetourConfig) ProtoMessage() {} method ProtoReflect (line 40) | func (x *DetourConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*DetourConfig) Descriptor() ([]byte, []int) { method GetTo (line 57) | func (x *DetourConfig) GetTo() string { type DefaultConfig (line 64) | type DefaultConfig struct method Reset (line 72) | func (x *DefaultConfig) Reset() { method String (line 79) | func (x *DefaultConfig) String() string { method ProtoMessage (line 83) | func (*DefaultConfig) ProtoMessage() {} method ProtoReflect (line 85) | func (x *DefaultConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 98) | func (*DefaultConfig) Descriptor() ([]byte, []int) { method GetAlterId (line 102) | func (x *DefaultConfig) GetAlterId() uint32 { method GetLevel (line 109) | func (x *DefaultConfig) GetLevel() uint32 { type Config (line 116) | type Config struct method Reset (line 126) | func (x *Config) Reset() { method String (line 133) | func (x *Config) String() string { method ProtoMessage (line 137) | func (*Config) ProtoMessage() {} method ProtoReflect (line 139) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 152) | func (*Config) Descriptor() ([]byte, []int) { method GetUser (line 156) | func (x *Config) GetUser() []*protocol.User { method GetDefault (line 163) | func (x *Config) GetDefault() *DefaultConfig { method GetDetour (line 170) | func (x *Config) GetDetour() *DetourConfig { method GetSecureEncryptionOnly (line 177) | func (x *Config) GetSecureEncryptionOnly() bool { type SimplifiedConfig (line 184) | type SimplifiedConfig struct method Reset (line 191) | func (x *SimplifiedConfig) Reset() { method String (line 198) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 202) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 204) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 217) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetUsers (line 221) | func (x *SimplifiedConfig) GetUsers() []string { constant file_proxy_vmess_inbound_config_proto_rawDesc (line 230) | file_proxy_vmess_inbound_config_proto_rawDesc = "" + function file_proxy_vmess_inbound_config_proto_rawDescGZIP (line 253) | func file_proxy_vmess_inbound_config_proto_rawDescGZIP() []byte { function init (line 279) | func init() { file_proxy_vmess_inbound_config_proto_init() } function file_proxy_vmess_inbound_config_proto_init (line 280) | func file_proxy_vmess_inbound_config_proto_init() { FILE: proxy/vmess/inbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vmess/inbound/inbound.go type userByEmail (line 33) | type userByEmail struct method addNoLock (line 48) | func (v *userByEmail) addNoLock(u *protocol.MemoryUser) bool { method Add (line 58) | func (v *userByEmail) Add(u *protocol.MemoryUser) bool { method Get (line 65) | func (v *userByEmail) Get(email string) (*protocol.MemoryUser, bool) { method Remove (line 90) | func (v *userByEmail) Remove(email string) bool { function newUserByEmail (line 40) | func newUserByEmail(config *DefaultConfig) *userByEmail { type Handler (line 104) | type Handler struct method Close (line 142) | func (h *Handler) Close() error { method Network (line 150) | func (*Handler) Network() []net.Network { method GetUser (line 154) | func (h *Handler) GetUser(email string) *protocol.MemoryUser { method AddUser (line 162) | func (h *Handler) AddUser(ctx context.Context, user *protocol.MemoryUs... method RemoveUser (line 169) | func (h *Handler) RemoveUser(ctx context.Context, email string) error { method Process (line 223) | func (h *Handler) Process(ctx context.Context, network net.Network, co... method generateCommand (line 325) | func (h *Handler) generateCommand(ctx context.Context, request *protoc... function New (line 115) | func New(ctx context.Context, config *Config) (*Handler, error) { function transferResponse (line 180) | func transferResponse(timer signal.ActivityUpdater, session *encoding.Se... function isInsecureEncryption (line 218) | func isInsecureEncryption(s protocol.SecurityType) bool { function init (line 366) | func init() { FILE: proxy/vmess/outbound/command.go method handleSwitchAccount (line 12) | func (h *Handler) handleSwitchAccount(cmd *protocol.CommandSwitchAccount) { method handleCommand (line 33) | func (h *Handler) handleCommand(dest net.Destination, cmd protocol.Respo... FILE: proxy/vmess/outbound/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 21) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetReceiver (line 58) | func (x *Config) GetReceiver() []*protocol.ServerEndpoint { type SimplifiedConfig (line 65) | type SimplifiedConfig struct method Reset (line 74) | func (x *SimplifiedConfig) Reset() { method String (line 81) | func (x *SimplifiedConfig) String() string { method ProtoMessage (line 85) | func (*SimplifiedConfig) ProtoMessage() {} method ProtoReflect (line 87) | func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 100) | func (*SimplifiedConfig) Descriptor() ([]byte, []int) { method GetAddress (line 104) | func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain { method GetPort (line 111) | func (x *SimplifiedConfig) GetPort() uint32 { method GetUuid (line 118) | func (x *SimplifiedConfig) GetUuid() string { constant file_proxy_vmess_outbound_config_proto_rawDesc (line 127) | file_proxy_vmess_outbound_config_proto_rawDesc = "" + function file_proxy_vmess_outbound_config_proto_rawDescGZIP (line 144) | func file_proxy_vmess_outbound_config_proto_rawDescGZIP() []byte { function init (line 168) | func init() { file_proxy_vmess_outbound_config_proto_init() } function file_proxy_vmess_outbound_config_proto_init (line 169) | func file_proxy_vmess_outbound_config_proto_init() { FILE: proxy/vmess/outbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/vmess/outbound/outbound.go type Handler (line 31) | type Handler struct method Process (line 59) | func (h *Handler) Process(ctx context.Context, link *transport.Link, d... function New (line 38) | func New(ctx context.Context, config *Config) (*Handler, error) { function shouldEnablePadding (line 207) | func shouldEnablePadding(s protocol.SecurityType) bool { function init (line 211) | func init() { FILE: proxy/vmess/validator.go constant updateInterval (line 21) | updateInterval = 10 * time.Second constant cacheDurationSec (line 22) | cacheDurationSec = 120 type user (line 25) | type user struct type TimedUserValidator (line 31) | type TimedUserValidator struct method GetBaseTime (line 75) | func (v *TimedUserValidator) GetBaseTime() protocol.Timestamp { method generateNewHashes (line 79) | func (v *TimedUserValidator) generateNewHashes(nowSec protocol.Timesta... method removeExpiredHashes (line 110) | func (v *TimedUserValidator) removeExpiredHashes(expire uint32) { method updateUserHash (line 118) | func (v *TimedUserValidator) updateUserHash() { method Add (line 135) | func (v *TimedUserValidator) Add(u *protocol.MemoryUser) error { method Get (line 162) | func (v *TimedUserValidator) Get(userHash []byte) (*protocol.MemoryUse... method GetAEAD (line 181) | func (v *TimedUserValidator) GetAEAD(userHash []byte) (*protocol.Memor... method Remove (line 195) | func (v *TimedUserValidator) Remove(email string) bool { method Close (line 223) | func (v *TimedUserValidator) Close() error { method GetBehaviorSeed (line 227) | func (v *TimedUserValidator) GetBehaviorSeed() uint64 { method BurnTaintFuse (line 238) | func (v *TimedUserValidator) BurnTaintFuse(userHash []byte) error { method ShouldShowLegacyWarn (line 260) | func (v *TimedUserValidator) ShouldShowLegacyWarn() bool { type indexTimePair (line 47) | type indexTimePair struct function NewTimedUserValidator (line 55) | func NewTimedUserValidator(hasher protocol.IDHash) *TimedUserValidator { FILE: proxy/vmess/validator_test.go function toAccount (line 13) | func toAccount(a *Account) protocol.Account { function TestUserValidator (line 19) | func TestUserValidator(t *testing.T) { function BenchmarkUserValidator (line 91) | func BenchmarkUserValidator(b *testing.B) { FILE: proxy/vmess/vmessCtxInterface.go constant AlterID (line 4) | AlterID = "VMessCtxInterface_AlterID" FILE: proxy/wireguard/outbound/config.pb.go constant _ (line 17) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 19) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config_DomainStrategy (line 22) | type Config_DomainStrategy method Enum (line 47) | func (x Config_DomainStrategy) Enum() *Config_DomainStrategy { method String (line 53) | func (x Config_DomainStrategy) String() string { method Descriptor (line 57) | func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor { method Type (line 61) | func (Config_DomainStrategy) Type() protoreflect.EnumType { method Number (line 65) | func (x Config_DomainStrategy) Number() protoreflect.EnumNumber { method EnumDescriptor (line 70) | func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) { constant Config_AS_IS (line 25) | Config_AS_IS Config_DomainStrategy = 0 constant Config_USE_IP (line 26) | Config_USE_IP Config_DomainStrategy = 1 constant Config_USE_IP4 (line 27) | Config_USE_IP4 Config_DomainStrategy = 2 constant Config_USE_IP6 (line 28) | Config_USE_IP6 Config_DomainStrategy = 3 type Config (line 74) | type Config struct method Reset (line 85) | func (x *Config) Reset() { method String (line 92) | func (x *Config) String() string { method ProtoMessage (line 96) | func (*Config) ProtoMessage() {} method ProtoReflect (line 98) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 111) | func (*Config) Descriptor() ([]byte, []int) { method GetWgDevice (line 115) | func (x *Config) GetWgDevice() *wgcommon.DeviceConfig { method GetStack (line 122) | func (x *Config) GetStack() *gvisorstack.Config { method GetListenOnSystemNetwork (line 129) | func (x *Config) GetListenOnSystemNetwork() bool { method GetDomainStrategy (line 136) | func (x *Config) GetDomainStrategy() Config_DomainStrategy { constant file_proxy_wireguard_outbound_config_proto_rawDesc (line 145) | file_proxy_wireguard_outbound_config_proto_rawDesc = "" + function file_proxy_wireguard_outbound_config_proto_rawDescGZIP (line 167) | func file_proxy_wireguard_outbound_config_proto_rawDescGZIP() []byte { function init (line 193) | func init() { file_proxy_wireguard_outbound_config_proto_init() } function file_proxy_wireguard_outbound_config_proto_init (line 194) | func file_proxy_wireguard_outbound_config_proto_init() { FILE: proxy/wireguard/outbound/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/wireguard/outbound/outbound.go function NewWireguardOutbound (line 31) | func NewWireguardOutbound(ctx context.Context, config *Config) (*Wiregua... type WireguardOutbound (line 55) | type WireguardOutbound struct method Process (line 177) | func (w *WireguardOutbound) Process(ctx context.Context, link *transpo... method resolveDNSName (line 355) | func (w *WireguardOutbound) resolveDNSName(ctx context.Context, destin... method Close (line 373) | func (w *WireguardOutbound) Close() error { type WireguardOutboundSession (line 62) | type WireguardOutboundSession struct method initFromConfig (line 76) | func (s *WireguardOutboundSession) initFromConfig(ctx context.Context,... constant ConnectionState (line 111) | ConnectionState = "ConnectionState" type ClientConnState (line 113) | type ClientConnState struct method GetOrCreateSession (line 119) | func (c *ClientConnState) GetOrCreateSession(create func() (*Wireguard... method IsTransientStorageLifecycleReceiver (line 137) | func (c *ClientConnState) IsTransientStorageLifecycleReceiver() {} method Close (line 139) | func (c *ClientConnState) Close() error { function NewClientConnState (line 387) | func NewClientConnState() (*ClientConnState, error) { function init (line 391) | func init() { FILE: proxy/wireguard/wgcommon/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type PeerConfig (line 18) | type PeerConfig struct method Reset (line 29) | func (x *PeerConfig) Reset() { method String (line 36) | func (x *PeerConfig) String() string { method ProtoMessage (line 40) | func (*PeerConfig) ProtoMessage() {} method ProtoReflect (line 42) | func (x *PeerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*PeerConfig) Descriptor() ([]byte, []int) { method GetPublicKey (line 59) | func (x *PeerConfig) GetPublicKey() []byte { method GetPresharedKey (line 66) | func (x *PeerConfig) GetPresharedKey() []byte { method GetAllowedIps (line 73) | func (x *PeerConfig) GetAllowedIps() []string { method GetEndpoint (line 80) | func (x *PeerConfig) GetEndpoint() string { method GetPersistentKeepaliveInterval (line 87) | func (x *PeerConfig) GetPersistentKeepaliveInterval() int64 { type DeviceConfig (line 94) | type DeviceConfig struct method Reset (line 104) | func (x *DeviceConfig) Reset() { method String (line 111) | func (x *DeviceConfig) String() string { method ProtoMessage (line 115) | func (*DeviceConfig) ProtoMessage() {} method ProtoReflect (line 117) | func (x *DeviceConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 130) | func (*DeviceConfig) Descriptor() ([]byte, []int) { method GetPrivateKey (line 134) | func (x *DeviceConfig) GetPrivateKey() []byte { method GetListenPort (line 141) | func (x *DeviceConfig) GetListenPort() uint32 { method GetPeers (line 148) | func (x *DeviceConfig) GetPeers() []*PeerConfig { method GetMtu (line 155) | func (x *DeviceConfig) GetMtu() uint32 { constant file_proxy_wireguard_wgcommon_config_proto_rawDesc (line 164) | file_proxy_wireguard_wgcommon_config_proto_rawDesc = "" + function file_proxy_wireguard_wgcommon_config_proto_rawDescGZIP (line 190) | func file_proxy_wireguard_wgcommon_config_proto_rawDescGZIP() []byte { function init (line 211) | func init() { file_proxy_wireguard_wgcommon_config_proto_init() } function file_proxy_wireguard_wgcommon_config_proto_init (line 212) | func file_proxy_wireguard_wgcommon_config_proto_init() { FILE: proxy/wireguard/wgcommon/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: proxy/wireguard/wgcommon/filterDebug.go function filterDebugData (line 9) | func filterDebugData(in string) string { FILE: proxy/wireguard/wgcommon/setup.go method InitDevice (line 11) | func (w *WrappedWireguardDevice) InitDevice() error { method SetupDeviceWithoutPeers (line 38) | func (w *WrappedWireguardDevice) SetupDeviceWithoutPeers() error { method AddOrReplacePeers (line 60) | func (w *WrappedWireguardDevice) AddOrReplacePeers(peers []*PeerConfig) ... method RemovePeer (line 104) | func (w *WrappedWireguardDevice) RemovePeer(publicKey []byte) error { FILE: proxy/wireguard/wgcommon/wgConnAdaptor.go type netPacketConnToWg (line 15) | type netPacketConnToWg struct method Open (line 82) | func (n *netPacketConnToWg) Open(port uint16) (fns []conn.ReceiveFunc,... method Close (line 132) | func (n *netPacketConnToWg) Close() error { method SetMark (line 148) | func (n *netPacketConnToWg) SetMark(mark uint32) error { method Send (line 153) | func (n *netPacketConnToWg) Send(bufs [][]byte, ep conn.Endpoint) error { method ParseEndpoint (line 171) | func (n *netPacketConnToWg) ParseEndpoint(s string) (conn.Endpoint, er... method BatchSize (line 179) | func (n *netPacketConnToWg) BatchSize() int { function NewNetPacketConnToWg (line 30) | func NewNetPacketConnToWg(c net.PacketConn) conn.Bind { type wgEndpoint (line 44) | type wgEndpoint struct method ClearSrc (line 50) | func (e *wgEndpoint) ClearSrc() { method SrcToString (line 54) | func (e *wgEndpoint) SrcToString() string { method DstToString (line 62) | func (e *wgEndpoint) DstToString() string { method DstToBytes (line 66) | func (e *wgEndpoint) DstToBytes() []byte { method DstIP (line 71) | func (e *wgEndpoint) DstIP() netip.Addr { method SrcIP (line 75) | func (e *wgEndpoint) SrcIP() netip.Addr { FILE: proxy/wireguard/wgcommon/wgConnAdaptor_test.go function TestNetPacketConnToWg_OpenReceive_Send (line 11) | func TestNetPacketConnToWg_OpenReceive_Send(t *testing.T) { function TestParseEndpointAndBatchSizeAndNilConstructor (line 130) | func TestParseEndpointAndBatchSizeAndNilConstructor(t *testing.T) { function TestSendWithConnectedSocketProducesError (line 166) | func TestSendWithConnectedSocketProducesError(t *testing.T) { function TestReceiveMultiplePackets (line 195) | func TestReceiveMultiplePackets(t *testing.T) { FILE: proxy/wireguard/wgcommon/wgDeviceAdaptor.go function NewNetworkLayerDeviceToWireguardTunDeviceAdaptor (line 13) | func NewNetworkLayerDeviceToWireguardTunDeviceAdaptor(mtu int, networkLa... type NetworkLayerDeviceToWireguardTunDeviceAdaptor (line 58) | type NetworkLayerDeviceToWireguardTunDeviceAdaptor struct method File (line 92) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) File() *os.File { method Read (line 97) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) Read(bufs [][]... method Write (line 143) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) Write(bufs [][... method MTU (line 168) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) MTU() (int, er... method Name (line 172) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) Name() (string... method Events (line 177) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) Events() <-cha... method Close (line 181) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) Close() error { method BatchSize (line 200) | func (n *NetworkLayerDeviceToWireguardTunDeviceAdaptor) BatchSize() int { type networkLayerWriter (line 70) | type networkLayerWriter struct method Write (line 74) | func (w *networkLayerWriter) Write(packet []byte) (int, error) { FILE: proxy/wireguard/wgcommon/wgDeviceAdaptor_test.go type fakeNetDevice (line 15) | type fakeNetDevice struct method OnAttach (line 23) | func (f *fakeNetDevice) OnAttach(w packetswitch.NetworkLayerPacketWrit... method Write (line 30) | func (f *fakeNetDevice) Write(packet []byte) (int, error) { method Close (line 42) | func (f *fakeNetDevice) Close() error { method getWriter (line 49) | func (f *fakeNetDevice) getWriter() packetswitch.NetworkLayerPacketWri... method lastWrite (line 56) | func (f *fakeNetDevice) lastWrite() []byte { method Events (line 66) | func (f *fakeNetDevice) Events() <-chan tun.Event { type fakeError (line 72) | type fakeError struct method Error (line 74) | func (e *fakeError) Error() string { return e.s } function TestNewAdaptor_ReadWrite_Basic (line 76) | func TestNewAdaptor_ReadWrite_Basic(t *testing.T) { function TestNewAdaptor_WriteToNetwork (line 140) | func TestNewAdaptor_WriteToNetwork(t *testing.T) { function TestNewAdaptor_InboundBufferFullDrops (line 164) | func TestNewAdaptor_InboundBufferFullDrops(t *testing.T) { function TestNewAdaptor_ReadWithNonZeroOffset (line 198) | func TestNewAdaptor_ReadWithNonZeroOffset(t *testing.T) { function TestNewAdaptor_EventForwardingAndClose (line 245) | func TestNewAdaptor_EventForwardingAndClose(t *testing.T) { FILE: proxy/wireguard/wgcommon/wgLogAdaptor.go function NewDeviceLoggerAdapter (line 15) | func NewDeviceLoggerAdapter() *device.Logger { FILE: proxy/wireguard/wgcommon/wgdevice.go function NewWrappedWireguardDevice (line 12) | func NewWrappedWireguardDevice(ctx context.Context, config *DeviceConfig... type WrappedWireguardDevice (line 19) | type WrappedWireguardDevice struct method Up (line 28) | func (w *WrappedWireguardDevice) Up() error { method SetTunnel (line 36) | func (w *WrappedWireguardDevice) SetTunnel(t packetswitch.NetworkLayer... method SetConn (line 41) | func (w *WrappedWireguardDevice) SetConn(c net.PacketConn) { method Close (line 45) | func (w *WrappedWireguardDevice) Close() error { method Debug (line 67) | func (w *WrappedWireguardDevice) Debug() (string, error) { FILE: testing/mocks/dns.go type DNSClient (line 15) | type DNSClient struct method EXPECT (line 33) | func (m *DNSClient) EXPECT() *DNSClientMockRecorder { method Close (line 38) | func (m *DNSClient) Close() error { method LookupIP (line 52) | func (m *DNSClient) LookupIP(arg0 string) ([]net.IP, error) { method Start (line 67) | func (m *DNSClient) Start() error { method Type (line 81) | func (m *DNSClient) Type() interface{} { type DNSClientMockRecorder (line 21) | type DNSClientMockRecorder struct method Close (line 46) | func (mr *DNSClientMockRecorder) Close() *gomock.Call { method LookupIP (line 61) | func (mr *DNSClientMockRecorder) LookupIP(arg0 interface{}) *gomock.Ca... method Start (line 75) | func (mr *DNSClientMockRecorder) Start() *gomock.Call { method Type (line 89) | func (mr *DNSClientMockRecorder) Type() *gomock.Call { function NewDNSClient (line 26) | func NewDNSClient(ctrl *gomock.Controller) *DNSClient { FILE: testing/mocks/io.go type Reader (line 14) | type Reader struct method EXPECT (line 32) | func (m *Reader) EXPECT() *ReaderMockRecorder { method Read (line 37) | func (m *Reader) Read(arg0 []byte) (int, error) { type ReaderMockRecorder (line 20) | type ReaderMockRecorder struct method Read (line 46) | func (mr *ReaderMockRecorder) Read(arg0 interface{}) *gomock.Call { function NewReader (line 25) | func NewReader(ctrl *gomock.Controller) *Reader { type Writer (line 52) | type Writer struct method EXPECT (line 70) | func (m *Writer) EXPECT() *WriterMockRecorder { method Write (line 75) | func (m *Writer) Write(arg0 []byte) (int, error) { type WriterMockRecorder (line 58) | type WriterMockRecorder struct method Write (line 84) | func (mr *WriterMockRecorder) Write(arg0 interface{}) *gomock.Call { function NewWriter (line 63) | func NewWriter(ctrl *gomock.Controller) *Writer { FILE: testing/mocks/log.go type LogHandler (line 15) | type LogHandler struct method EXPECT (line 33) | func (m *LogHandler) EXPECT() *LogHandlerMockRecorder { method Handle (line 38) | func (m *LogHandler) Handle(arg0 log.Message) { type LogHandlerMockRecorder (line 21) | type LogHandlerMockRecorder struct method Handle (line 44) | func (mr *LogHandlerMockRecorder) Handle(arg0 interface{}) *gomock.Call { function NewLogHandler (line 26) | func NewLogHandler(ctrl *gomock.Controller) *LogHandler { FILE: testing/mocks/mux.go type MuxClientWorkerFactory (line 15) | type MuxClientWorkerFactory struct method EXPECT (line 33) | func (m *MuxClientWorkerFactory) EXPECT() *MuxClientWorkerFactoryMockR... method Create (line 38) | func (m *MuxClientWorkerFactory) Create() (*mux.ClientWorker, error) { type MuxClientWorkerFactoryMockRecorder (line 21) | type MuxClientWorkerFactoryMockRecorder struct method Create (line 47) | func (mr *MuxClientWorkerFactoryMockRecorder) Create() *gomock.Call { function NewMuxClientWorkerFactory (line 26) | func NewMuxClientWorkerFactory(ctrl *gomock.Controller) *MuxClientWorker... FILE: testing/mocks/outbound.go type OutboundManager (line 16) | type OutboundManager struct method EXPECT (line 34) | func (m *OutboundManager) EXPECT() *OutboundManagerMockRecorder { method AddHandler (line 39) | func (m *OutboundManager) AddHandler(arg0 context.Context, arg1 outbou... method Close (line 53) | func (m *OutboundManager) Close() error { method GetDefaultHandler (line 67) | func (m *OutboundManager) GetDefaultHandler() outbound.Handler { method GetHandler (line 81) | func (m *OutboundManager) GetHandler(arg0 string) outbound.Handler { method RemoveHandler (line 95) | func (m *OutboundManager) RemoveHandler(arg0 context.Context, arg1 str... method Start (line 109) | func (m *OutboundManager) Start() error { method Type (line 123) | func (m *OutboundManager) Type() interface{} { type OutboundManagerMockRecorder (line 22) | type OutboundManagerMockRecorder struct method AddHandler (line 47) | func (mr *OutboundManagerMockRecorder) AddHandler(arg0, arg1 interface... method Close (line 61) | func (mr *OutboundManagerMockRecorder) Close() *gomock.Call { method GetDefaultHandler (line 75) | func (mr *OutboundManagerMockRecorder) GetDefaultHandler() *gomock.Call { method GetHandler (line 89) | func (mr *OutboundManagerMockRecorder) GetHandler(arg0 interface{}) *g... method RemoveHandler (line 103) | func (mr *OutboundManagerMockRecorder) RemoveHandler(arg0, arg1 interf... method Start (line 117) | func (mr *OutboundManagerMockRecorder) Start() *gomock.Call { method Type (line 131) | func (mr *OutboundManagerMockRecorder) Type() *gomock.Call { function NewOutboundManager (line 27) | func NewOutboundManager(ctrl *gomock.Controller) *OutboundManager { type OutboundHandlerSelector (line 137) | type OutboundHandlerSelector struct method EXPECT (line 155) | func (m *OutboundHandlerSelector) EXPECT() *OutboundHandlerSelectorMoc... method Select (line 160) | func (m *OutboundHandlerSelector) Select(arg0 []string) []string { type OutboundHandlerSelectorMockRecorder (line 143) | type OutboundHandlerSelectorMockRecorder struct method Select (line 168) | func (mr *OutboundHandlerSelectorMockRecorder) Select(arg0 interface{}... function NewOutboundHandlerSelector (line 148) | func NewOutboundHandlerSelector(ctrl *gomock.Controller) *OutboundHandle... FILE: testing/mocks/proxy.go type ProxyInbound (line 19) | type ProxyInbound struct method EXPECT (line 37) | func (m *ProxyInbound) EXPECT() *ProxyInboundMockRecorder { method Network (line 42) | func (m *ProxyInbound) Network() []net.Network { method Process (line 56) | func (m *ProxyInbound) Process(arg0 context.Context, arg1 net.Network,... type ProxyInboundMockRecorder (line 25) | type ProxyInboundMockRecorder struct method Network (line 50) | func (mr *ProxyInboundMockRecorder) Network() *gomock.Call { method Process (line 64) | func (mr *ProxyInboundMockRecorder) Process(arg0, arg1, arg2, arg3 int... function NewProxyInbound (line 30) | func NewProxyInbound(ctrl *gomock.Controller) *ProxyInbound { type ProxyOutbound (line 70) | type ProxyOutbound struct method EXPECT (line 88) | func (m *ProxyOutbound) EXPECT() *ProxyOutboundMockRecorder { method Process (line 93) | func (m *ProxyOutbound) Process(arg0 context.Context, arg1 *transport.... type ProxyOutboundMockRecorder (line 76) | type ProxyOutboundMockRecorder struct method Process (line 101) | func (mr *ProxyOutboundMockRecorder) Process(arg0, arg1, arg2 interfac... function NewProxyOutbound (line 81) | func NewProxyOutbound(ctrl *gomock.Controller) *ProxyOutbound { FILE: testing/scenarios/command_test.go function TestCommanderRemoveHandler (line 37) | func TestCommanderRemoveHandler(t *testing.T) { function TestCommanderAddRemoveUser (line 132) | func TestCommanderAddRemoveUser(t *testing.T) { function TestCommanderStats (line 314) | func TestCommanderStats(t *testing.T) { FILE: testing/scenarios/common.go function xor (line 32) | func xor(b []byte) []byte { function readFrom (line 40) | func readFrom(conn net.Conn, timeout time.Duration, length int) []byte { function readFrom2 (line 51) | func readFrom2(conn net.Conn, timeout time.Duration, length int) ([]byte... function InitializeServerConfigs (line 62) | func InitializeServerConfigs(configs ...*core.Config) ([]*exec.Cmd, erro... function InitializeServerConfig (line 79) | func InitializeServerConfig(config *core.Config) (*exec.Cmd, error) { function genTestBinaryPath (line 104) | func genTestBinaryPath() { function GetSourcePath (line 124) | func GetSourcePath() string { function CloseAllServers (line 128) | func CloseAllServers(servers []*exec.Cmd) { function CloseServer (line 149) | func CloseServer(server *exec.Cmd) { function withDefaultApps (line 166) | func withDefaultApps(config *core.Config) *core.Config { function testTCPConnViaSocks (line 173) | func testTCPConnViaSocks(socksPort, testPort net.Port, payloadSize int, ... function testTCPConn (line 193) | func testTCPConn(port net.Port, payloadSize int, timeout time.Duration) ... function testUDPConn (line 208) | func testUDPConn(port net.Port, payloadSize int, timeout time.Duration) ... function testTCPConn2 (line 223) | func testTCPConn2(conn net.Conn, payloadSize int, timeout time.Duration)... FILE: testing/scenarios/common_coverage.go function BuildV2Ray (line 14) | func BuildV2Ray() error { function RunV2RayProtobuf (line 24) | func RunV2RayProtobuf(config []byte) *exec.Cmd { FILE: testing/scenarios/common_instanceMgr.go function NewInstanceManagerInstanceConfig (line 11) | func NewInstanceManagerInstanceConfig() *core.Config { function NewInstanceManagerCoreInstance (line 17) | func NewInstanceManagerCoreInstance() (*core.Instance, extension.Instanc... FILE: testing/scenarios/common_instanceMgr_test.go function TestInstanceMgrInit (line 5) | func TestInstanceMgrInit(t *testing.T) { FILE: testing/scenarios/common_regular.go function BuildV2Ray (line 13) | func BuildV2Ray() error { function RunV2RayProtobuf (line 24) | func RunV2RayProtobuf(config []byte) *exec.Cmd { FILE: testing/scenarios/dns_test.go function TestResolveIP (line 25) | func TestResolveIP(t *testing.T) { FILE: testing/scenarios/dokodemo_test.go function TestDokodemoTCP (line 28) | func TestDokodemoTCP(t *testing.T) { function TestDokodemoUDP (line 123) | func TestDokodemoUDP(t *testing.T) { FILE: testing/scenarios/feature_test.go function TestPassiveConnection (line 40) | func TestPassiveConnection(t *testing.T) { function TestProxy (line 97) | func TestProxy(t *testing.T) { function TestProxyOverKCP (line 229) | func TestProxyOverKCP(t *testing.T) { function TestBlackhole (line 372) | func TestBlackhole(t *testing.T) { function TestForward (line 451) | func TestForward(t *testing.T) { function TestUDPConnection (line 508) | func TestUDPConnection(t *testing.T) { function TestDomainSniffing (line 555) | func TestDomainSniffing(t *testing.T) { function TestDialV2Ray (line 650) | func TestDialV2Ray(t *testing.T) { FILE: testing/scenarios/grpc_test.go function TestGRPCDefault (line 15) | func TestGRPCDefault(t *testing.T) { function TestGRPCWithServiceName (line 54) | func TestGRPCWithServiceName(t *testing.T) { FILE: testing/scenarios/http_test.go function TestHttpConformance (line 27) | func TestHttpConformance(t *testing.T) { function TestHttpError (line 85) | func TestHttpError(t *testing.T) { function TestHTTPConnectMethod (line 141) | func TestHTTPConnectMethod(t *testing.T) { function TestHttpPost (line 206) | func TestHttpPost(t *testing.T) { function setProxyBasicAuth (line 281) | func setProxyBasicAuth(req *http.Request, user, pass string) { function TestHttpBasicAuth (line 287) | func TestHttpBasicAuth(t *testing.T) { FILE: testing/scenarios/httpupgrade_test.go function TestHTTPUpgrade (line 15) | func TestHTTPUpgrade(t *testing.T) { function TestHTTPUpgradeWithEarlyData (line 54) | func TestHTTPUpgradeWithEarlyData(t *testing.T) { function TestHTTPUpgradeWithShortEarlyData (line 93) | func TestHTTPUpgradeWithShortEarlyData(t *testing.T) { FILE: testing/scenarios/hy2_test.go function TestVMessHysteria2Congestion (line 35) | func TestVMessHysteria2Congestion(t *testing.T) { function testVMessHysteria2 (line 41) | func testVMessHysteria2(t *testing.T, congestionType string) { function TestHysteria2Offical (line 189) | func TestHysteria2Offical(t *testing.T) { function testHysteria2Offical (line 195) | func testHysteria2Offical(t *testing.T, isUDP bool) { function TestHysteria2OnTCP (line 343) | func TestHysteria2OnTCP(t *testing.T) { FILE: testing/scenarios/meek_test.go function TestMeek (line 15) | func TestMeek(t *testing.T) { FILE: testing/scenarios/mekya_test.go function TestMekya (line 15) | func TestMekya(t *testing.T) { FILE: testing/scenarios/policy_test.go function startQuickClosingTCPServer (line 29) | func startQuickClosingTCPServer() (net.Listener, error) { function TestVMessClosing (line 48) | func TestVMessClosing(t *testing.T) { function TestZeroBuffer (line 158) | func TestZeroBuffer(t *testing.T) { FILE: testing/scenarios/reverse_test.go function TestReverseProxy (line 32) | func TestReverseProxy(t *testing.T) { function TestReverseProxyLongRunning (line 203) | func TestReverseProxyLongRunning(t *testing.T) { FILE: testing/scenarios/shadowsocks_test.go function TestShadowsocksChaCha20Poly1305TCP (line 25) | func TestShadowsocksChaCha20Poly1305TCP(t *testing.T) { function TestShadowsocksAES256GCMTCP (line 109) | func TestShadowsocksAES256GCMTCP(t *testing.T) { function TestShadowsocksAES128GCMUDP (line 204) | func TestShadowsocksAES128GCMUDP(t *testing.T) { function TestShadowsocksAES128GCMUDPMux (line 298) | func TestShadowsocksAES128GCMUDPMux(t *testing.T) { function TestShadowsocksNone (line 398) | func TestShadowsocksNone(t *testing.T) { FILE: testing/scenarios/socks_test.go function TestSocksBridgeTCP (line 26) | func TestSocksBridgeTCP(t *testing.T) { function TestSocksBridageUDP (line 107) | func TestSocksBridageUDP(t *testing.T) { function TestSocksBridageUDPWithRouting (line 188) | func TestSocksBridageUDPWithRouting(t *testing.T) { function TestSocksConformanceMod (line 275) | func TestSocksConformanceMod(t *testing.T) { FILE: testing/scenarios/tls_test.go function TestSimpleTLSConnection (line 33) | func TestSimpleTLSConnection(t *testing.T) { function TestAutoIssuingCertificate (line 133) | func TestAutoIssuingCertificate(t *testing.T) { function TestIPAddressesCertificate (line 256) | func TestIPAddressesCertificate(t *testing.T) { function TestDNSNamesCertificate (line 369) | func TestDNSNamesCertificate(t *testing.T) { function TestTLSOverKCP (line 483) | func TestTLSOverKCP(t *testing.T) { function TestTLSOverWebSocket (line 585) | func TestTLSOverWebSocket(t *testing.T) { function TestHTTP2 (line 697) | func TestHTTP2(t *testing.T) { function TestSimpleTLSConnectionPinned (line 821) | func TestSimpleTLSConnectionPinned(t *testing.T) { FILE: testing/scenarios/transport_test.go function TestHTTPConnectionHeader (line 36) | func TestHTTPConnectionHeader(t *testing.T) { function TestDomainSocket (line 140) | func TestDomainSocket(t *testing.T) { function TestVMessQuic (line 253) | func TestVMessQuic(t *testing.T) { FILE: testing/scenarios/vmess_test.go function TestVMessDynamicPort (line 32) | func TestVMessDynamicPort(t *testing.T) { function tcpConnAvailableAtPort (line 175) | func tcpConnAvailableAtPort(t *testing.T, port net.Port) bool { function TestVMessGCM (line 192) | func TestVMessGCM(t *testing.T) { function TestVMessGCMReadv (line 296) | func TestVMessGCMReadv(t *testing.T) { function TestVMessGCMUDP (line 403) | func TestVMessGCMUDP(t *testing.T) { function TestVMessChacha20 (line 504) | func TestVMessChacha20(t *testing.T) { function TestVMessNone (line 606) | func TestVMessNone(t *testing.T) { function TestVMessKCP (line 707) | func TestVMessKCP(t *testing.T) { function TestVMessKCPLarge (line 816) | func TestVMessKCPLarge(t *testing.T) { function TestVMessGCMMux (line 967) | func TestVMessGCMMux(t *testing.T) { function TestVMessGCMMuxUDP (line 1077) | func TestVMessGCMMuxUDP(t *testing.T) { function TestVMessZero (line 1213) | func TestVMessZero(t *testing.T) { function TestVMessGCMLengthAuth (line 1314) | func TestVMessGCMLengthAuth(t *testing.T) { function TestVMessGCMLengthAuthPlusNoTerminationSignal (line 1419) | func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) { FILE: testing/servers/http/http.go type Server (line 9) | type Server struct method ServeHTTP (line 15) | func (s *Server) ServeHTTP(resp http.ResponseWriter, req *http.Request) { method Start (line 29) | func (s *Server) Start() (net.Destination, error) { method Close (line 38) | func (s *Server) Close() error { FILE: testing/servers/tcp/port.go function PickPort (line 6) | func PickPort() net.Port { function pickPort (line 14) | func pickPort() net.Listener { FILE: testing/servers/tcp/tcp.go type Server (line 15) | type Server struct method Start (line 24) | func (server *Server) Start() (net.Destination, error) { method StartContext (line 28) | func (server *Server) StartContext(ctx context.Context, sockopt *inter... method acceptConnections (line 49) | func (server *Server) acceptConnections(listener *net.TCPListener) { method handleConnection (line 61) | func (server *Server) handleConnection(conn net.Conn) { method Close (line 107) | func (server *Server) Close() error { FILE: testing/servers/udp/port.go function PickPort (line 6) | func PickPort() net.Port { function pickPort (line 14) | func pickPort() *net.UDPConn { FILE: testing/servers/udp/udp.go type Server (line 9) | type Server struct method Start (line 16) | func (server *Server) Start() (net.Destination, error) { method handleConnection (line 35) | func (server *Server) handleConnection(conn *net.UDPConn) { method Close (line 52) | func (server *Server) Close() error { FILE: transport/config.go method Apply (line 8) | func (c *Config) Apply() error { FILE: transport/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 23) | type Config struct method Reset (line 30) | func (x *Config) Reset() { method String (line 37) | func (x *Config) String() string { method ProtoMessage (line 41) | func (*Config) ProtoMessage() {} method ProtoReflect (line 43) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*Config) Descriptor() ([]byte, []int) { method GetTransportSettings (line 60) | func (x *Config) GetTransportSettings() []*internet.TransportConfig { constant file_transport_config_proto_rawDesc (line 69) | file_transport_config_proto_rawDesc = "" + function file_transport_config_proto_rawDescGZIP (line 81) | func file_transport_config_proto_rawDescGZIP() []byte { function init (line 102) | func init() { file_transport_config_proto_init() } function file_transport_config_proto_init (line 103) | func file_transport_config_proto_init() { FILE: transport/internet/config.go type ConfigCreator (line 14) | type ConfigCreator constant unknownProtocol (line 21) | unknownProtocol = "unknown" function transportProtocolToString (line 23) | func transportProtocolToString(protocol TransportProtocol) string { function RegisterProtocolConfigCreator (line 42) | func RegisterProtocolConfigCreator(name string, creator ConfigCreator) e... function CreateTransportConfig (line 54) | func CreateTransportConfig(name string) (interface{}, error) { method GetTypedSettings (line 62) | func (c *TransportConfig) GetTypedSettings() (interface{}, error) { method GetUnifiedProtocolName (line 66) | func (c *TransportConfig) GetUnifiedProtocolName() string { method GetEffectiveProtocol (line 74) | func (c *StreamConfig) GetEffectiveProtocol() string { method GetEffectiveTransportSettings (line 86) | func (c *StreamConfig) GetEffectiveTransportSettings() (interface{}, err... method GetTransportSettingsFor (line 91) | func (c *StreamConfig) GetTransportSettingsFor(protocol string) (interfa... method GetEffectiveSecuritySettings (line 109) | func (c *StreamConfig) GetEffectiveSecuritySettings() (interface{}, erro... method HasSecuritySettings (line 118) | func (c *StreamConfig) HasSecuritySettings() bool { function ApplyGlobalTransportSettings (line 122) | func ApplyGlobalTransportSettings(settings []*TransportConfig) error { method HasTag (line 128) | func (c *ProxyConfig) HasTag() bool { method IsEnabled (line 132) | func (m SocketConfig_TProxyMode) IsEnabled() bool { function getOriginalMessageName (line 136) | func getOriginalMessageName(streamSettings *MemoryStreamConfig) string { FILE: transport/internet/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type TransportProtocol (line 19) | type TransportProtocol method Enum (line 50) | func (x TransportProtocol) Enum() *TransportProtocol { method String (line 56) | func (x TransportProtocol) String() string { method Descriptor (line 60) | func (TransportProtocol) Descriptor() protoreflect.EnumDescriptor { method Type (line 64) | func (TransportProtocol) Type() protoreflect.EnumType { method Number (line 68) | func (x TransportProtocol) Number() protoreflect.EnumNumber { method EnumDescriptor (line 73) | func (TransportProtocol) EnumDescriptor() ([]byte, []int) { constant TransportProtocol_TCP (line 22) | TransportProtocol_TCP TransportProtocol = 0 constant TransportProtocol_UDP (line 23) | TransportProtocol_UDP TransportProtocol = 1 constant TransportProtocol_MKCP (line 24) | TransportProtocol_MKCP TransportProtocol = 2 constant TransportProtocol_WebSocket (line 25) | TransportProtocol_WebSocket TransportProtocol = 3 constant TransportProtocol_HTTP (line 26) | TransportProtocol_HTTP TransportProtocol = 4 constant TransportProtocol_DomainSocket (line 27) | TransportProtocol_DomainSocket TransportProtocol = 5 type MPTCPState (line 79) | type MPTCPState method Enum (line 104) | func (x MPTCPState) Enum() *MPTCPState { method String (line 110) | func (x MPTCPState) String() string { method Descriptor (line 114) | func (MPTCPState) Descriptor() protoreflect.EnumDescriptor { method Type (line 118) | func (MPTCPState) Type() protoreflect.EnumType { method Number (line 122) | func (x MPTCPState) Number() protoreflect.EnumNumber { method EnumDescriptor (line 127) | func (MPTCPState) EnumDescriptor() ([]byte, []int) { constant MPTCPState_AsIs (line 83) | MPTCPState_AsIs MPTCPState = 0 constant MPTCPState_Enable (line 85) | MPTCPState_Enable MPTCPState = 1 constant MPTCPState_Disable (line 87) | MPTCPState_Disable MPTCPState = 2 type SocketConfig_TCPFastOpenState (line 131) | type SocketConfig_TCPFastOpenState method Enum (line 156) | func (x SocketConfig_TCPFastOpenState) Enum() *SocketConfig_TCPFastOpe... method String (line 162) | func (x SocketConfig_TCPFastOpenState) String() string { method Descriptor (line 166) | func (SocketConfig_TCPFastOpenState) Descriptor() protoreflect.EnumDes... method Type (line 170) | func (SocketConfig_TCPFastOpenState) Type() protoreflect.EnumType { method Number (line 174) | func (x SocketConfig_TCPFastOpenState) Number() protoreflect.EnumNumber { method EnumDescriptor (line 179) | func (SocketConfig_TCPFastOpenState) EnumDescriptor() ([]byte, []int) { constant SocketConfig_AsIs (line 135) | SocketConfig_AsIs SocketConfig_TCPFastOpenState = 0 constant SocketConfig_Enable (line 137) | SocketConfig_Enable SocketConfig_TCPFastOpenState = 1 constant SocketConfig_Disable (line 139) | SocketConfig_Disable SocketConfig_TCPFastOpenState = 2 type SocketConfig_TProxyMode (line 183) | type SocketConfig_TProxyMode method Enum (line 208) | func (x SocketConfig_TProxyMode) Enum() *SocketConfig_TProxyMode { method String (line 214) | func (x SocketConfig_TProxyMode) String() string { method Descriptor (line 218) | func (SocketConfig_TProxyMode) Descriptor() protoreflect.EnumDescriptor { method Type (line 222) | func (SocketConfig_TProxyMode) Type() protoreflect.EnumType { method Number (line 226) | func (x SocketConfig_TProxyMode) Number() protoreflect.EnumNumber { method EnumDescriptor (line 231) | func (SocketConfig_TProxyMode) EnumDescriptor() ([]byte, []int) { constant SocketConfig_Off (line 187) | SocketConfig_Off SocketConfig_TProxyMode = 0 constant SocketConfig_TProxy (line 189) | SocketConfig_TProxy SocketConfig_TProxyMode = 1 constant SocketConfig_Redirect (line 191) | SocketConfig_Redirect SocketConfig_TProxyMode = 2 type TransportConfig (line 235) | type TransportConfig struct method Reset (line 250) | func (x *TransportConfig) Reset() { method String (line 257) | func (x *TransportConfig) String() string { method ProtoMessage (line 261) | func (*TransportConfig) ProtoMessage() {} method ProtoReflect (line 263) | func (x *TransportConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 276) | func (*TransportConfig) Descriptor() ([]byte, []int) { method GetProtocol (line 281) | func (x *TransportConfig) GetProtocol() TransportProtocol { method GetProtocolName (line 288) | func (x *TransportConfig) GetProtocolName() string { method GetSettings (line 295) | func (x *TransportConfig) GetSettings() *anypb.Any { type StreamConfig (line 302) | type StreamConfig struct method Reset (line 320) | func (x *StreamConfig) Reset() { method String (line 327) | func (x *StreamConfig) String() string { method ProtoMessage (line 331) | func (*StreamConfig) ProtoMessage() {} method ProtoReflect (line 333) | func (x *StreamConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 346) | func (*StreamConfig) Descriptor() ([]byte, []int) { method GetProtocol (line 351) | func (x *StreamConfig) GetProtocol() TransportProtocol { method GetProtocolName (line 358) | func (x *StreamConfig) GetProtocolName() string { method GetTransportSettings (line 365) | func (x *StreamConfig) GetTransportSettings() []*TransportConfig { method GetSecurityType (line 372) | func (x *StreamConfig) GetSecurityType() string { method GetSecuritySettings (line 379) | func (x *StreamConfig) GetSecuritySettings() []*anypb.Any { method GetSocketSettings (line 386) | func (x *StreamConfig) GetSocketSettings() *SocketConfig { type ProxyConfig (line 393) | type ProxyConfig struct method Reset (line 401) | func (x *ProxyConfig) Reset() { method String (line 408) | func (x *ProxyConfig) String() string { method ProtoMessage (line 412) | func (*ProxyConfig) ProtoMessage() {} method ProtoReflect (line 414) | func (x *ProxyConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 427) | func (*ProxyConfig) Descriptor() ([]byte, []int) { method GetTag (line 431) | func (x *ProxyConfig) GetTag() string { method GetTransportLayerProxy (line 438) | func (x *ProxyConfig) GetTransportLayerProxy() bool { type SocketConfig (line 446) | type SocketConfig struct method Reset (line 472) | func (x *SocketConfig) Reset() { method String (line 479) | func (x *SocketConfig) String() string { method ProtoMessage (line 483) | func (*SocketConfig) ProtoMessage() {} method ProtoReflect (line 485) | func (x *SocketConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 498) | func (*SocketConfig) Descriptor() ([]byte, []int) { method GetMark (line 502) | func (x *SocketConfig) GetMark() uint32 { method GetTfo (line 509) | func (x *SocketConfig) GetTfo() SocketConfig_TCPFastOpenState { method GetTproxy (line 516) | func (x *SocketConfig) GetTproxy() SocketConfig_TProxyMode { method GetReceiveOriginalDestAddress (line 523) | func (x *SocketConfig) GetReceiveOriginalDestAddress() bool { method GetBindAddress (line 530) | func (x *SocketConfig) GetBindAddress() []byte { method GetBindPort (line 537) | func (x *SocketConfig) GetBindPort() uint32 { method GetAcceptProxyProtocol (line 544) | func (x *SocketConfig) GetAcceptProxyProtocol() bool { method GetTcpKeepAliveInterval (line 551) | func (x *SocketConfig) GetTcpKeepAliveInterval() int32 { method GetTfoQueueLength (line 558) | func (x *SocketConfig) GetTfoQueueLength() uint32 { method GetTcpKeepAliveIdle (line 565) | func (x *SocketConfig) GetTcpKeepAliveIdle() int32 { method GetBindToDevice (line 572) | func (x *SocketConfig) GetBindToDevice() string { method GetRxBufSize (line 579) | func (x *SocketConfig) GetRxBufSize() int64 { method GetTxBufSize (line 586) | func (x *SocketConfig) GetTxBufSize() int64 { method GetForceBufSize (line 593) | func (x *SocketConfig) GetForceBufSize() bool { method GetMptcp (line 600) | func (x *SocketConfig) GetMptcp() MPTCPState { constant file_transport_internet_config_proto_rawDesc (line 609) | file_transport_internet_config_proto_rawDesc = "" + function file_transport_internet_config_proto_rawDescGZIP (line 674) | func file_transport_internet_config_proto_rawDescGZIP() []byte { function init (line 711) | func init() { file_transport_internet_config_proto_init() } function file_transport_internet_config_proto_init (line 712) | func file_transport_internet_config_proto_init() { FILE: transport/internet/connection.go type Connection (line 10) | type Connection interface type AbstractPacketConnReader (line 14) | type AbstractPacketConnReader interface type AbstractPacketConnWriter (line 18) | type AbstractPacketConnWriter interface type AbstractPacketConn (line 22) | type AbstractPacketConn interface type PacketConn (line 28) | type PacketConn interface type StatCouterConnection (line 33) | type StatCouterConnection struct method Read (line 39) | func (c *StatCouterConnection) Read(b []byte) (int, error) { method Write (line 48) | func (c *StatCouterConnection) Write(b []byte) (int, error) { FILE: transport/internet/dialer.go type Dialer (line 12) | type Dialer interface type dialFunc (line 21) | type dialFunc function RegisterTransportDialer (line 26) | func RegisterTransportDialer(protocol string, dialer dialFunc) error { function Dial (line 35) | func Dial(ctx context.Context, dest net.Destination, streamSettings *Mem... function DialSystem (line 70) | func DialSystem(ctx context.Context, dest net.Destination, sockopt *Sock... function DialTaggedOutbound (line 101) | func DialTaggedOutbound(ctx context.Context, dest net.Destination, tag s... FILE: transport/internet/dialer_test.go function TestDialWithLocalAddr (line 15) | func TestDialWithLocalAddr(t *testing.T) { FILE: transport/internet/domainsocket/config.go constant protocolName (line 10) | protocolName = "domainsocket" constant sizeofSunPath (line 11) | sizeofSunPath = 108 method GetUnixAddr (line 14) | func (c *Config) GetUnixAddr() (*net.UnixAddr, error) { function init (line 34) | func init() { FILE: transport/internet/domainsocket/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 35) | func (x *Config) Reset() { method String (line 42) | func (x *Config) String() string { method ProtoMessage (line 46) | func (*Config) ProtoMessage() {} method ProtoReflect (line 48) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*Config) Descriptor() ([]byte, []int) { method GetPath (line 65) | func (x *Config) GetPath() string { method GetAbstract (line 72) | func (x *Config) GetAbstract() bool { method GetPadding (line 79) | func (x *Config) GetPadding() bool { constant file_transport_internet_domainsocket_config_proto_rawDesc (line 88) | file_transport_internet_domainsocket_config_proto_rawDesc = "" + function file_transport_internet_domainsocket_config_proto_rawDescGZIP (line 103) | func file_transport_internet_domainsocket_config_proto_rawDescGZIP() []b... function init (line 122) | func init() { file_transport_internet_domainsocket_config_proto_init() } function file_transport_internet_domainsocket_config_proto_init (line 123) | func file_transport_internet_domainsocket_config_proto_init() { FILE: transport/internet/domainsocket/dial.go function Dial (line 15) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 34) | func init() { FILE: transport/internet/domainsocket/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/domainsocket/listener.go type Listener (line 20) | type Listener struct method Addr (line 67) | func (ln *Listener) Addr() net.Addr { method Close (line 71) | func (ln *Listener) Close() error { method run (line 78) | func (ln *Listener) run() { function Listen (line 29) | func Listen(ctx context.Context, address net.Address, port net.Port, str... type fileLocker (line 97) | type fileLocker struct method Acquire (line 102) | func (fl *fileLocker) Acquire() error { method Release (line 115) | func (fl *fileLocker) Release() { function init (line 127) | func init() { FILE: transport/internet/domainsocket/listener_test.go function TestListen (line 18) | func TestListen(t *testing.T) { function TestListenAbstract (line 54) | func TestListenAbstract(t *testing.T) { FILE: transport/internet/dtls/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type DTLSMode (line 19) | type DTLSMode method Enum (line 38) | func (x DTLSMode) Enum() *DTLSMode { method String (line 44) | func (x DTLSMode) String() string { method Descriptor (line 48) | func (DTLSMode) Descriptor() protoreflect.EnumDescriptor { method Type (line 52) | func (DTLSMode) Type() protoreflect.EnumType { method Number (line 56) | func (x DTLSMode) Number() protoreflect.EnumNumber { method EnumDescriptor (line 61) | func (DTLSMode) EnumDescriptor() ([]byte, []int) { constant DTLSMode_INVALID (line 22) | DTLSMode_INVALID DTLSMode = 0 constant DTLSMode_PSK (line 23) | DTLSMode_PSK DTLSMode = 1 type Config (line 65) | type Config struct method Reset (line 75) | func (x *Config) Reset() { method String (line 82) | func (x *Config) String() string { method ProtoMessage (line 86) | func (*Config) ProtoMessage() {} method ProtoReflect (line 88) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 101) | func (*Config) Descriptor() ([]byte, []int) { method GetMode (line 105) | func (x *Config) GetMode() DTLSMode { method GetPsk (line 112) | func (x *Config) GetPsk() []byte { method GetMtu (line 119) | func (x *Config) GetMtu() uint32 { method GetReplayProtectionWindow (line 126) | func (x *Config) GetReplayProtectionWindow() uint32 { constant file_transport_internet_dtls_config_proto_rawDesc (line 135) | file_transport_internet_dtls_config_proto_rawDesc = "" + function file_transport_internet_dtls_config_proto_rawDescGZIP (line 154) | func file_transport_internet_dtls_config_proto_rawDescGZIP() []byte { function init (line 176) | func init() { file_transport_internet_dtls_config_proto_init() } function file_transport_internet_dtls_config_proto_init (line 177) | func file_transport_internet_dtls_config_proto_init() { FILE: transport/internet/dtls/dialer.go function dialDTLS (line 16) | func dialDTLS(ctx context.Context, dest net.Destination, streamSettings ... function dial (line 45) | func dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 55) | func init() { FILE: transport/internet/dtls/dtls.go constant protocolName (line 10) | protocolName = "dtls" function init (line 12) | func init() { FILE: transport/internet/dtls/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/dtls/listener.go type Listener (line 19) | type Listener struct method Close (line 29) | func (l *Listener) Close() error { method Addr (line 33) | func (l *Listener) Addr() net.Addr { method handlePackets (line 142) | func (l *Listener) handlePackets() { method OnReceive (line 171) | func (l *Listener) OnReceive(payload *buf.Buffer, src net.Destination) { method Remove (line 196) | func (l *Listener) Remove(src net.Destination) { type ConnectionID (line 37) | type ConnectionID struct function newDTLSServerConn (line 42) | func newDTLSServerConn(src net.Destination, parent *Listener) *dTLSConn { type dTLSConnWrapped (line 54) | type dTLSConnWrapped struct type dTLSConn (line 59) | type dTLSConn struct method Read (line 68) | func (l *dTLSConn) Read(b []byte) (n int, err error) { method Write (line 82) | func (l *dTLSConn) Write(b []byte) (n int, err error) { method Close (line 86) | func (l *dTLSConn) Close() error { method LocalAddr (line 92) | func (l *dTLSConn) LocalAddr() gonet.Addr { method RemoteAddr (line 96) | func (l *dTLSConn) RemoteAddr() gonet.Addr { method SetDeadline (line 103) | func (l *dTLSConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 107) | func (l *dTLSConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 111) | func (l *dTLSConn) SetWriteDeadline(t time.Time) error { method OnReceive (line 115) | func (l *dTLSConn) OnReceive(payload *buf.Buffer) { function NewListener (line 122) | func NewListener(ctx context.Context, address net.Address, port net.Port... function newDTLSConnWrapped (line 149) | func newDTLSConnWrapped(unencryptedConnection *dTLSConn, transportConfig... function ListenDTLS (line 206) | func ListenDTLS(ctx context.Context, address net.Address, port net.Port,... function init (line 210) | func init() { FILE: transport/internet/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/filelocker.go type FileLocker (line 8) | type FileLocker struct FILE: transport/internet/filelocker_other.go method Acquire (line 13) | func (fl *FileLocker) Acquire() error { method Release (line 27) | func (fl *FileLocker) Release() { FILE: transport/internet/filelocker_windows.go method Acquire (line 4) | func (fl *FileLocker) Acquire() error { method Release (line 9) | func (fl *FileLocker) Release() { FILE: transport/internet/grpc/config.go constant protocolName (line 8) | protocolName = "gun" function init (line 10) | func init() { FILE: transport/internet/grpc/config.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 25) | type Config struct method Reset (line 37) | func (x *Config) Reset() { method String (line 44) | func (x *Config) String() string { method ProtoMessage (line 48) | func (*Config) ProtoMessage() {} method ProtoReflect (line 50) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*Config) Descriptor() ([]byte, []int) { method GetHost (line 67) | func (x *Config) GetHost() string { method GetServiceName (line 74) | func (x *Config) GetServiceName() string { method GetIdleTimeout (line 81) | func (x *Config) GetIdleTimeout() int32 { method GetHealthCheckTimeout (line 88) | func (x *Config) GetHealthCheckTimeout() int32 { method GetPermitWithoutStream (line 95) | func (x *Config) GetPermitWithoutStream() bool { method GetInitialWindowsSize (line 102) | func (x *Config) GetInitialWindowsSize() int32 { constant file_transport_internet_grpc_config_proto_rawDesc (line 111) | file_transport_internet_grpc_config_proto_rawDesc = "" + function file_transport_internet_grpc_config_proto_rawDescGZIP (line 129) | func file_transport_internet_grpc_config_proto_rawDescGZIP() []byte { function init (line 148) | func init() { file_transport_internet_grpc_config_proto_init() } function file_transport_internet_grpc_config_proto_init (line 149) | func file_transport_internet_grpc_config_proto_init() { FILE: transport/internet/grpc/dial.go function Dial (line 30) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 40) | func init() { type transportConnectionState (line 44) | type transportConnectionState struct method IsTransientStorageLifecycleReceiver (line 49) | func (t *transportConnectionState) IsTransientStorageLifecycleReceiver... method Close (line 52) | func (t *transportConnectionState) Close() error { type dialerCanceller (line 62) | type dialerCanceller function dialgRPC (line 64) | func dialgRPC(ctx context.Context, dest net.Destination, streamSettings ... function getGrpcClient (line 80) | func getGrpcClient(ctx context.Context, dest net.Destination, streamSett... FILE: transport/internet/grpc/encoding/conn.go type GunService (line 17) | type GunService interface type GunConn (line 24) | type GunConn struct method Read (line 33) | func (c *GunConn) Read(b []byte) (n int, err error) { method Write (line 50) | func (c *GunConn) Write(b []byte) (n int, err error) { method Close (line 59) | func (c *GunConn) Close() error { method LocalAddr (line 67) | func (c *GunConn) LocalAddr() net.Addr { method RemoteAddr (line 72) | func (c *GunConn) RemoteAddr() net.Addr { method SetDeadline (line 77) | func (*GunConn) SetDeadline(time.Time) error { method SetReadDeadline (line 82) | func (*GunConn) SetReadDeadline(time.Time) error { method SetWriteDeadline (line 87) | func (*GunConn) SetWriteDeadline(time.Time) error { function NewGunConn (line 92) | func NewGunConn(service GunService, over context.CancelFunc) *GunConn { FILE: transport/internet/grpc/encoding/customSeviceName.go function ServerDesc (line 12) | func ServerDesc(name string) grpc.ServiceDesc { method TunCustomName (line 29) | func (c *gunServiceClient) TunCustomName(ctx context.Context, name strin... type GunServiceClientX (line 38) | type GunServiceClientX interface function RegisterGunServiceServerX (line 43) | func RegisterGunServiceServerX(s *grpc.Server, srv GunServiceServer, nam... FILE: transport/internet/grpc/encoding/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/grpc/encoding/stream.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Hunk (line 18) | type Hunk struct method Reset (line 25) | func (x *Hunk) Reset() { method String (line 32) | func (x *Hunk) String() string { method ProtoMessage (line 36) | func (*Hunk) ProtoMessage() {} method ProtoReflect (line 38) | func (x *Hunk) ProtoReflect() protoreflect.Message { method Descriptor (line 51) | func (*Hunk) Descriptor() ([]byte, []int) { method GetData (line 55) | func (x *Hunk) GetData() []byte { constant file_transport_internet_grpc_encoding_stream_proto_rawDesc (line 64) | file_transport_internet_grpc_encoding_stream_proto_rawDesc = "" + function file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP (line 79) | func file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP() []... function init (line 100) | func init() { file_transport_internet_grpc_encoding_stream_proto_init() } function file_transport_internet_grpc_encoding_stream_proto_init (line 101) | func file_transport_internet_grpc_encoding_stream_proto_init() { FILE: transport/internet/grpc/encoding/stream_grpc.pb.go constant _ (line 13) | _ = grpc.SupportPackageIsVersion9 constant GunService_Tun_FullMethodName (line 16) | GunService_Tun_FullMethodName = "/v2ray.core.transport.internet.grpc.enc... type GunServiceClient (line 22) | type GunServiceClient interface type gunServiceClient (line 26) | type gunServiceClient struct method Tun (line 34) | func (c *gunServiceClient) Tun(ctx context.Context, opts ...grpc.CallO... function NewGunServiceClient (line 30) | func NewGunServiceClient(cc grpc.ClientConnInterface) GunServiceClient { type GunServiceServer (line 50) | type GunServiceServer interface type UnimplementedGunServiceServer (line 60) | type UnimplementedGunServiceServer struct method Tun (line 62) | func (UnimplementedGunServiceServer) Tun(grpc.BidiStreamingServer[Hunk... method mustEmbedUnimplementedGunServiceServer (line 65) | func (UnimplementedGunServiceServer) mustEmbedUnimplementedGunServiceS... method testEmbeddedByValue (line 66) | func (UnimplementedGunServiceServer) testEmbeddedByValue() ... type UnsafeGunServiceServer (line 71) | type UnsafeGunServiceServer interface function RegisterGunServiceServer (line 75) | func RegisterGunServiceServer(s grpc.ServiceRegistrar, srv GunServiceSer... function _GunService_Tun_Handler (line 86) | func _GunService_Tun_Handler(srv interface{}, stream grpc.ServerStream) ... FILE: transport/internet/grpc/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/grpc/hub.go type Listener (line 20) | type Listener struct method Tun (line 30) | func (l Listener) Tun(server encoding.GunService_TunServer) error { method Close (line 37) | func (l Listener) Close() error { method Addr (line 42) | func (l Listener) Addr() net.Addr { function Listen (line 46) | func Listen(ctx context.Context, address net.Address, port net.Port, set... function init (line 119) | func init() { FILE: transport/internet/header.go type PacketHeader (line 10) | type PacketHeader interface function CreatePacketHeader (line 15) | func CreatePacketHeader(config interface{}) (PacketHeader, error) { type ConnectionAuthenticator (line 26) | type ConnectionAuthenticator interface function CreateConnectionAuthenticator (line 31) | func CreateConnectionAuthenticator(config interface{}) (ConnectionAuthen... FILE: transport/internet/header_test.go function TestAllHeadersLoadable (line 15) | func TestAllHeadersLoadable(t *testing.T) { FILE: transport/internet/headers/http/config.go function pickString (line 9) | func pickString(arr []string) string { method PickURI (line 21) | func (v *RequestConfig) PickURI() string { method PickHeaders (line 25) | func (v *RequestConfig) PickHeaders() []string { method GetVersionValue (line 39) | func (v *RequestConfig) GetVersionValue() string { method GetMethodValue (line 46) | func (v *RequestConfig) GetMethodValue() string { method GetFullVersion (line 53) | func (v *RequestConfig) GetFullVersion() string { method HasHeader (line 57) | func (v *ResponseConfig) HasHeader(header string) bool { method PickHeaders (line 67) | func (v *ResponseConfig) PickHeaders() []string { method GetVersionValue (line 81) | func (v *ResponseConfig) GetVersionValue() string { method GetFullVersion (line 88) | func (v *ResponseConfig) GetFullVersion() string { method GetStatusValue (line 92) | func (v *ResponseConfig) GetStatusValue() *Status { FILE: transport/internet/headers/http/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Header (line 18) | type Header struct method Reset (line 29) | func (x *Header) Reset() { method String (line 36) | func (x *Header) String() string { method ProtoMessage (line 40) | func (*Header) ProtoMessage() {} method ProtoReflect (line 42) | func (x *Header) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*Header) Descriptor() ([]byte, []int) { method GetName (line 59) | func (x *Header) GetName() string { method GetValue (line 66) | func (x *Header) GetValue() []string { type Version (line 74) | type Version struct method Reset (line 81) | func (x *Version) Reset() { method String (line 88) | func (x *Version) String() string { method ProtoMessage (line 92) | func (*Version) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Version) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Version) Descriptor() ([]byte, []int) { method GetValue (line 111) | func (x *Version) GetValue() string { type Method (line 119) | type Method struct method Reset (line 126) | func (x *Method) Reset() { method String (line 133) | func (x *Method) String() string { method ProtoMessage (line 137) | func (*Method) ProtoMessage() {} method ProtoReflect (line 139) | func (x *Method) ProtoReflect() protoreflect.Message { method Descriptor (line 152) | func (*Method) Descriptor() ([]byte, []int) { method GetValue (line 156) | func (x *Method) GetValue() string { type RequestConfig (line 163) | type RequestConfig struct method Reset (line 176) | func (x *RequestConfig) Reset() { method String (line 183) | func (x *RequestConfig) String() string { method ProtoMessage (line 187) | func (*RequestConfig) ProtoMessage() {} method ProtoReflect (line 189) | func (x *RequestConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*RequestConfig) Descriptor() ([]byte, []int) { method GetVersion (line 206) | func (x *RequestConfig) GetVersion() *Version { method GetMethod (line 213) | func (x *RequestConfig) GetMethod() *Method { method GetUri (line 220) | func (x *RequestConfig) GetUri() []string { method GetHeader (line 227) | func (x *RequestConfig) GetHeader() []*Header { type Status (line 234) | type Status struct method Reset (line 244) | func (x *Status) Reset() { method String (line 251) | func (x *Status) String() string { method ProtoMessage (line 255) | func (*Status) ProtoMessage() {} method ProtoReflect (line 257) | func (x *Status) ProtoReflect() protoreflect.Message { method Descriptor (line 270) | func (*Status) Descriptor() ([]byte, []int) { method GetCode (line 274) | func (x *Status) GetCode() string { method GetReason (line 281) | func (x *Status) GetReason() string { type ResponseConfig (line 288) | type ResponseConfig struct method Reset (line 297) | func (x *ResponseConfig) Reset() { method String (line 304) | func (x *ResponseConfig) String() string { method ProtoMessage (line 308) | func (*ResponseConfig) ProtoMessage() {} method ProtoReflect (line 310) | func (x *ResponseConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 323) | func (*ResponseConfig) Descriptor() ([]byte, []int) { method GetVersion (line 327) | func (x *ResponseConfig) GetVersion() *Version { method GetStatus (line 334) | func (x *ResponseConfig) GetStatus() *Status { method GetHeader (line 341) | func (x *ResponseConfig) GetHeader() []*Header { type Config (line 348) | type Config struct method Reset (line 360) | func (x *Config) Reset() { method String (line 367) | func (x *Config) String() string { method ProtoMessage (line 371) | func (*Config) ProtoMessage() {} method ProtoReflect (line 373) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 386) | func (*Config) Descriptor() ([]byte, []int) { method GetRequest (line 390) | func (x *Config) GetRequest() *RequestConfig { method GetResponse (line 397) | func (x *Config) GetResponse() *ResponseConfig { constant file_transport_internet_headers_http_config_proto_rawDesc (line 406) | file_transport_internet_headers_http_config_proto_rawDesc = "" + function file_transport_internet_headers_http_config_proto_rawDescGZIP (line 438) | func file_transport_internet_headers_http_config_proto_rawDescGZIP() []b... function init (line 471) | func init() { file_transport_internet_headers_http_config_proto_init() } function file_transport_internet_headers_http_config_proto_init (line 472) | func file_transport_internet_headers_http_config_proto_init() { FILE: transport/internet/headers/http/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/headers/http/http.go constant CRLF (line 21) | CRLF = "\r\n" constant ENDING (line 24) | ENDING = CRLF + CRLF constant maxHeaderLength (line 27) | maxHeaderLength = 8192 type Reader (line 36) | type Reader interface type Writer (line 40) | type Writer interface type NoOpReader (line 44) | type NoOpReader struct method Read (line 46) | func (NoOpReader) Read(io.Reader) (*buf.Buffer, error) { type NoOpWriter (line 50) | type NoOpWriter struct method Write (line 52) | func (NoOpWriter) Write(io.Writer) error { type HeaderReader (line 56) | type HeaderReader struct method ExpectThisRequest (line 61) | func (h *HeaderReader) ExpectThisRequest(expectedHeader *RequestConfig... method Read (line 66) | func (h *HeaderReader) Read(reader io.Reader) (*buf.Buffer, error) { type HeaderWriter (line 140) | type HeaderWriter struct method Write (line 150) | func (w *HeaderWriter) Write(writer io.Writer) error { function NewHeaderWriter (line 144) | func NewHeaderWriter(header *buf.Buffer) *HeaderWriter { type Conn (line 160) | type Conn struct method Read (line 183) | func (c *Conn) Read(b []byte) (int, error) { method Write (line 207) | func (c *Conn) Write(b []byte) (int, error) { method Close (line 220) | func (c *Conn) Close() error { function NewConn (line 172) | func NewConn(conn net.Conn, reader Reader, writer Writer, errorWriter Wr... function formResponseHeader (line 239) | func formResponseHeader(config *ResponseConfig) *HeaderWriter { type Authenticator (line 260) | type Authenticator struct method GetClientWriter (line 264) | func (a Authenticator) GetClientWriter() *HeaderWriter { method GetServerWriter (line 281) | func (a Authenticator) GetServerWriter() *HeaderWriter { method Client (line 285) | func (a Authenticator) Client(conn net.Conn) net.Conn { method Server (line 301) | func (a Authenticator) Server(conn net.Conn) net.Conn { function NewAuthenticator (line 311) | func NewAuthenticator(ctx context.Context, config *Config) (Authenticato... function init (line 317) | func init() { FILE: transport/internet/headers/http/http_test.go function TestReaderWriter (line 18) | func TestReaderWriter(t *testing.T) { function TestRequestHeader (line 38) | func TestRequestHeader(t *testing.T) { function TestLongRequestHeader (line 61) | func TestLongRequestHeader(t *testing.T) { function TestConnection (line 75) | func TestConnection(t *testing.T) { function TestConnectionInvPath (line 148) | func TestConnectionInvPath(t *testing.T) { function TestConnectionInvReq (line 249) | func TestConnectionInvReq(t *testing.T) { FILE: transport/internet/headers/http/linkedreadRequest.go function readRequest (line 10) | func readRequest(b *bufio.Reader) (req *http.Request, err error) FILE: transport/internet/headers/noop/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 18) | type Config struct method Reset (line 24) | func (x *Config) Reset() { method String (line 31) | func (x *Config) String() string { method ProtoMessage (line 35) | func (*Config) ProtoMessage() {} method ProtoReflect (line 37) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*Config) Descriptor() ([]byte, []int) { type ConnectionConfig (line 54) | type ConnectionConfig struct method Reset (line 60) | func (x *ConnectionConfig) Reset() { method String (line 67) | func (x *ConnectionConfig) String() string { method ProtoMessage (line 71) | func (*ConnectionConfig) ProtoMessage() {} method ProtoReflect (line 73) | func (x *ConnectionConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 86) | func (*ConnectionConfig) Descriptor() ([]byte, []int) { constant file_transport_internet_headers_noop_config_proto_rawDesc (line 92) | file_transport_internet_headers_noop_config_proto_rawDesc = "" + function file_transport_internet_headers_noop_config_proto_rawDescGZIP (line 104) | func file_transport_internet_headers_noop_config_proto_rawDescGZIP() []b... function init (line 124) | func init() { file_transport_internet_headers_noop_config_proto_init() } function file_transport_internet_headers_noop_config_proto_init (line 125) | func file_transport_internet_headers_noop_config_proto_init() { FILE: transport/internet/headers/noop/noop.go type Header (line 10) | type Header struct method Size (line 12) | func (Header) Size() int32 { method Serialize (line 17) | func (Header) Serialize([]byte) {} function NewHeader (line 19) | func NewHeader(context.Context, interface{}) (interface{}, error) { type ConnectionHeader (line 23) | type ConnectionHeader struct method Client (line 25) | func (ConnectionHeader) Client(conn net.Conn) net.Conn { method Server (line 29) | func (ConnectionHeader) Server(conn net.Conn) net.Conn { function NewConnectionHeader (line 33) | func NewConnectionHeader(context.Context, interface{}) (interface{}, err... function init (line 37) | func init() { FILE: transport/internet/headers/srtp/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 18) | type Config struct method Reset (line 30) | func (x *Config) Reset() { method String (line 37) | func (x *Config) String() string { method ProtoMessage (line 41) | func (*Config) ProtoMessage() {} method ProtoReflect (line 43) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*Config) Descriptor() ([]byte, []int) { method GetVersion (line 60) | func (x *Config) GetVersion() uint32 { method GetPadding (line 67) | func (x *Config) GetPadding() bool { method GetExtension (line 74) | func (x *Config) GetExtension() bool { method GetCsrcCount (line 81) | func (x *Config) GetCsrcCount() uint32 { method GetMarker (line 88) | func (x *Config) GetMarker() bool { method GetPayloadType (line 95) | func (x *Config) GetPayloadType() uint32 { constant file_transport_internet_headers_srtp_config_proto_rawDesc (line 104) | file_transport_internet_headers_srtp_config_proto_rawDesc = "" + function file_transport_internet_headers_srtp_config_proto_rawDescGZIP (line 122) | func file_transport_internet_headers_srtp_config_proto_rawDescGZIP() []b... function init (line 141) | func init() { file_transport_internet_headers_srtp_config_proto_init() } function file_transport_internet_headers_srtp_config_proto_init (line 142) | func file_transport_internet_headers_srtp_config_proto_init() { FILE: transport/internet/headers/srtp/srtp.go type SRTP (line 11) | type SRTP struct method Size (line 16) | func (*SRTP) Size() int32 { method Serialize (line 21) | func (s *SRTP) Serialize(b []byte) { function New (line 28) | func New(ctx context.Context, config interface{}) (interface{}, error) { function init (line 35) | func init() { FILE: transport/internet/headers/srtp/srtp_test.go function TestSRTPWrite (line 12) | func TestSRTPWrite(t *testing.T) { FILE: transport/internet/headers/tls/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type PacketConfig (line 18) | type PacketConfig struct method Reset (line 24) | func (x *PacketConfig) Reset() { method String (line 31) | func (x *PacketConfig) String() string { method ProtoMessage (line 35) | func (*PacketConfig) ProtoMessage() {} method ProtoReflect (line 37) | func (x *PacketConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*PacketConfig) Descriptor() ([]byte, []int) { constant file_transport_internet_headers_tls_config_proto_rawDesc (line 56) | file_transport_internet_headers_tls_config_proto_rawDesc = "" + function file_transport_internet_headers_tls_config_proto_rawDescGZIP (line 67) | func file_transport_internet_headers_tls_config_proto_rawDescGZIP() []by... function init (line 86) | func init() { file_transport_internet_headers_tls_config_proto_init() } function file_transport_internet_headers_tls_config_proto_init (line 87) | func file_transport_internet_headers_tls_config_proto_init() { FILE: transport/internet/headers/tls/dtls.go type DTLS (line 11) | type DTLS struct method Size (line 18) | func (*DTLS) Size() int32 { method Serialize (line 23) | func (d *DTLS) Serialize(b []byte) { function New (line 45) | func New(ctx context.Context, config interface{}) (interface{}, error) { function init (line 53) | func init() { FILE: transport/internet/headers/tls/dtls_test.go function TestDTLSWrite (line 12) | func TestDTLSWrite(t *testing.T) { FILE: transport/internet/headers/utp/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 18) | type Config struct method Reset (line 25) | func (x *Config) Reset() { method String (line 32) | func (x *Config) String() string { method ProtoMessage (line 36) | func (*Config) ProtoMessage() {} method ProtoReflect (line 38) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 51) | func (*Config) Descriptor() ([]byte, []int) { method GetVersion (line 55) | func (x *Config) GetVersion() uint32 { constant file_transport_internet_headers_utp_config_proto_rawDesc (line 64) | file_transport_internet_headers_utp_config_proto_rawDesc = "" + function file_transport_internet_headers_utp_config_proto_rawDescGZIP (line 76) | func file_transport_internet_headers_utp_config_proto_rawDescGZIP() []by... function init (line 95) | func init() { file_transport_internet_headers_utp_config_proto_init() } function file_transport_internet_headers_utp_config_proto_init (line 96) | func file_transport_internet_headers_utp_config_proto_init() { FILE: transport/internet/headers/utp/utp.go type UTP (line 11) | type UTP struct method Size (line 17) | func (*UTP) Size() int32 { method Serialize (line 22) | func (u *UTP) Serialize(b []byte) { function New (line 29) | func New(ctx context.Context, config interface{}) (interface{}, error) { function init (line 37) | func init() { FILE: transport/internet/headers/utp/utp_test.go function TestUTPWrite (line 12) | func TestUTPWrite(t *testing.T) { FILE: transport/internet/headers/wechat/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type VideoConfig (line 18) | type VideoConfig struct method Reset (line 24) | func (x *VideoConfig) Reset() { method String (line 31) | func (x *VideoConfig) String() string { method ProtoMessage (line 35) | func (*VideoConfig) ProtoMessage() {} method ProtoReflect (line 37) | func (x *VideoConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*VideoConfig) Descriptor() ([]byte, []int) { constant file_transport_internet_headers_wechat_config_proto_rawDesc (line 56) | file_transport_internet_headers_wechat_config_proto_rawDesc = "" + function file_transport_internet_headers_wechat_config_proto_rawDescGZIP (line 67) | func file_transport_internet_headers_wechat_config_proto_rawDescGZIP() [... function init (line 86) | func init() { file_transport_internet_headers_wechat_config_proto_init() } function file_transport_internet_headers_wechat_config_proto_init (line 87) | func file_transport_internet_headers_wechat_config_proto_init() { FILE: transport/internet/headers/wechat/wechat.go type VideoChat (line 11) | type VideoChat struct method Size (line 15) | func (vc *VideoChat) Size() int32 { method Serialize (line 20) | func (vc *VideoChat) Serialize(b []byte) { function NewVideoChat (line 35) | func NewVideoChat(ctx context.Context, config interface{}) (interface{},... function init (line 41) | func init() { FILE: transport/internet/headers/wechat/wechat_test.go function TestUTPWrite (line 12) | func TestUTPWrite(t *testing.T) { FILE: transport/internet/headers/wireguard/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type WireguardConfig (line 18) | type WireguardConfig struct method Reset (line 24) | func (x *WireguardConfig) Reset() { method String (line 31) | func (x *WireguardConfig) String() string { method ProtoMessage (line 35) | func (*WireguardConfig) ProtoMessage() {} method ProtoReflect (line 37) | func (x *WireguardConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*WireguardConfig) Descriptor() ([]byte, []int) { constant file_transport_internet_headers_wireguard_config_proto_rawDesc (line 56) | file_transport_internet_headers_wireguard_config_proto_rawDesc = "" + function file_transport_internet_headers_wireguard_config_proto_rawDescGZIP (line 67) | func file_transport_internet_headers_wireguard_config_proto_rawDescGZIP(... function init (line 86) | func init() { file_transport_internet_headers_wireguard_config_proto_ini... function file_transport_internet_headers_wireguard_config_proto_init (line 87) | func file_transport_internet_headers_wireguard_config_proto_init() { FILE: transport/internet/headers/wireguard/wireguard.go type Wireguard (line 9) | type Wireguard struct method Size (line 11) | func (Wireguard) Size() int32 { method Serialize (line 16) | func (Wireguard) Serialize(b []byte) { function NewWireguard (line 24) | func NewWireguard(ctx context.Context, config interface{}) (interface{},... function init (line 28) | func init() { FILE: transport/internet/http/config.go constant protocolName (line 9) | protocolName = "http" method getHosts (line 11) | func (c *Config) getHosts() []string { method isValidHost (line 18) | func (c *Config) isValidHost(host string) bool { method getRandomHost (line 28) | func (c *Config) getRandomHost() string { method getNormalizedPath (line 33) | func (c *Config) getNormalizedPath() string { function init (line 43) | func init() { FILE: transport/internet/http/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 30) | func (x *Config) Reset() { method String (line 37) | func (x *Config) String() string { method ProtoMessage (line 41) | func (*Config) ProtoMessage() {} method ProtoReflect (line 43) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*Config) Descriptor() ([]byte, []int) { method GetHost (line 60) | func (x *Config) GetHost() []string { method GetPath (line 67) | func (x *Config) GetPath() string { method GetMethod (line 74) | func (x *Config) GetMethod() string { method GetHeader (line 81) | func (x *Config) GetHeader() []*http.Header { constant file_transport_internet_http_config_proto_rawDesc (line 90) | file_transport_internet_http_config_proto_rawDesc = "" + function file_transport_internet_http_config_proto_rawDescGZIP (line 106) | func file_transport_internet_http_config_proto_rawDescGZIP() []byte { function init (line 127) | func init() { file_transport_internet_http_config_proto_init() } function file_transport_internet_http_config_proto_init (line 128) | func file_transport_internet_http_config_proto_init() { FILE: transport/internet/http/dialer.go type dialerCanceller (line 27) | type dialerCanceller function getHTTPClient (line 29) | func getHTTPClient(ctx context.Context, dest net.Destination, securityEn... function Dial (line 99) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 162) | func init() { FILE: transport/internet/http/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/http/http_test.go function TestHTTPConnection (line 21) | func TestHTTPConnection(t *testing.T) { FILE: transport/internet/http/hub.go type Listener (line 23) | type Listener struct method Addr (line 30) | func (l *Listener) Addr() net.Addr { method Close (line 34) | func (l *Listener) Close() error { method ServeHTTP (line 55) | func (l *Listener) ServeHTTP(writer http.ResponseWriter, request *http... type flushWriter (line 38) | type flushWriter struct method Write (line 43) | func (fw flushWriter) Write(p []byte) (n int, err error) { function Listen (line 111) | func Listen(ctx context.Context, address net.Address, port net.Port, str... function init (line 197) | func init() { FILE: transport/internet/httpupgrade/config.go method GetNormalizedPath (line 3) | func (c *Config) GetNormalizedPath() string { FILE: transport/internet/httpupgrade/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Header (line 19) | type Header struct method Reset (line 27) | func (x *Header) Reset() { method String (line 34) | func (x *Header) String() string { method ProtoMessage (line 38) | func (*Header) ProtoMessage() {} method ProtoReflect (line 40) | func (x *Header) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*Header) Descriptor() ([]byte, []int) { method GetKey (line 57) | func (x *Header) GetKey() string { method GetValue (line 64) | func (x *Header) GetValue() string { type Config (line 71) | type Config struct method Reset (line 82) | func (x *Config) Reset() { method String (line 89) | func (x *Config) String() string { method ProtoMessage (line 93) | func (*Config) ProtoMessage() {} method ProtoReflect (line 95) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*Config) Descriptor() ([]byte, []int) { method GetPath (line 112) | func (x *Config) GetPath() string { method GetHost (line 119) | func (x *Config) GetHost() string { method GetMaxEarlyData (line 126) | func (x *Config) GetMaxEarlyData() int32 { method GetEarlyDataHeaderName (line 133) | func (x *Config) GetEarlyDataHeaderName() string { method GetHeader (line 140) | func (x *Config) GetHeader() []*Header { constant file_transport_internet_httpupgrade_config_proto_rawDesc (line 149) | file_transport_internet_httpupgrade_config_proto_rawDesc = "" + function file_transport_internet_httpupgrade_config_proto_rawDescGZIP (line 169) | func file_transport_internet_httpupgrade_config_proto_rawDescGZIP() []by... function init (line 190) | func init() { file_transport_internet_httpupgrade_config_proto_init() } function file_transport_internet_httpupgrade_config_proto_init (line 191) | func file_transport_internet_httpupgrade_config_proto_init() { FILE: transport/internet/httpupgrade/connection.go type connection (line 13) | type connection struct method Read (line 45) | func (c *connection) Read(b []byte) (int, error) { method Write (line 65) | func (c *connection) Write(b []byte) (int, error) { method WriteMultiBuffer (line 84) | func (c *connection) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 91) | func (c *connection) Close() error { method LocalAddr (line 108) | func (c *connection) LocalAddr() net.Addr { method RemoteAddr (line 122) | func (c *connection) RemoteAddr() net.Addr { method SetDeadline (line 126) | func (c *connection) SetDeadline(t time.Time) error { method SetReadDeadline (line 133) | func (c *connection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 144) | func (c *connection) SetWriteDeadline(t time.Time) error { type delayedDialer (line 24) | type delayedDialer function newConnectionWithPendingRead (line 26) | func newConnectionWithPendingRead(conn net.Conn, remoteAddr net.Addr, ea... function newConnectionWithDelayedDial (line 34) | func newConnectionWithDelayedDial(dialer delayedDialer) *connection { FILE: transport/internet/httpupgrade/dialer.go function dialhttpUpgrade (line 18) | func dialhttpUpgrade(ctx context.Context, dest net.Destination, streamSe... function dial (line 94) | func dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 104) | func init() { FILE: transport/internet/httpupgrade/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/httpupgrade/httpupgrade.go constant protocolName (line 11) | protocolName = "httpupgrade" function init (line 13) | func init() { FILE: transport/internet/httpupgrade/hub.go type server (line 17) | type server struct method Close (line 24) | func (s *server) Close() error { method Addr (line 28) | func (s *server) Addr() net.Addr { method Handle (line 32) | func (s *server) Handle(conn net.Conn) { method upgrade (line 43) | func (s *server) upgrade(conn net.Conn) (internet.Connection, error) { method keepAccepting (line 86) | func (s *server) keepAccepting() { function listenHTTPUpgrade (line 96) | func listenHTTPUpgrade(ctx context.Context, address net.Address, port ne... function init (line 109) | func init() { FILE: transport/internet/hysteria2/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Congestion (line 19) | type Congestion struct method Reset (line 28) | func (x *Congestion) Reset() { method String (line 35) | func (x *Congestion) String() string { method ProtoMessage (line 39) | func (*Congestion) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Congestion) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Congestion) Descriptor() ([]byte, []int) { method GetType (line 58) | func (x *Congestion) GetType() string { method GetUpMbps (line 65) | func (x *Congestion) GetUpMbps() uint64 { method GetDownMbps (line 72) | func (x *Congestion) GetDownMbps() uint64 { type Config (line 79) | type Config struct method Reset (line 89) | func (x *Config) Reset() { method String (line 96) | func (x *Config) String() string { method ProtoMessage (line 100) | func (*Config) ProtoMessage() {} method ProtoReflect (line 102) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 115) | func (*Config) Descriptor() ([]byte, []int) { method GetPassword (line 119) | func (x *Config) GetPassword() string { method GetCongestion (line 126) | func (x *Config) GetCongestion() *Congestion { method GetIgnoreClientBandwidth (line 133) | func (x *Config) GetIgnoreClientBandwidth() bool { method GetUseUdpExtension (line 140) | func (x *Config) GetUseUdpExtension() bool { constant file_transport_internet_hysteria2_config_proto_rawDesc (line 149) | file_transport_internet_hysteria2_config_proto_rawDesc = "" + function file_transport_internet_hysteria2_config_proto_rawDescGZIP (line 172) | func file_transport_internet_hysteria2_config_proto_rawDescGZIP() []byte { function init (line 193) | func init() { file_transport_internet_hysteria2_config_proto_init() } function file_transport_internet_hysteria2_config_proto_init (line 194) | func file_transport_internet_hysteria2_config_proto_init() { FILE: transport/internet/hysteria2/conn.go constant CanNotUseUDPExtension (line 15) | CanNotUseUDPExtension = "Only hysteria2 proxy protocol can use udpExtens... constant Hy2MustNeedTLS (line 16) | Hy2MustNeedTLS = "Hysteria2 based on QUIC that requires TLS." type HyConn (line 19) | type HyConn struct method Read (line 30) | func (c *HyConn) Read(b []byte) (int, error) { method Write (line 39) | func (c *HyConn) Write(b []byte) (int, error) { method WritePacket (line 47) | func (c *HyConn) WritePacket(b []byte, dest net.Destination) (int, err... method ReadPacket (line 67) | func (c *HyConn) ReadPacket() (int, []byte, *net.Destination, error) { method Close (line 91) | func (c *HyConn) Close() error { method LocalAddr (line 105) | func (c *HyConn) LocalAddr() net.Addr { method RemoteAddr (line 109) | func (c *HyConn) RemoteAddr() net.Addr { method SetDeadline (line 113) | func (c *HyConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 120) | func (c *HyConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 127) | func (c *HyConn) SetWriteDeadline(t time.Time) error { FILE: transport/internet/hysteria2/dialer.go type dialerConf (line 18) | type dialerConf struct function GetClientTLSConfig (line 29) | func GetClientTLSConfig(dest net.Destination, streamSettings *internet.M... function ResolveAddress (line 44) | func ResolveAddress(dest net.Destination) (net.Addr, error) { type connFactory (line 61) | type connFactory struct method New (line 67) | func (f *connFactory) New(addr net.Addr) (net.PacketConn, error) { function NewHyClient (line 71) | func NewHyClient(dest net.Destination, streamSettings *internet.MemorySt... function CloseHyClient (line 108) | func CloseHyClient(dest net.Destination, streamSettings *internet.Memory... function GetHyClient (line 120) | func GetHyClient(dest net.Destination, streamSettings *internet.MemorySt... function CheckHyClientHealthy (line 143) | func CheckHyClientHealthy(client hyClient.Client) bool { function Dial (line 156) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 206) | func init() { FILE: transport/internet/hysteria2/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/hysteria2/hub.go type Listener (line 18) | type Listener struct method Addr (line 25) | func (l *Listener) Addr() net.Addr { method Close (line 30) | func (l *Listener) Close() error { method StreamHijacker (line 34) | func (l *Listener) StreamHijacker(ft http3.FrameType, conn *quic.Conn,... method UDPHijacker (line 46) | func (l *Listener) UDPHijacker(entry *hyServer.UdpSessionEntry, origin... function Listen (line 62) | func Listen(ctx context.Context, address net.Address, port net.Port, str... function GetServerTLSConfig (line 106) | func GetServerTLSConfig(streamSettings *internet.MemoryStreamConfig) (*h... type Authenticator (line 116) | type Authenticator struct method Authenticate (line 120) | func (a *Authenticator) Authenticate(addr net.Addr, auth string, tx ui... function init (line 127) | func init() { FILE: transport/internet/hysteria2/hy2_transport_test.go function TestTCP (line 23) | func TestTCP(t *testing.T) { function TestUDP (line 89) | func TestUDP(t *testing.T) { FILE: transport/internet/hysteria2/hysteria2.go constant protocolName (line 11) | protocolName = "hysteria2" function init (line 14) | func init() { FILE: transport/internet/kcp/config.go constant protocolName (line 11) | protocolName = "mkcp" method GetMTUValue (line 14) | func (c *Config) GetMTUValue() uint32 { method GetTTIValue (line 22) | func (c *Config) GetTTIValue() uint32 { method GetUplinkCapacityValue (line 30) | func (c *Config) GetUplinkCapacityValue() uint32 { method GetDownlinkCapacityValue (line 38) | func (c *Config) GetDownlinkCapacityValue() uint32 { method GetWriteBufferSize (line 46) | func (c *Config) GetWriteBufferSize() uint32 { method GetReadBufferSize (line 54) | func (c *Config) GetReadBufferSize() uint32 { method GetSecurity (line 62) | func (c *Config) GetSecurity() (cipher.AEAD, error) { method GetPackerHeader (line 69) | func (c *Config) GetPackerHeader() (internet.PacketHeader, error) { method GetSendingInFlightSize (line 81) | func (c *Config) GetSendingInFlightSize() uint32 { method GetSendingBufferSize (line 89) | func (c *Config) GetSendingBufferSize() uint32 { method GetReceivingInFlightSize (line 93) | func (c *Config) GetReceivingInFlightSize() uint32 { method GetReceivingBufferSize (line 101) | func (c *Config) GetReceivingBufferSize() uint32 { function init (line 105) | func init() { FILE: transport/internet/kcp/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type MTU (line 21) | type MTU struct method Reset (line 28) | func (x *MTU) Reset() { method String (line 35) | func (x *MTU) String() string { method ProtoMessage (line 39) | func (*MTU) ProtoMessage() {} method ProtoReflect (line 41) | func (x *MTU) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*MTU) Descriptor() ([]byte, []int) { method GetValue (line 58) | func (x *MTU) GetValue() uint32 { type TTI (line 66) | type TTI struct method Reset (line 73) | func (x *TTI) Reset() { method String (line 80) | func (x *TTI) String() string { method ProtoMessage (line 84) | func (*TTI) ProtoMessage() {} method ProtoReflect (line 86) | func (x *TTI) ProtoReflect() protoreflect.Message { method Descriptor (line 99) | func (*TTI) Descriptor() ([]byte, []int) { method GetValue (line 103) | func (x *TTI) GetValue() uint32 { type UplinkCapacity (line 111) | type UplinkCapacity struct method Reset (line 118) | func (x *UplinkCapacity) Reset() { method String (line 125) | func (x *UplinkCapacity) String() string { method ProtoMessage (line 129) | func (*UplinkCapacity) ProtoMessage() {} method ProtoReflect (line 131) | func (x *UplinkCapacity) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*UplinkCapacity) Descriptor() ([]byte, []int) { method GetValue (line 148) | func (x *UplinkCapacity) GetValue() uint32 { type DownlinkCapacity (line 156) | type DownlinkCapacity struct method Reset (line 163) | func (x *DownlinkCapacity) Reset() { method String (line 170) | func (x *DownlinkCapacity) String() string { method ProtoMessage (line 174) | func (*DownlinkCapacity) ProtoMessage() {} method ProtoReflect (line 176) | func (x *DownlinkCapacity) ProtoReflect() protoreflect.Message { method Descriptor (line 189) | func (*DownlinkCapacity) Descriptor() ([]byte, []int) { method GetValue (line 193) | func (x *DownlinkCapacity) GetValue() uint32 { type WriteBuffer (line 200) | type WriteBuffer struct method Reset (line 208) | func (x *WriteBuffer) Reset() { method String (line 215) | func (x *WriteBuffer) String() string { method ProtoMessage (line 219) | func (*WriteBuffer) ProtoMessage() {} method ProtoReflect (line 221) | func (x *WriteBuffer) ProtoReflect() protoreflect.Message { method Descriptor (line 234) | func (*WriteBuffer) Descriptor() ([]byte, []int) { method GetSize (line 238) | func (x *WriteBuffer) GetSize() uint32 { type ReadBuffer (line 245) | type ReadBuffer struct method Reset (line 253) | func (x *ReadBuffer) Reset() { method String (line 260) | func (x *ReadBuffer) String() string { method ProtoMessage (line 264) | func (*ReadBuffer) ProtoMessage() {} method ProtoReflect (line 266) | func (x *ReadBuffer) ProtoReflect() protoreflect.Message { method Descriptor (line 279) | func (*ReadBuffer) Descriptor() ([]byte, []int) { method GetSize (line 283) | func (x *ReadBuffer) GetSize() uint32 { type ConnectionReuse (line 290) | type ConnectionReuse struct method Reset (line 297) | func (x *ConnectionReuse) Reset() { method String (line 304) | func (x *ConnectionReuse) String() string { method ProtoMessage (line 308) | func (*ConnectionReuse) ProtoMessage() {} method ProtoReflect (line 310) | func (x *ConnectionReuse) ProtoReflect() protoreflect.Message { method Descriptor (line 323) | func (*ConnectionReuse) Descriptor() ([]byte, []int) { method GetEnable (line 327) | func (x *ConnectionReuse) GetEnable() bool { type EncryptionSeed (line 335) | type EncryptionSeed struct method Reset (line 342) | func (x *EncryptionSeed) Reset() { method String (line 349) | func (x *EncryptionSeed) String() string { method ProtoMessage (line 353) | func (*EncryptionSeed) ProtoMessage() {} method ProtoReflect (line 355) | func (x *EncryptionSeed) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*EncryptionSeed) Descriptor() ([]byte, []int) { method GetSeed (line 372) | func (x *EncryptionSeed) GetSeed() string { type Config (line 379) | type Config struct method Reset (line 394) | func (x *Config) Reset() { method String (line 401) | func (x *Config) String() string { method ProtoMessage (line 405) | func (*Config) ProtoMessage() {} method ProtoReflect (line 407) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 420) | func (*Config) Descriptor() ([]byte, []int) { method GetMtu (line 424) | func (x *Config) GetMtu() *MTU { method GetTti (line 431) | func (x *Config) GetTti() *TTI { method GetUplinkCapacity (line 438) | func (x *Config) GetUplinkCapacity() *UplinkCapacity { method GetDownlinkCapacity (line 445) | func (x *Config) GetDownlinkCapacity() *DownlinkCapacity { method GetCongestion (line 452) | func (x *Config) GetCongestion() bool { method GetWriteBuffer (line 459) | func (x *Config) GetWriteBuffer() *WriteBuffer { method GetReadBuffer (line 466) | func (x *Config) GetReadBuffer() *ReadBuffer { method GetHeaderConfig (line 473) | func (x *Config) GetHeaderConfig() *anypb.Any { method GetSeed (line 480) | func (x *Config) GetSeed() *EncryptionSeed { constant file_transport_internet_kcp_config_proto_rawDesc (line 489) | file_transport_internet_kcp_config_proto_rawDesc = "" + function file_transport_internet_kcp_config_proto_rawDescGZIP (line 532) | func file_transport_internet_kcp_config_proto_rawDescGZIP() []byte { function init (line 568) | func init() { file_transport_internet_kcp_config_proto_init() } function file_transport_internet_kcp_config_proto_init (line 569) | func file_transport_internet_kcp_config_proto_init() { FILE: transport/internet/kcp/connection.go type State (line 24) | type State method Is (line 27) | func (s State) Is(states ...State) bool { constant StateActive (line 37) | StateActive State = 0 constant StateReadyToClose (line 38) | StateReadyToClose State = 1 constant StatePeerClosed (line 39) | StatePeerClosed State = 2 constant StateTerminating (line 40) | StateTerminating State = 3 constant StatePeerTerminating (line 41) | StatePeerTerminating State = 4 constant StateTerminated (line 42) | StateTerminated State = 5 function nowMillisec (line 45) | func nowMillisec() int64 { type RoundTripInfo (line 50) | type RoundTripInfo struct method UpdatePeerRTO (line 59) | func (info *RoundTripInfo) UpdatePeerRTO(rto uint32, current uint32) { method Update (line 71) | func (info *RoundTripInfo) Update(rtt uint32, current uint32) { method Timeout (line 107) | func (info *RoundTripInfo) Timeout() uint32 { method SmoothedTime (line 114) | func (info *RoundTripInfo) SmoothedTime() uint32 { type Updater (line 121) | type Updater struct method WakeUp (line 140) | func (u *Updater) WakeUp() { method run (line 148) | func (u *Updater) run() { method Interval (line 162) | func (u *Updater) Interval() time.Duration { method SetInterval (line 166) | func (u *Updater) SetInterval(d time.Duration) { function NewUpdater (line 129) | func NewUpdater(interval uint32, shouldContinue func() bool, shouldTermi... type ConnMetadata (line 170) | type ConnMetadata struct type Connection (line 177) | type Connection struct method Elapsed (line 249) | func (c *Connection) Elapsed() uint32 { method ReadMultiBuffer (line 254) | func (c *Connection) ReadMultiBuffer() (buf.MultiBuffer, error) { method waitForDataInput (line 279) | func (c *Connection) waitForDataInput() error { method Read (line 312) | func (c *Connection) Read(b []byte) (int, error) { method waitForDataOutput (line 333) | func (c *Connection) waitForDataOutput() error { method Write (line 366) | func (c *Connection) Write(b []byte) (int, error) { method WriteMultiBuffer (line 375) | func (c *Connection) WriteMultiBuffer(mb buf.MultiBuffer) error { method writeMultiBufferInternal (line 384) | func (c *Connection) writeMultiBufferInternal(reader io.Reader) error { method SetState (line 429) | func (c *Connection) SetState(state State) { method Close (line 458) | func (c *Connection) Close() error { method LocalAddr (line 483) | func (c *Connection) LocalAddr() net.Addr { method RemoteAddr (line 491) | func (c *Connection) RemoteAddr() net.Addr { method SetDeadline (line 499) | func (c *Connection) SetDeadline(t time.Time) error { method SetReadDeadline (line 507) | func (c *Connection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 516) | func (c *Connection) SetWriteDeadline(t time.Time) error { method updateTask (line 525) | func (c *Connection) updateTask() { method Terminate (line 529) | func (c *Connection) Terminate() { method HandleOption (line 545) | func (c *Connection) HandleOption(opt SegmentOption) { method OnPeerClosed (line 551) | func (c *Connection) OnPeerClosed() { method Input (line 561) | func (c *Connection) Input(segments []Segment) { method flush (line 608) | func (c *Connection) flush() { method State (line 647) | func (c *Connection) State() State { method Ping (line 651) | func (c *Connection) Ping(current uint32, cmd Command) { function NewConnection (line 205) | func NewConnection(meta ConnMetadata, writer PacketWriter, closer io.Clo... FILE: transport/internet/kcp/connection_test.go type NoOpCloser (line 12) | type NoOpCloser method Close (line 14) | func (NoOpCloser) Close() error { function TestConnectionReadTimeout (line 18) | func TestConnectionReadTimeout(t *testing.T) { function TestConnectionInterface (line 33) | func TestConnectionInterface(t *testing.T) { FILE: transport/internet/kcp/crypt.go type SimpleAuthenticator (line 12) | type SimpleAuthenticator struct method NonceSize (line 20) | func (*SimpleAuthenticator) NonceSize() int { method Overhead (line 25) | func (*SimpleAuthenticator) Overhead() int { method Seal (line 30) | func (a *SimpleAuthenticator) Seal(dst, nonce, plain, extra []byte) []... method Open (line 52) | func (a *SimpleAuthenticator) Open(dst, nonce, cipherText, extra []byt... function NewSimpleAuthenticator (line 15) | func NewSimpleAuthenticator() cipher.AEAD { FILE: transport/internet/kcp/crypt_test.go function TestSimpleAuthenticator (line 12) | func TestSimpleAuthenticator(t *testing.T) { function TestSimpleAuthenticator2 (line 26) | func TestSimpleAuthenticator2(t *testing.T) { FILE: transport/internet/kcp/cryptreal.go function NewAEADAESGCMBasedOnSeed (line 11) | func NewAEADAESGCMBasedOnSeed(seed string) cipher.AEAD { FILE: transport/internet/kcp/dialer.go function fetchInput (line 20) | func fetchInput(_ context.Context, input io.Reader, reader PacketReader,... function DialKCP (line 48) | func DialKCP(ctx context.Context, dest net.Destination, streamSettings *... function init (line 98) | func init() { FILE: transport/internet/kcp/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/kcp/io.go type PacketReader (line 13) | type PacketReader interface type PacketWriter (line 17) | type PacketWriter interface type KCPPacketReader (line 22) | type KCPPacketReader struct method Read (line 27) | func (r *KCPPacketReader) Read(b []byte) []Segment { type KCPPacketWriter (line 58) | type KCPPacketWriter struct method Overhead (line 64) | func (w *KCPPacketWriter) Overhead() int { method Write (line 75) | func (w *KCPPacketWriter) Write(b []byte) (int, error) { FILE: transport/internet/kcp/io_test.go function TestKCPPacketReader (line 9) | func TestKCPPacketReader(t *testing.T) { FILE: transport/internet/kcp/kcp_test.go function TestDialAndListen (line 28) | func TestDialAndListen(t *testing.T) { FILE: transport/internet/kcp/listener.go type ConnectionID (line 17) | type ConnectionID struct type Listener (line 24) | type Listener struct method handlePackets (line 76) | func (l *Listener) handlePackets() { method OnReceive (line 83) | func (l *Listener) OnReceive(payload *buf.Buffer, src net.Destination) { method Remove (line 141) | func (l *Listener) Remove(id ConnectionID) { method Close (line 148) | func (l *Listener) Close() error { method ActiveConnections (line 161) | func (l *Listener) ActiveConnections() int { method Addr (line 169) | func (l *Listener) Addr() net.Addr { function NewListener (line 36) | func NewListener(ctx context.Context, address net.Address, port net.Port... type Writer (line 173) | type Writer struct method Write (line 180) | func (w *Writer) Write(payload []byte) (int, error) { method Close (line 184) | func (w *Writer) Close() error { function ListenKCP (line 189) | func ListenKCP(ctx context.Context, address net.Address, port net.Port, ... function init (line 193) | func init() { FILE: transport/internet/kcp/output.go type SegmentWriter (line 11) | type SegmentWriter interface type SimpleSegmentWriter (line 16) | type SimpleSegmentWriter struct method Write (line 30) | func (w *SimpleSegmentWriter) Write(seg Segment) error { method Release (line 44) | func (w *SimpleSegmentWriter) Release() { function NewSegmentWriter (line 23) | func NewSegmentWriter(writer io.Writer) SegmentWriter { type RetryableWriter (line 51) | type RetryableWriter struct method Write (line 61) | func (w *RetryableWriter) Write(seg Segment) error { method Release (line 67) | func (w *RetryableWriter) Release() { function NewRetryableWriter (line 55) | func NewRetryableWriter(writer SegmentWriter) SegmentWriter { FILE: transport/internet/kcp/receiving.go type ReceivingWindow (line 9) | type ReceivingWindow struct method Set (line 19) | func (w *ReceivingWindow) Set(id uint32, value *DataSegment) bool { method Has (line 28) | func (w *ReceivingWindow) Has(id uint32) bool { method Remove (line 33) | func (w *ReceivingWindow) Remove(id uint32) *DataSegment { function NewReceivingWindow (line 13) | func NewReceivingWindow() *ReceivingWindow { type AckList (line 42) | type AckList struct method Add (line 62) | func (l *AckList) Add(number uint32, timestamp uint32) { method Clear (line 69) | func (l *AckList) Clear(una uint32) { method Flush (line 90) | func (l *AckList) Flush(current uint32, rto uint32) { function NewAckList (line 52) | func NewAckList(writer SegmentWriter) *AckList { type ReceivingWorker (line 131) | type ReceivingWorker struct method Release (line 151) | func (w *ReceivingWorker) Release() { method ProcessSendingNext (line 158) | func (w *ReceivingWorker) ProcessSendingNext(number uint32) { method ProcessSegment (line 165) | func (w *ReceivingWorker) ProcessSegment(seg *DataSegment) { method ReadMultiBuffer (line 182) | func (w *ReceivingWorker) ReadMultiBuffer() buf.MultiBuffer { method Read (line 206) | func (w *ReceivingWorker) Read(b []byte) int { method IsDataAvailable (line 218) | func (w *ReceivingWorker) IsDataAvailable() bool { method NextNumber (line 224) | func (w *ReceivingWorker) NextNumber() uint32 { method Flush (line 231) | func (w *ReceivingWorker) Flush(current uint32) { method Write (line 238) | func (w *ReceivingWorker) Write(seg Segment) error { method CloseRead (line 250) | func (*ReceivingWorker) CloseRead() { method UpdateNecessary (line 253) | func (w *ReceivingWorker) UpdateNecessary() bool { function NewReceivingWorker (line 141) | func NewReceivingWorker(kcp *Connection) *ReceivingWorker { FILE: transport/internet/kcp/segment.go type Command (line 10) | type Command constant CommandACK (line 14) | CommandACK Command = 0 constant CommandData (line 16) | CommandData Command = 1 constant CommandTerminate (line 18) | CommandTerminate Command = 2 constant CommandPing (line 20) | CommandPing Command = 3 type SegmentOption (line 23) | type SegmentOption constant SegmentOptionClose (line 26) | SegmentOptionClose SegmentOption = 1 type Segment (line 29) | type Segment interface constant DataSegmentOverhead (line 39) | DataSegmentOverhead = 18 type DataSegment (line 42) | type DataSegment struct method parse (line 58) | func (s *DataSegment) parse(conv uint16, cmd Command, opt SegmentOptio... method Conversation (line 86) | func (s *DataSegment) Conversation() uint16 { method Command (line 90) | func (*DataSegment) Command() Command { method Detach (line 94) | func (s *DataSegment) Detach() *buf.Buffer { method Data (line 100) | func (s *DataSegment) Data() *buf.Buffer { method Serialize (line 107) | func (s *DataSegment) Serialize(b []byte) { method ByteSize (line 118) | func (s *DataSegment) ByteSize() int32 { method Release (line 122) | func (s *DataSegment) Release() { function NewDataSegment (line 54) | func NewDataSegment() *DataSegment { type AckSegment (line 127) | type AckSegment struct method parse (line 142) | func (s *AckSegment) parse(conv uint16, cmd Command, opt SegmentOption... method Conversation (line 172) | func (s *AckSegment) Conversation() uint16 { method Command (line 176) | func (*AckSegment) Command() Command { method PutTimestamp (line 180) | func (s *AckSegment) PutTimestamp(timestamp uint32) { method PutNumber (line 186) | func (s *AckSegment) PutNumber(number uint32) { method IsFull (line 190) | func (s *AckSegment) IsFull() bool { method IsEmpty (line 194) | func (s *AckSegment) IsEmpty() bool { method ByteSize (line 198) | func (s *AckSegment) ByteSize() int32 { method Serialize (line 202) | func (s *AckSegment) Serialize(b []byte) { method Release (line 217) | func (s *AckSegment) Release() {} constant ackNumberLimit (line 136) | ackNumberLimit = 128 function NewAckSegment (line 138) | func NewAckSegment() *AckSegment { type CmdOnlySegment (line 219) | type CmdOnlySegment struct method parse (line 232) | func (s *CmdOnlySegment) parse(conv uint16, cmd Command, opt SegmentOp... method Conversation (line 253) | func (s *CmdOnlySegment) Conversation() uint16 { method Command (line 257) | func (s *CmdOnlySegment) Command() Command { method ByteSize (line 261) | func (*CmdOnlySegment) ByteSize() int32 { method Serialize (line 265) | func (s *CmdOnlySegment) Serialize(b []byte) { method Release (line 274) | func (*CmdOnlySegment) Release() {} function NewCmdOnlySegment (line 228) | func NewCmdOnlySegment() *CmdOnlySegment { function ReadSegment (line 276) | func ReadSegment(buf []byte) (Segment, []byte) { FILE: transport/internet/kcp/segment_test.go function TestBadSegment (line 12) | func TestBadSegment(t *testing.T) { function TestDataSegment (line 22) | func TestDataSegment(t *testing.T) { function Test1ByteDataSegment (line 45) | func Test1ByteDataSegment(t *testing.T) { function TestACKSegment (line 68) | func TestACKSegment(t *testing.T) { function TestCmdSegment (line 88) | func TestCmdSegment(t *testing.T) { FILE: transport/internet/kcp/sending.go type SendingWindow (line 10) | type SendingWindow struct method Release (line 26) | func (sw *SendingWindow) Release() { method Len (line 37) | func (sw *SendingWindow) Len() uint32 { method IsEmpty (line 41) | func (sw *SendingWindow) IsEmpty() bool { method Push (line 45) | func (sw *SendingWindow) Push(number uint32, b *buf.Buffer) { method FirstNumber (line 53) | func (sw *SendingWindow) FirstNumber() uint32 { method Clear (line 57) | func (sw *SendingWindow) Clear(una uint32) { method HandleFastAck (line 68) | func (sw *SendingWindow) HandleFastAck(number uint32, rto uint32) { method Visit (line 85) | func (sw *SendingWindow) Visit(visitor func(seg *DataSegment) bool) { method Flush (line 98) | func (sw *SendingWindow) Flush(current uint32, rto uint32, maxInFlight... method Remove (line 131) | func (sw *SendingWindow) Remove(number uint32) bool { function NewSendingWindow (line 17) | func NewSendingWindow(writer SegmentWriter, onPacketLoss func(uint32)) *... type SendingWorker (line 153) | type SendingWorker struct method Release (line 179) | func (w *SendingWorker) Release() { method ProcessReceivingNext (line 186) | func (w *SendingWorker) ProcessReceivingNext(nextNumber uint32) { method ProcessReceivingNextWithoutLock (line 193) | func (w *SendingWorker) ProcessReceivingNextWithoutLock(nextNumber uin... method FindFirstUnacknowledged (line 198) | func (w *SendingWorker) FindFirstUnacknowledged() { method processAck (line 210) | func (w *SendingWorker) processAck(number uint32) bool { method ProcessSegment (line 223) | func (w *SendingWorker) ProcessSegment(current uint32, seg *AckSegment... method Push (line 260) | func (w *SendingWorker) Push(b *buf.Buffer) bool { method Write (line 277) | func (w *SendingWorker) Write(seg Segment) error { method OnPacketLoss (line 290) | func (w *SendingWorker) OnPacketLoss(lossRate uint32) { method Flush (line 308) | func (w *SendingWorker) Flush(current uint32) { method CloseWrite (line 341) | func (w *SendingWorker) CloseWrite() { method IsEmpty (line 348) | func (w *SendingWorker) IsEmpty() bool { method UpdateNecessary (line 355) | func (w *SendingWorker) UpdateNecessary() bool { method FirstUnacknowledged (line 359) | func (w *SendingWorker) FirstUnacknowledged() uint32 { function NewSendingWorker (line 167) | func NewSendingWorker(kcp *Connection) *SendingWorker { FILE: transport/internet/kcp/xor.go function xorfwd (line 7) | func xorfwd(x []byte) { function xorbkd (line 14) | func xorbkd(x []byte) { FILE: transport/internet/kcp/xor_amd64.go function xorfwd (line 4) | func xorfwd(x []byte) function xorbkd (line 7) | func xorbkd(x []byte) FILE: transport/internet/memory_settings.go type MemoryStreamConfig (line 4) | type MemoryStreamConfig struct function ToMemoryStreamConfig (line 13) | func ToMemoryStreamConfig(s *StreamConfig) (*MemoryStreamConfig, error) { FILE: transport/internet/quic/config.go function getAuth (line 16) | func getAuth(config *Config) (cipher.AEAD, error) { function getHeader (line 38) | func getHeader(config *Config) (internet.PacketHeader, error) { FILE: transport/internet/quic/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 21) | type Config struct method Reset (line 30) | func (x *Config) Reset() { method String (line 37) | func (x *Config) String() string { method ProtoMessage (line 41) | func (*Config) ProtoMessage() {} method ProtoReflect (line 43) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*Config) Descriptor() ([]byte, []int) { method GetKey (line 60) | func (x *Config) GetKey() string { method GetSecurity (line 67) | func (x *Config) GetSecurity() *protocol.SecurityConfig { method GetHeader (line 74) | func (x *Config) GetHeader() *anypb.Any { constant file_transport_internet_quic_config_proto_rawDesc (line 83) | file_transport_internet_quic_config_proto_rawDesc = "" + function file_transport_internet_quic_config_proto_rawDescGZIP (line 98) | func file_transport_internet_quic_config_proto_rawDescGZIP() []byte { function init (line 121) | func init() { file_transport_internet_quic_config_proto_init() } function file_transport_internet_quic_config_proto_init (line 122) | func file_transport_internet_quic_config_proto_init() { FILE: transport/internet/quic/conn.go type sysConn (line 18) | type sysConn struct method readFromInternal (line 42) | func (c *sysConn) readFromInternal(p []byte) (int, net.Addr, error) { method ReadFrom (line 79) | func (c *sysConn) ReadFrom(p []byte) (int, net.Addr, error) { method WriteTo (line 95) | func (c *sysConn) WriteTo(p []byte, addr net.Addr) (int, error) { method Close (line 124) | func (c *sysConn) Close() error { method LocalAddr (line 128) | func (c *sysConn) LocalAddr() net.Addr { method SetReadBuffer (line 132) | func (c *sysConn) SetReadBuffer(bytes int) error { method SetWriteBuffer (line 136) | func (c *sysConn) SetWriteBuffer(bytes int) error { method SetDeadline (line 140) | func (c *sysConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 144) | func (c *sysConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 148) | func (c *sysConn) SetWriteDeadline(t time.Time) error { method SyscallConn (line 152) | func (c *sysConn) SyscallConn() (syscall.RawConn, error) { function wrapSysConn (line 24) | func wrapSysConn(rawConn *net.UDPConn, config *Config) (*sysConn, error) { type interConn (line 156) | type interConn struct method Read (line 162) | func (c *interConn) Read(b []byte) (int, error) { method WriteMultiBuffer (line 166) | func (c *interConn) WriteMultiBuffer(mb buf.MultiBuffer) error { method Write (line 173) | func (c *interConn) Write(b []byte) (int, error) { method Close (line 177) | func (c *interConn) Close() error { method LocalAddr (line 181) | func (c *interConn) LocalAddr() net.Addr { method RemoteAddr (line 185) | func (c *interConn) RemoteAddr() net.Addr { method SetDeadline (line 189) | func (c *interConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 193) | func (c *interConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 197) | func (c *interConn) SetWriteDeadline(t time.Time) error { FILE: transport/internet/quic/dialer.go type connectionContext (line 17) | type connectionContext struct method openStream (line 24) | func (c *connectionContext) openStream(destAddr net.Addr) (*interConn,... type clientConnections (line 43) | type clientConnections struct method cleanConnections (line 97) | func (s *clientConnections) cleanConnections() error { method openConnection (line 118) | func (s *clientConnections) openConnection(destAddr net.Addr, config *... function isActive (line 49) | func isActive(s *quic.Conn) bool { function removeInactiveConnections (line 58) | func removeInactiveConnections(conns []*connectionContext) []*connection... function openStream (line 80) | func openStream(conns []*connectionContext, destAddr net.Addr) *interConn { function init (line 185) | func init() { function Dial (line 194) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 222) | func init() { FILE: transport/internet/quic/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/quic/hub.go type Listener (line 18) | type Listener struct method acceptStreams (line 25) | func (l *Listener) acceptStreams(conn *quic.Conn) { method keepAccepting (line 54) | func (l *Listener) keepAccepting() { method Addr (line 70) | func (l *Listener) Addr() net.Addr { method Close (line 75) | func (l *Listener) Close() error { function Listen (line 83) | func Listen(ctx context.Context, address net.Address, port net.Port, str... function init (line 141) | func init() { FILE: transport/internet/quic/pool.go function init (line 11) | func init() { function getBuffer (line 15) | func getBuffer() []byte { function putBuffer (line 19) | func putBuffer(p []byte) { FILE: transport/internet/quic/quic.go constant protocolName (line 17) | protocolName = "quic" constant internalDomain (line 18) | internalDomain = "quic.internal.v2fly.org" function init (line 21) | func init() { FILE: transport/internet/quic/quic_test.go function TestQuicConnection (line 24) | func TestQuicConnection(t *testing.T) { function TestQuicConnectionWithoutTLS (line 97) | func TestQuicConnectionWithoutTLS(t *testing.T) { function TestQuicConnectionAuthHeader (line 155) | func TestQuicConnectionAuthHeader(t *testing.T) { FILE: transport/internet/request/assembler.go type SessionAssemblerClient (line 7) | type SessionAssemblerClient interface type SessionAssemblerServer (line 11) | type SessionAssemblerServer interface type SessionOption (line 16) | type SessionOption interface type Session (line 20) | type Session interface FILE: transport/internet/request/assembler/packetconn/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/assembler/packetconn/packetConn.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ClientConfig (line 20) | type ClientConfig struct method Reset (line 31) | func (x *ClientConfig) Reset() { method String (line 38) | func (x *ClientConfig) String() string { method ProtoMessage (line 42) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 44) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetUnderlyingTransportSetting (line 61) | func (x *ClientConfig) GetUnderlyingTransportSetting() *anypb.Any { method GetUnderlyingTransportName (line 68) | func (x *ClientConfig) GetUnderlyingTransportName() string { method GetMaxWriteDelay (line 75) | func (x *ClientConfig) GetMaxWriteDelay() int32 { method GetMaxRequestSize (line 82) | func (x *ClientConfig) GetMaxRequestSize() int32 { method GetPollingIntervalInitial (line 89) | func (x *ClientConfig) GetPollingIntervalInitial() int32 { type ServerConfig (line 96) | type ServerConfig struct method Reset (line 108) | func (x *ServerConfig) Reset() { method String (line 115) | func (x *ServerConfig) String() string { method ProtoMessage (line 119) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetUnderlyingTransportSetting (line 138) | func (x *ServerConfig) GetUnderlyingTransportSetting() *anypb.Any { method GetUnderlyingTransportName (line 145) | func (x *ServerConfig) GetUnderlyingTransportName() string { method GetMaxWriteSize (line 152) | func (x *ServerConfig) GetMaxWriteSize() int32 { method GetMaxWriteDurationMs (line 159) | func (x *ServerConfig) GetMaxWriteDurationMs() int32 { method GetMaxSimultaneousWriteConnection (line 166) | func (x *ServerConfig) GetMaxSimultaneousWriteConnection() int32 { method GetPacketWritingBuffer (line 173) | func (x *ServerConfig) GetPacketWritingBuffer() int32 { constant file_transport_internet_request_assembler_packetconn_packetConn_proto_rawDesc (line 182) | file_transport_internet_request_assembler_packetconn_packetConn_proto_ra... function file_transport_internet_request_assembler_packetconn_packetConn_proto_rawDescGZIP (line 209) | func file_transport_internet_request_assembler_packetconn_packetConn_pro... function init (line 232) | func init() { file_transport_internet_request_assembler_packetconn_packe... function file_transport_internet_request_assembler_packetconn_packetConn_proto_init (line 233) | func file_transport_internet_request_assembler_packetconn_packetConn_pro... FILE: transport/internet/request/assembler/packetconn/packetbundle.go function NewPacketBundle (line 8) | func NewPacketBundle() PacketBundle { type packetBundle (line 12) | type packetBundle struct method Overhead (line 14) | func (p *packetBundle) Overhead() int { method WriteToBundle (line 18) | func (p *packetBundle) WriteToBundle(b []byte, writer io.Writer) (err ... method ReadFromBundle (line 27) | func (p *packetBundle) ReadFromBundle(writer io.Reader) (b []byte, err... type PacketBundle (line 44) | type PacketBundle interface FILE: transport/internet/request/assembler/packetconn/req2packet.go function newRequestToPacketConnClient (line 16) | func newRequestToPacketConnClient(ctx context.Context, config *ClientCon... type requestToPacketConnClient (line 20) | type requestToPacketConnClient struct method OnTransportClientAssemblyReady (line 26) | func (r *requestToPacketConnClient) OnTransportClientAssemblyReady(ass... method Dial (line 30) | func (r *requestToPacketConnClient) Dial() (io.ReadWriteCloser, error) { type requestToPacketConnClientSession (line 53) | type requestToPacketConnClientSession struct method keepRunning (line 68) | func (r *requestToPacketConnClientSession) keepRunning() { method runOnce (line 74) | func (r *requestToPacketConnClientSession) runOnce() { method Write (line 152) | func (r *requestToPacketConnClientSession) Write(p []byte) (n int, err... method Read (line 163) | func (r *requestToPacketConnClientSession) Read(p []byte) (n int, err ... method Close (line 173) | func (r *requestToPacketConnClientSession) Close() error { type pipedStreamingRespOption (line 141) | type pipedStreamingRespOption struct method RoundTripperOption (line 145) | func (p *pipedStreamingRespOption) RoundTripperOption() { method GetResponseWriter (line 148) | func (p *pipedStreamingRespOption) GetResponseWriter() io.Writer { function newRequestToPacketConnServer (line 178) | func newRequestToPacketConnServer(ctx context.Context, config *ServerCon... type requestToPacketConnServer (line 186) | type requestToPacketConnServer struct method onSessionReceiverReady (line 195) | func (r *requestToPacketConnServer) onSessionReceiverReady(sessrecv re... method OnRoundTrip (line 199) | func (r *requestToPacketConnServer) OnRoundTrip(ctx context.Context, r... method removeSessionID (line 241) | func (r *requestToPacketConnServer) removeSessionID(sessionID []byte) { type requestToPacketConnServerSession (line 245) | type requestToPacketConnServerSession struct method Read (line 261) | func (r *requestToPacketConnServerSession) Read(p []byte) (n int, err ... method Write (line 287) | func (r *requestToPacketConnServerSession) Write(p []byte) (n int, err... method Close (line 302) | func (r *requestToPacketConnServerSession) Close() error { method OnRoundTrip (line 314) | func (r *requestToPacketConnServerSession) OnRoundTrip(ctx context.Con... type writingConnection (line 308) | type writingConnection struct FILE: transport/internet/request/assembler/packetconn/udpassembler.go type wrappedTransportEnvironment (line 13) | type wrappedTransportEnvironment struct method Listen (line 19) | func (w *wrappedTransportEnvironment) Listen(ctx context.Context, addr... method ListenPacket (line 23) | func (w *wrappedTransportEnvironment) ListenPacket(ctx context.Context... method Dial (line 29) | func (w *wrappedTransportEnvironment) Dial(ctx context.Context, source... method Dialer (line 37) | func (w *wrappedTransportEnvironment) Dialer() internet.SystemDialer { method Listener (line 41) | func (w *wrappedTransportEnvironment) Listener() internet.SystemListen... function newUDPAssemblerServerFromConfig (line 45) | func newUDPAssemblerServerFromConfig(ctx context.Context, config *Server... function newUDPAssemblerClientFromConfig (line 54) | func newUDPAssemblerClientFromConfig(ctx context.Context, config *Client... function init (line 63) | func init() { FILE: transport/internet/request/assembler/packetconn/udpassemblerClient.go type udpAssemblerClient (line 18) | type udpAssemblerClient struct method NewSession (line 25) | func (u *udpAssemblerClient) NewSession(ctx context.Context, opts ...r... method OnTransportClientAssemblyReady (line 29) | func (u *udpAssemblerClient) OnTransportClientAssemblyReady(assembly r... method dial (line 78) | func (u *udpAssemblerClient) dial(dest net.Destination) (internet.Conn... function newWrappedConn (line 34) | func newWrappedConn(in io.ReadWriteCloser) net.Conn { type wrappedConn (line 38) | type wrappedConn struct method LocalAddr (line 42) | func (w wrappedConn) LocalAddr() gonet.Addr { method RemoteAddr (line 46) | func (w wrappedConn) RemoteAddr() gonet.Addr { method SetDeadline (line 50) | func (w wrappedConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 54) | func (w wrappedConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 58) | func (w wrappedConn) SetWriteDeadline(t time.Time) error { function newWrappedPacketConn (line 62) | func newWrappedPacketConn(ctx context.Context) *wrappedPacketConn { function newUDPAssemblerClient (line 70) | func newUDPAssemblerClient(ctx context.Context, config *ClientConfig, st... FILE: transport/internet/request/assembler/packetconn/udpassemblerServer.go type packet (line 19) | type packet struct type wrappedPacketConn (line 24) | type wrappedPacketConn struct method ReadFrom (line 34) | func (w *wrappedPacketConn) ReadFrom(p []byte) (n int, addr net.Addr, ... method WriteTo (line 47) | func (w *wrappedPacketConn) WriteTo(p []byte, addr net.Addr) (n int, e... method Close (line 54) | func (w *wrappedPacketConn) Close() error { method LocalAddr (line 59) | func (w *wrappedPacketConn) LocalAddr() net.Addr { method SetDeadline (line 63) | func (w *wrappedPacketConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 67) | func (w *wrappedPacketConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 71) | func (w *wrappedPacketConn) SetWriteDeadline(t time.Time) error { method OnNewSession (line 75) | func (w wrappedPacketConn) OnNewSession(ctx context.Context, sess requ... function newServerSession (line 89) | func newServerSession(ctx context.Context, sess request.Session, name st... type serverSession (line 94) | type serverSession struct method start (line 100) | func (s *serverSession) start() { method Write (line 118) | func (s *serverSession) Write(p []byte) (int, error) { type udpAssemblerServer (line 122) | type udpAssemblerServer struct method Start (line 130) | func (u *udpAssemblerServer) Start() error { method Close (line 139) | func (u *udpAssemblerServer) Close() error { method OnRoundTrip (line 143) | func (u *udpAssemblerServer) OnRoundTrip(ctx context.Context, req requ... method OnTransportServerAssemblyReady (line 147) | func (u *udpAssemblerServer) OnTransportServerAssemblyReady(assembly r... method listen (line 159) | func (u *udpAssemblerServer) listen(address net2.Address, port net2.Po... function newUDPAssemblerServer (line 151) | func newUDPAssemblerServer(ctx context.Context, config *ServerConfig, st... FILE: transport/internet/request/assembler/simple/client.go function newClient (line 15) | func newClient(config *ClientConfig) request.SessionAssemblerClient { type simpleAssemblerClient (line 19) | type simpleAssemblerClient struct method OnTransportClientAssemblyReady (line 24) | func (s *simpleAssemblerClient) OnTransportClientAssemblyReady(assembl... method NewSession (line 28) | func (s *simpleAssemblerClient) NewSession(ctx context.Context, opts .... type simpleAssemblerClientSession (line 43) | type simpleAssemblerClientSession struct method keepRunning (line 56) | func (s *simpleAssemblerClientSession) keepRunning() { method runOnce (line 63) | func (s *simpleAssemblerClientSession) runOnce() { method Read (line 133) | func (s *simpleAssemblerClientSession) Read(p []byte) (n int, err erro... method Write (line 150) | func (s *simpleAssemblerClientSession) Write(p []byte) (n int, err err... method Close (line 161) | func (s *simpleAssemblerClientSession) Close() error { function init (line 166) | func init() { FILE: transport/internet/request/assembler/simple/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ClientConfig (line 19) | type ClientConfig struct method Reset (line 32) | func (x *ClientConfig) Reset() { method String (line 39) | func (x *ClientConfig) String() string { method ProtoMessage (line 43) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 45) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 58) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetMaxWriteSize (line 62) | func (x *ClientConfig) GetMaxWriteSize() int32 { method GetWaitSubsequentWriteMs (line 69) | func (x *ClientConfig) GetWaitSubsequentWriteMs() int32 { method GetInitialPollingIntervalMs (line 76) | func (x *ClientConfig) GetInitialPollingIntervalMs() int32 { method GetMaxPollingIntervalMs (line 83) | func (x *ClientConfig) GetMaxPollingIntervalMs() int32 { method GetMinPollingIntervalMs (line 90) | func (x *ClientConfig) GetMinPollingIntervalMs() int32 { method GetBackoffFactor (line 97) | func (x *ClientConfig) GetBackoffFactor() float32 { method GetFailedRetryIntervalMs (line 104) | func (x *ClientConfig) GetFailedRetryIntervalMs() int32 { type ServerConfig (line 111) | type ServerConfig struct method Reset (line 118) | func (x *ServerConfig) Reset() { method String (line 125) | func (x *ServerConfig) String() string { method ProtoMessage (line 129) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 131) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetMaxWriteSize (line 148) | func (x *ServerConfig) GetMaxWriteSize() int32 { constant file_transport_internet_request_assembler_simple_config_proto_rawDesc (line 157) | file_transport_internet_request_assembler_simple_config_proto_rawDesc = ... function file_transport_internet_request_assembler_simple_config_proto_rawDescGZIP (line 179) | func file_transport_internet_request_assembler_simple_config_proto_rawDe... function init (line 199) | func init() { file_transport_internet_request_assembler_simple_config_pr... function file_transport_internet_request_assembler_simple_config_proto_init (line 200) | func file_transport_internet_request_assembler_simple_config_proto_init() { FILE: transport/internet/request/assembler/simple/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/assembler/simple/server.go function newServer (line 13) | func newServer(config *ServerConfig) request.SessionAssemblerServer { type simpleAssemblerServer (line 17) | type simpleAssemblerServer struct method OnTransportServerAssemblyReady (line 22) | func (s *simpleAssemblerServer) OnTransportServerAssemblyReady(assembl... method OnRoundTrip (line 26) | func (s *simpleAssemblerServer) OnRoundTrip(ctx context.Context, req r... function newSimpleAssemblerServerSession (line 41) | func newSimpleAssemblerServerSession(ctx context.Context) *simpleAssembl... type simpleAssemblerServerSession (line 55) | type simpleAssemblerServerSession struct method Read (line 69) | func (s *simpleAssemblerServerSession) Read(p []byte) (n int, err erro... method Write (line 81) | func (s *simpleAssemblerServerSession) Write(p []byte) (n int, err err... method Close (line 100) | func (s *simpleAssemblerServerSession) Close() error { method OnRoundTrip (line 105) | func (s *simpleAssemblerServerSession) OnRoundTrip(ctx context.Context... function init (line 129) | func init() { FILE: transport/internet/request/assembly/assembly.go constant protocolName (line 11) | protocolName = "request" function init (line 13) | func init() { FILE: transport/internet/request/assembly/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetAssembler (line 58) | func (x *Config) GetAssembler() *anypb.Any { method GetRoundtripper (line 65) | func (x *Config) GetRoundtripper() *anypb.Any { constant file_transport_internet_request_assembly_config_proto_rawDesc (line 74) | file_transport_internet_request_assembly_config_proto_rawDesc = "" + function file_transport_internet_request_assembly_config_proto_rawDescGZIP (line 88) | func file_transport_internet_request_assembly_config_proto_rawDescGZIP()... function init (line 110) | func init() { file_transport_internet_request_assembly_config_proto_init... function file_transport_internet_request_assembly_config_proto_init (line 111) | func file_transport_internet_request_assembly_config_proto_init() { FILE: transport/internet/request/assembly/dialer.go type client (line 18) | type client struct method Dial (line 26) | func (c client) Dial(ctx context.Context) (net.Conn, error) { method AutoImplDialer (line 30) | func (c client) AutoImplDialer() request.Dialer { method Tripper (line 34) | func (c client) Tripper() request.Tripper { method dialRequestSession (line 38) | func (c client) dialRequestSession(ctx context.Context) (net.Conn, err... type clientConnection (line 46) | type clientConnection struct method LocalAddr (line 50) | func (c clientConnection) LocalAddr() gonet.Addr { method RemoteAddr (line 54) | func (c clientConnection) RemoteAddr() gonet.Addr { method SetDeadline (line 58) | func (c clientConnection) SetDeadline(t time.Time) error { method SetReadDeadline (line 63) | func (c clientConnection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 68) | func (c clientConnection) SetWriteDeadline(t time.Time) error { function dialRequest (line 73) | func dialRequest(ctx context.Context, dest net.Destination, streamSettin... function dial (line 113) | func dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 123) | func init() { FILE: transport/internet/request/assembly/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/assembly/hub.go type server (line 17) | type server struct method Listen (line 27) | func (s server) Listen(ctx context.Context) (net.Listener, error) { method AutoImplListener (line 31) | func (s server) AutoImplListener() request.Listener { method Close (line 35) | func (s server) Close() error { method Addr (line 47) | func (s server) Addr() net.Addr { method OnNewSession (line 79) | func (s server) OnNewSession(ctx context.Context, sess request.Session... method SessionReceiver (line 84) | func (s server) SessionReceiver() request.SessionReceiver { method TripperReceiver (line 88) | func (s server) TripperReceiver() request.TripperReceiver { type serverConnection (line 52) | type serverConnection struct method LocalAddr (line 56) | func (s serverConnection) LocalAddr() gonet.Addr { method RemoteAddr (line 60) | func (s serverConnection) RemoteAddr() gonet.Addr { method SetDeadline (line 64) | func (s serverConnection) SetDeadline(t time.Time) error { method SetReadDeadline (line 69) | func (s serverConnection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 74) | func (s serverConnection) SetWriteDeadline(t time.Time) error { function listenRequest (line 92) | func listenRequest(ctx context.Context, address net.Address, port net.Po... function init (line 144) | func init() { FILE: transport/internet/request/request.go type TransportClientAssembly (line 9) | type TransportClientAssembly interface type TransportClientAssemblyReceiver (line 14) | type TransportClientAssemblyReceiver interface type TransportServerAssembly (line 18) | type TransportServerAssembly interface type TransportServerAssemblyReceiver (line 24) | type TransportServerAssemblyReceiver interface type SessionCreator (line 28) | type SessionCreator interface type SessionReceiver (line 32) | type SessionReceiver interface type Dialer (line 36) | type Dialer interface type Listener (line 40) | type Listener interface FILE: transport/internet/request/reverser.go type ReverserImpl (line 5) | type ReverserImpl interface type ReverserAccessChecker (line 10) | type ReverserAccessChecker interface FILE: transport/internet/request/roundtripper.go type RoundTripperClient (line 10) | type RoundTripperClient interface type RoundTripperServer (line 15) | type RoundTripperServer interface type Tripper (line 20) | type Tripper interface type TripperReceiver (line 24) | type TripperReceiver interface type RoundTripperOption (line 28) | type RoundTripperOption interface type Request (line 32) | type Request struct type Response (line 37) | type Response struct type OptionSupportsStreamingResponse (line 41) | type OptionSupportsStreamingResponse interface type OptionSupportsStreamingResponseExtensionFlusher (line 46) | type OptionSupportsStreamingResponseExtensionFlusher interface FILE: transport/internet/request/roundtripper/httprt/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ClientConfig (line 19) | type ClientConfig struct method Reset (line 28) | func (x *ClientConfig) Reset() { method String (line 35) | func (x *ClientConfig) String() string { method ProtoMessage (line 39) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 41) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetHttp (line 58) | func (x *ClientConfig) GetHttp() *HTTPConfig { method GetAllowHttp (line 65) | func (x *ClientConfig) GetAllowHttp() bool { method GetH2PoolSize (line 72) | func (x *ClientConfig) GetH2PoolSize() int32 { type ServerConfig (line 79) | type ServerConfig struct method Reset (line 87) | func (x *ServerConfig) Reset() { method String (line 94) | func (x *ServerConfig) String() string { method ProtoMessage (line 98) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 100) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 113) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetHttp (line 117) | func (x *ServerConfig) GetHttp() *HTTPConfig { method GetNoDecodingSessionTag (line 124) | func (x *ServerConfig) GetNoDecodingSessionTag() bool { type HTTPConfig (line 131) | type HTTPConfig struct method Reset (line 139) | func (x *HTTPConfig) Reset() { method String (line 146) | func (x *HTTPConfig) String() string { method ProtoMessage (line 150) | func (*HTTPConfig) ProtoMessage() {} method ProtoReflect (line 152) | func (x *HTTPConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 165) | func (*HTTPConfig) Descriptor() ([]byte, []int) { method GetPath (line 169) | func (x *HTTPConfig) GetPath() string { method GetUrlPrefix (line 176) | func (x *HTTPConfig) GetUrlPrefix() string { constant file_transport_internet_request_roundtripper_httprt_config_proto_rawDesc (line 185) | file_transport_internet_request_roundtripper_httprt_config_proto_rawDesc... function file_transport_internet_request_roundtripper_httprt_config_proto_rawDescGZIP (line 210) | func file_transport_internet_request_roundtripper_httprt_config_proto_ra... function init (line 233) | func init() { file_transport_internet_request_roundtripper_httprt_config... function file_transport_internet_request_roundtripper_httprt_config_proto_init (line 234) | func file_transport_internet_request_roundtripper_httprt_config_proto_in... FILE: transport/internet/request/roundtripper/httprt/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/roundtripper/httprt/httprt.go function newHTTPRoundTripperClient (line 21) | func newHTTPRoundTripperClient(ctx context.Context, config *ClientConfig... type httpTripperClient (line 26) | type httpTripperClient struct method OnTransportClientAssemblyReady (line 38) | func (h *httpTripperClient) OnTransportClientAssemblyReady(assembly re... method RoundTrip (line 42) | func (h *httpTripperClient) RoundTrip(ctx context.Context, req request... type unimplementedBackDrop (line 32) | type unimplementedBackDrop struct method RoundTrip (line 34) | func (u unimplementedBackDrop) RoundTrip(r *http.Request) (*http.Respo... function newHTTPRoundTripperServer (line 97) | func newHTTPRoundTripperServer(ctx context.Context, config *ServerConfig... type httpTripperServer (line 101) | type httpTripperServer struct method OnTransportServerAssemblyReady (line 109) | func (h *httpTripperServer) OnTransportServerAssemblyReady(assembly re... method ServeHTTP (line 113) | func (h *httpTripperServer) ServeHTTP(writer http.ResponseWriter, r *h... method onRequest (line 136) | func (h *httpTripperServer) onRequest(resp http.ResponseWriter, req *h... method Start (line 168) | func (h *httpTripperServer) Start() error { method Close (line 190) | func (h *httpTripperServer) Close() error { type httpRespStreamWriting (line 117) | type httpRespStreamWriting struct method RoundTripperOption (line 122) | func (h *httpRespStreamWriting) RoundTripperOption() { method GetResponseWriter (line 125) | func (h *httpRespStreamWriting) GetResponseWriter() io.Writer { method Flush (line 130) | func (h *httpRespStreamWriting) Flush() { function init (line 194) | func init() { FILE: transport/internet/request/roundtripperreverserserver/accesschecker_password.go type PasswordAccessChecker (line 15) | type PasswordAccessChecker struct method CheckReverserAccess (line 37) | func (p *PasswordAccessChecker) CheckReverserAccess(ctx context.Contex... method GenerateToken (line 84) | func (p *PasswordAccessChecker) GenerateToken(userID int64) ([]byte, e... method init (line 107) | func (p *PasswordAccessChecker) init() error { function NewPasswordAccessChecker (line 24) | func NewPasswordAccessChecker(password string) (*PasswordAccessChecker, ... type tokenUnpacked (line 32) | type tokenUnpacked struct function createBlockFromPassword (line 116) | func createBlockFromPassword(password string) (cipher.Block, error) { FILE: transport/internet/request/roundtripperreverserserver/accesschecker_password_test.go function TestGenerateTokenLength (line 13) | func TestGenerateTokenLength(t *testing.T) { function TestGenerateAndCheckRoundTrip (line 29) | func TestGenerateAndCheckRoundTrip(t *testing.T) { function TestPasswordAccessChecker_ValidRoundTrip (line 67) | func TestPasswordAccessChecker_ValidRoundTrip(t *testing.T) { function TestPasswordAccessChecker_InvalidKeyLength (line 100) | func TestPasswordAccessChecker_InvalidKeyLength(t *testing.T) { function TestPasswordAccessChecker_InvalidTokenCheckValue (line 115) | func TestPasswordAccessChecker_InvalidTokenCheckValue(t *testing.T) { function TestTokensNotInterchangeable (line 142) | func TestTokensNotInterchangeable(t *testing.T) { function TestCheckReverserAccess_NegativeUserID (line 172) | func TestCheckReverserAccess_NegativeUserID(t *testing.T) { function TestCheckReverserAccess_MinInt64Token (line 197) | func TestCheckReverserAccess_MinInt64Token(t *testing.T) { function TestGenerateTokensDifferentPasswords (line 222) | func TestGenerateTokensDifferentPasswords(t *testing.T) { function TestNewPasswordAccessChecker_EmptyPassword (line 247) | func TestNewPasswordAccessChecker_EmptyPassword(t *testing.T) { FILE: transport/internet/request/roundtripperreverserserver/clicommand/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/roundtripperreverserserver/clicommand/generate_token_cli.go function init (line 96) | func init() { FILE: transport/internet/request/roundtripperreverserserver/clicommand/roundTripperReserseServerCli.go function init (line 63) | func init() { FILE: transport/internet/request/roundtripperreverserserver/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 29) | func (x *Config) Reset() { method String (line 36) | func (x *Config) String() string { method ProtoMessage (line 40) | func (*Config) ProtoMessage() {} method ProtoReflect (line 42) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*Config) Descriptor() ([]byte, []int) { method GetRoundTripperServer (line 59) | func (x *Config) GetRoundTripperServer() *anypb.Any { method GetListen (line 66) | func (x *Config) GetListen() string { method GetAccessPassphrase (line 73) | func (x *Config) GetAccessPassphrase() string { constant file_transport_internet_request_roundtripperreverserserver_config_proto_rawDesc (line 82) | file_transport_internet_request_roundtripperreverserserver_config_proto_... function file_transport_internet_request_roundtripperreverserserver_config_proto_rawDescGZIP (line 97) | func file_transport_internet_request_roundtripperreverserserver_config_p... function init (line 118) | func init() { file_transport_internet_request_roundtripperreverserserver... function file_transport_internet_request_roundtripperreverserserver_config_proto_init (line 119) | func file_transport_internet_request_roundtripperreverserserver_config_p... FILE: transport/internet/request/roundtripperreverserserver/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/roundtripperreverserserver/reverser.go function NewReverser (line 17) | func NewReverser(ctx context.Context, config *Config) (*Reverser, error) { type Reverser (line 28) | type Reverser struct method OnRoundTrip (line 36) | func (s *Reverser) OnRoundTrip(ctx context.Context, req request.Reques... method Listen (line 59) | func (s *Reverser) Listen(ctx context.Context) (v2net.Listener, error) { method init (line 74) | func (s *Reverser) init() error { method TripperReceiver (line 117) | func (s *Reverser) TripperReceiver() request.TripperReceiver { method SessionReceiver (line 121) | func (s *Reverser) SessionReceiver() request.SessionReceiver { method AutoImplListener (line 125) | func (s *Reverser) AutoImplListener() request.Listener { FILE: transport/internet/request/roundtripperreverserserver/reverserimpl.go function NewReverserImpl (line 12) | func NewReverserImpl() (request.ReverserImpl, error) { type ReverserImpl (line 45) | type ReverserImpl struct method StopCleanup (line 57) | func (r *ReverserImpl) StopCleanup() error { method OnOtherRoundTrip (line 64) | func (r *ReverserImpl) OnOtherRoundTrip(ctx context.Context, req reque... method OnAuthenticatedServerIntentRoundTrip (line 127) | func (r *ReverserImpl) OnAuthenticatedServerIntentRoundTrip(ctx contex... method __CleanupNow____TestOnly (line 159) | func (r *ReverserImpl) __CleanupNow____TestOnly() { type clientState (line 164) | type clientState struct type serverState (line 168) | type serverState struct type reverserMessage (line 174) | type reverserMessage struct FILE: transport/internet/request/roundtripperreverserserver/reverserimpl_test.go function fill (line 13) | func fill(b byte, n int) []byte { function stopCleanup (line 22) | func stopCleanup(t *testing.T, r request.ReverserImpl) { function TestOnOtherRoundTrip_InvalidRoutingKeyLength (line 35) | func TestOnOtherRoundTrip_InvalidRoutingKeyLength(t *testing.T) { function TestOnOtherRoundTrip_ServerToClient_NoClientFound (line 51) | func TestOnOtherRoundTrip_ServerToClient_NoClientFound(t *testing.T) { function TestOnOtherRoundTrip_ServerToClient_Success (line 64) | func TestOnOtherRoundTrip_ServerToClient_Success(t *testing.T) { function TestOnOtherRoundTrip_ServerToClient_QueueFull (line 88) | func TestOnOtherRoundTrip_ServerToClient_QueueFull(t *testing.T) { function TestOnOtherRoundTrip_ClientToServer_NoServerFound (line 105) | func TestOnOtherRoundTrip_ClientToServer_NoServerFound(t *testing.T) { function TestOnOtherRoundTrip_ClientToServer_Success (line 117) | func TestOnOtherRoundTrip_ClientToServer_Success(t *testing.T) { function TestOnAuthenticatedServerIntentRoundTrip_InvalidPrivateKeyLength (line 147) | func TestOnAuthenticatedServerIntentRoundTrip_InvalidPrivateKeyLength(t ... function TestOnAuthenticatedServerIntentRoundTrip_InvalidPublicKeyLength (line 158) | func TestOnAuthenticatedServerIntentRoundTrip_InvalidPublicKeyLength(t *... function TestOnAuthenticatedServerIntentRoundTrip_SuccessMessage (line 168) | func TestOnAuthenticatedServerIntentRoundTrip_SuccessMessage(t *testing.... function TestSmoke (line 189) | func TestSmoke(t *testing.T) { function TestPeriodicCleanupRemovesOldServer (line 195) | func TestPeriodicCleanupRemovesOldServer(t *testing.T) { function TestCleanupNowRemovesServerAndPrivateMapping (line 216) | func TestCleanupNowRemovesServerAndPrivateMapping(t *testing.T) { function TestStopCleanupIdempotent (line 239) | func TestStopCleanupIdempotent(t *testing.T) { function TestOnAuthenticatedServerIntentRoundTrip_UpdatesLastSeenAndMapping (line 252) | func TestOnAuthenticatedServerIntentRoundTrip_UpdatesLastSeenAndMapping(... FILE: transport/internet/request/stereotype/meek/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 19) | type Config struct method Reset (line 26) | func (x *Config) Reset() { method String (line 33) | func (x *Config) String() string { method ProtoMessage (line 37) | func (*Config) ProtoMessage() {} method ProtoReflect (line 39) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 52) | func (*Config) Descriptor() ([]byte, []int) { method GetUrl (line 56) | func (x *Config) GetUrl() string { constant file_transport_internet_request_stereotype_meek_config_proto_rawDesc (line 65) | file_transport_internet_request_stereotype_meek_config_proto_rawDesc = "" + function file_transport_internet_request_stereotype_meek_config_proto_rawDescGZIP (line 78) | func file_transport_internet_request_stereotype_meek_config_proto_rawDes... function init (line 97) | func init() { file_transport_internet_request_stereotype_meek_config_pro... function file_transport_internet_request_stereotype_meek_config_proto_init (line 98) | func file_transport_internet_request_stereotype_meek_config_proto_init() { FILE: transport/internet/request/stereotype/meek/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/stereotype/meek/meek.go constant protocolName (line 17) | protocolName = "meek" function init (line 19) | func init() { function meekDial (line 28) | func meekDial(ctx context.Context, dest net.Destination, streamSettings ... function meekListen (line 58) | func meekListen(ctx context.Context, address net.Address, port net.Port,... FILE: transport/internet/request/stereotype/mekya/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 39) | func (x *Config) Reset() { method String (line 46) | func (x *Config) String() string { method ProtoMessage (line 50) | func (*Config) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Config) Descriptor() ([]byte, []int) { method GetKcp (line 69) | func (x *Config) GetKcp() *kcp.Config { method GetMaxWriteDelay (line 76) | func (x *Config) GetMaxWriteDelay() int32 { method GetMaxRequestSize (line 83) | func (x *Config) GetMaxRequestSize() int32 { method GetPollingIntervalInitial (line 90) | func (x *Config) GetPollingIntervalInitial() int32 { method GetMaxWriteSize (line 97) | func (x *Config) GetMaxWriteSize() int32 { method GetMaxWriteDurationMs (line 104) | func (x *Config) GetMaxWriteDurationMs() int32 { method GetMaxSimultaneousWriteConnection (line 111) | func (x *Config) GetMaxSimultaneousWriteConnection() int32 { method GetPacketWritingBuffer (line 118) | func (x *Config) GetPacketWritingBuffer() int32 { method GetUrl (line 125) | func (x *Config) GetUrl() string { method GetH2PoolSize (line 132) | func (x *Config) GetH2PoolSize() int32 { constant file_transport_internet_request_stereotype_mekya_config_proto_rawDesc (line 141) | file_transport_internet_request_stereotype_mekya_config_proto_rawDesc = ... function file_transport_internet_request_stereotype_mekya_config_proto_rawDescGZIP (line 164) | func file_transport_internet_request_stereotype_mekya_config_proto_rawDe... function init (line 185) | func init() { file_transport_internet_request_stereotype_mekya_config_pr... function file_transport_internet_request_stereotype_mekya_config_proto_init (line 186) | func file_transport_internet_request_stereotype_mekya_config_proto_init() { FILE: transport/internet/request/stereotype/mekya/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/request/stereotype/mekya/mekya.go constant protocolName (line 17) | protocolName = "mekya" function init (line 19) | func init() { function mekyaDial (line 28) | func mekyaDial(ctx context.Context, dest net.Destination, streamSettings... function mekyaListen (line 60) | func mekyaListen(ctx context.Context, address net.Address, port net.Port... FILE: transport/internet/security/connprop.go type ConnectionApplicationProtocol (line 3) | type ConnectionApplicationProtocol interface FILE: transport/internet/security/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/security/security.go type Engine (line 9) | type Engine interface type Conn (line 13) | type Conn interface type Option (line 17) | type Option interface type OptionWithALPN (line 21) | type OptionWithALPN struct method isSecurityOption (line 25) | func (a OptionWithALPN) isSecurityOption() { type OptionWithDestination (line 28) | type OptionWithDestination struct method isSecurityOption (line 32) | func (a OptionWithDestination) isSecurityOption() { FILE: transport/internet/security/util.go function CreateSecurityEngineFromSettings (line 10) | func CreateSecurityEngineFromSettings(context context.Context, settings ... FILE: transport/internet/socket_activation_other.go function activateSocket (line 11) | func activateSocket(address string, f func(network, address string, fd u... FILE: transport/internet/socket_activation_unix.go function activateSocket (line 16) | func activateSocket(address string, f func(network, address string, fd u... FILE: transport/internet/sockopt.go function isTCPSocket (line 3) | func isTCPSocket(network string) bool { function isUDPSocket (line 12) | func isUDPSocket(network string) bool { FILE: transport/internet/sockopt_darwin.go constant TCP_FASTOPEN_SERVER (line 11) | TCP_FASTOPEN_SERVER = 0x01 constant TCP_FASTOPEN_CLIENT (line 13) | TCP_FASTOPEN_CLIENT = 0x02 function applyOutboundSocketOptions (line 16) | func applyOutboundSocketOptions(network string, address string, fd uintp... function applyInboundSocketOptions (line 75) | func applyInboundSocketOptions(network string, fd uintptr, config *Socke... function bindAddr (line 131) | func bindAddr(fd uintptr, address []byte, port uint32) error { function setReuseAddr (line 135) | func setReuseAddr(fd uintptr) error { function setReusePort (line 139) | func setReusePort(fd uintptr) error { FILE: transport/internet/sockopt_freebsd.go constant sysPFINOUT (line 14) | sysPFINOUT = 0x0 constant sysPFIN (line 15) | sysPFIN = 0x1 constant sysPFOUT (line 16) | sysPFOUT = 0x2 constant sysPFFWD (line 17) | sysPFFWD = 0x3 constant sysDIOCNATLOOK (line 18) | sysDIOCNATLOOK = 0xc04c4417 type pfiocNatlook (line 21) | type pfiocNatlook struct method rdPort (line 49) | func (nl *pfiocNatlook) rdPort() int { method setPort (line 53) | func (nl *pfiocNatlook) setPort(remote, local int) { constant sizeofPfiocNatlook (line 37) | sizeofPfiocNatlook = 0x4c constant soReUsePort (line 38) | soReUsePort = 0x00000200 constant soReUsePortLB (line 39) | soReUsePortLB = 0x00010000 function ioctl (line 42) | func ioctl(s uintptr, ioc int, b []byte) error { function OriginalDst (line 59) | func OriginalDst(la, ra net.Addr) (net.IP, int, error) { function applyOutboundSocketOptions (line 126) | func applyOutboundSocketOptions(network string, address string, fd uintp... function applyInboundSocketOptions (line 190) | func applyInboundSocketOptions(network string, fd uintptr, config *Socke... function bindAddr (line 247) | func bindAddr(fd uintptr, ip []byte, port uint32) error { function setReuseAddr (line 273) | func setReuseAddr(fd uintptr) error { function setReusePort (line 280) | func setReusePort(fd uintptr) error { FILE: transport/internet/sockopt_linux.go constant TCP_FASTOPEN (line 12) | TCP_FASTOPEN = 23 constant TCP_FASTOPEN_CONNECT (line 14) | TCP_FASTOPEN_CONNECT = 30 function bindAddr (line 17) | func bindAddr(fd uintptr, ip []byte, port uint32) error { function applyOutboundSocketOptions (line 43) | func applyOutboundSocketOptions(network string, address string, fd uintp... function applyInboundSocketOptions (line 114) | func applyInboundSocketOptions(network string, fd uintptr, config *Socke... function setReuseAddr (line 191) | func setReuseAddr(fd uintptr) error { function setReusePort (line 198) | func setReusePort(fd uintptr) error { FILE: transport/internet/sockopt_linux_test.go function TestSockOptMark (line 14) | func TestSockOptMark(t *testing.T) { FILE: transport/internet/sockopt_other.go function applyOutboundSocketOptions (line 6) | func applyOutboundSocketOptions(network string, address string, fd uintp... function applyInboundSocketOptions (line 10) | func applyInboundSocketOptions(network string, fd uintptr, config *Socke... function bindAddr (line 14) | func bindAddr(fd uintptr, ip []byte, port uint32) error { function setReuseAddr (line 18) | func setReuseAddr(fd uintptr) error { function setReusePort (line 22) | func setReusePort(fd uintptr) error { FILE: transport/internet/sockopt_test.go function TestTCPFastOpen (line 15) | func TestTCPFastOpen(t *testing.T) { function TestMultipathTCP (line 45) | func TestMultipathTCP(t *testing.T) { FILE: transport/internet/sockopt_windows.go constant TCP_FASTOPEN (line 11) | TCP_FASTOPEN = 15 constant IP_UNICAST_IF (line 12) | IP_UNICAST_IF = 31 constant IPV6_UNICAST_IF (line 13) | IPV6_UNICAST_IF = 31 function setTFO (line 16) | func setTFO(fd syscall.Handle, settings SocketConfig_TCPFastOpenState) e... function applyOutboundSocketOptions (line 30) | func applyOutboundSocketOptions(network string, address string, fd uintp... function applyInboundSocketOptions (line 70) | func applyInboundSocketOptions(network string, fd uintptr, config *Socke... function bindAddr (line 97) | func bindAddr(fd uintptr, ip []byte, port uint32) error { function setReuseAddr (line 101) | func setReuseAddr(fd uintptr) error { function setReusePort (line 105) | func setReusePort(fd uintptr) error { FILE: transport/internet/system_dialer.go type SystemDialer (line 14) | type SystemDialer interface type DefaultSystemDialer (line 18) | type DefaultSystemDialer struct method Dial (line 44) | func (d *DefaultSystemDialer) Dial(ctx context.Context, src net.Addres... function resolveSrcAddr (line 22) | func resolveSrcAddr(network net.Network, src net.Address) net.Addr { function hasBindAddr (line 40) | func hasBindAddr(sockopt *SocketConfig) bool { type packetConnWrapper (line 111) | type packetConnWrapper struct method Close (line 116) | func (c *packetConnWrapper) Close() error { method LocalAddr (line 120) | func (c *packetConnWrapper) LocalAddr() net.Addr { method RemoteAddr (line 124) | func (c *packetConnWrapper) RemoteAddr() net.Addr { method Write (line 128) | func (c *packetConnWrapper) Write(p []byte) (int, error) { method Read (line 132) | func (c *packetConnWrapper) Read(p []byte) (int, error) { method SetDeadline (line 137) | func (c *packetConnWrapper) SetDeadline(t time.Time) error { method SetReadDeadline (line 141) | func (c *packetConnWrapper) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 145) | func (c *packetConnWrapper) SetWriteDeadline(t time.Time) error { type SystemDialerAdapter (line 149) | type SystemDialerAdapter interface type SimpleSystemDialer (line 153) | type SimpleSystemDialer struct method Dial (line 163) | func (v *SimpleSystemDialer) Dial(ctx context.Context, src net.Address... function WithAdapter (line 157) | func WithAdapter(dialer SystemDialerAdapter) SystemDialer { function UseAlternativeSystemDialer (line 171) | func UseAlternativeSystemDialer(dialer SystemDialer) { function RegisterDialerController (line 183) | func RegisterDialerController(ctl func(network, address string, fd uintp... FILE: transport/internet/system_dns_android.go constant SystemDNS (line 11) | SystemDNS = "8.8.8.8:53" type DNSResolverFunc (line 18) | type DNSResolverFunc function init (line 35) | func init() { FILE: transport/internet/system_dns_android_test.go function TestDNSResolver (line 11) | func TestDNSResolver(t *testing.T) { FILE: transport/internet/system_listener.go type controller (line 20) | type controller type DefaultListener (line 22) | type DefaultListener struct method Listen (line 63) | func (dl *DefaultListener) Listen(ctx context.Context, addr net.Addr, ... method ListenPacket (line 164) | func (dl *DefaultListener) ListenPacket(ctx context.Context, addr net.... type combinedListener (line 26) | type combinedListener struct method Close (line 31) | func (l *combinedListener) Close() error { function getRawControlFunc (line 39) | func getRawControlFunc(network, address string, ctx context.Context, soc... function getControlFunc (line 57) | func getControlFunc(ctx context.Context, sockopt *SocketConfig, controll... function RegisterListenerController (line 176) | func RegisterListenerController(controller func(network, address string,... type SystemListener (line 185) | type SystemListener interface FILE: transport/internet/system_listener_test.go function TestRegisterListenerController (line 12) | func TestRegisterListenerController(t *testing.T) { FILE: transport/internet/tagged/tagged.go type DialFunc (line 9) | type DialFunc FILE: transport/internet/tagged/taggedimpl/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tagged/taggedimpl/impl.go function DialTaggedOutbound (line 16) | func DialTaggedOutbound(ctx context.Context, dest net.Destination, tag s... function init (line 46) | func init() { FILE: transport/internet/tcp/config.go constant protocolName (line 8) | protocolName = "tcp" function init (line 10) | func init() { FILE: transport/internet/tcp/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 28) | func (x *Config) Reset() { method String (line 35) | func (x *Config) String() string { method ProtoMessage (line 39) | func (*Config) ProtoMessage() {} method ProtoReflect (line 41) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 54) | func (*Config) Descriptor() ([]byte, []int) { method GetHeaderSettings (line 58) | func (x *Config) GetHeaderSettings() *anypb.Any { method GetAcceptProxyProtocol (line 65) | func (x *Config) GetAcceptProxyProtocol() bool { constant file_transport_internet_tcp_config_proto_rawDesc (line 74) | file_transport_internet_tcp_config_proto_rawDesc = "" + function file_transport_internet_tcp_config_proto_rawDescGZIP (line 88) | func file_transport_internet_tcp_config_proto_rawDescGZIP() []byte { function init (line 109) | func init() { file_transport_internet_tcp_config_proto_init() } function file_transport_internet_tcp_config_proto_init (line 110) | func file_transport_internet_tcp_config_proto_init() { FILE: transport/internet/tcp/dialer.go function Dial (line 15) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 49) | func init() { FILE: transport/internet/tcp/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tcp/hub.go type Listener (line 18) | type Listener struct method keepAccepting (line 87) | func (v *Listener) keepAccepting() { method Addr (line 114) | func (v *Listener) Addr() net.Addr { method Close (line 119) | func (v *Listener) Close() error { function ListenTCP (line 27) | func ListenTCP(ctx context.Context, address net.Address, port net.Port, ... function init (line 123) | func init() { FILE: transport/internet/tcp/sockopt_freebsd.go function GetOriginalDestination (line 12) | func GetOriginalDestination(conn internet.Connection) (net.Destination, ... FILE: transport/internet/tcp/sockopt_linux.go constant SO_ORIGINAL_DST (line 13) | SO_ORIGINAL_DST = 80 function GetOriginalDestination (line 15) | func GetOriginalDestination(conn internet.Connection) (net.Destination, ... FILE: transport/internet/tcp/sockopt_linux_test.go function TestGetOriginalDestination (line 17) | func TestGetOriginalDestination(t *testing.T) { FILE: transport/internet/tcp/sockopt_other.go function GetOriginalDestination (line 11) | func GetOriginalDestination(conn internet.Connection) (net.Destination, ... FILE: transport/internet/tcp_hub.go function RegisterTransportListener (line 11) | func RegisterTransportListener(protocol string, listener ListenFunc) err... type ConnHandler (line 19) | type ConnHandler type ListenFunc (line 21) | type ListenFunc type Listener (line 23) | type Listener interface function ListenUnix (line 29) | func ListenUnix(ctx context.Context, address net.Address, settings *Memo... function ListenTCP (line 55) | func ListenTCP(ctx context.Context, address net.Address, port net.Port, ... function ListenSystem (line 92) | func ListenSystem(ctx context.Context, addr net.Addr, sockopt *SocketCon... function ListenSystemPacket (line 99) | func ListenSystemPacket(ctx context.Context, addr net.Addr, sockopt *Soc... FILE: transport/internet/tls/config.go constant exp8357 (line 20) | exp8357 = "experiment:8357" function ParseCertificate (line 23) | func ParseCertificate(c *cert.Certificate) *Certificate { method loadSelfCertPool (line 34) | func (c *Config) loadSelfCertPool(usage Certificate_Usage) (*x509.CertPo... method BuildCertificates (line 47) | func (c *Config) BuildCertificates() []tls.Certificate { function isCertificateExpired (line 63) | func isCertificateExpired(c *tls.Certificate) bool { function issueCertificate (line 74) | func issueCertificate(rawCA *Certificate, domain string) (*tls.Certifica... method getCustomCA (line 88) | func (c *Config) getCustomCA() []*Certificate { function getGetCertificateFunc (line 98) | func getGetCertificateFunc(c *tls.Config, ca []*Certificate) func(hello ... method IsExperiment8357 (line 173) | func (c *Config) IsExperiment8357() bool { method parseServerName (line 177) | func (c *Config) parseServerName() string { method verifyPeerCert (line 185) | func (c *Config) verifyPeerCert(rawCerts [][]byte, verifiedChains [][]*x... type alwaysFlushWriter (line 198) | type alwaysFlushWriter struct method Write (line 202) | func (a *alwaysFlushWriter) Write(p []byte) (n int, err error) { method GetTLSConfig (line 209) | func (c *Config) GetTLSConfig(opts ...Option) *tls.Config { type Option (line 308) | type Option function WithDestination (line 311) | func WithDestination(dest net.Destination) Option { function WithNextProto (line 325) | func WithNextProto(protocol ...string) Option { function ConfigFromStreamSettings (line 334) | func ConfigFromStreamSettings(settings *internet.MemoryStreamConfig) *Co... FILE: transport/internet/tls/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Certificate_Usage (line 19) | type Certificate_Usage method Enum (line 44) | func (x Certificate_Usage) Enum() *Certificate_Usage { method String (line 50) | func (x Certificate_Usage) String() string { method Descriptor (line 54) | func (Certificate_Usage) Descriptor() protoreflect.EnumDescriptor { method Type (line 58) | func (Certificate_Usage) Type() protoreflect.EnumType { method Number (line 62) | func (x Certificate_Usage) Number() protoreflect.EnumNumber { method EnumDescriptor (line 67) | func (Certificate_Usage) EnumDescriptor() ([]byte, []int) { constant Certificate_ENCIPHERMENT (line 22) | Certificate_ENCIPHERMENT Certificate_Usage = 0 constant Certificate_AUTHORITY_VERIFY (line 23) | Certificate_AUTHORITY_VERIFY Certificate_Usage = 1 constant Certificate_AUTHORITY_ISSUE (line 24) | Certificate_AUTHORITY_ISSUE Certificate_Usage = 2 constant Certificate_AUTHORITY_VERIFY_CLIENT (line 25) | Certificate_AUTHORITY_VERIFY_CLIENT Certificate_Usage = 3 type Config_TLSVersion (line 71) | type Config_TLSVersion method Enum (line 99) | func (x Config_TLSVersion) Enum() *Config_TLSVersion { method String (line 105) | func (x Config_TLSVersion) String() string { method Descriptor (line 109) | func (Config_TLSVersion) Descriptor() protoreflect.EnumDescriptor { method Type (line 113) | func (Config_TLSVersion) Type() protoreflect.EnumType { method Number (line 117) | func (x Config_TLSVersion) Number() protoreflect.EnumNumber { method EnumDescriptor (line 122) | func (Config_TLSVersion) EnumDescriptor() ([]byte, []int) { constant Config_Default (line 74) | Config_Default Config_TLSVersion = 0 constant Config_TLS1_0 (line 75) | Config_TLS1_0 Config_TLSVersion = 1 constant Config_TLS1_1 (line 76) | Config_TLS1_1 Config_TLSVersion = 2 constant Config_TLS1_2 (line 77) | Config_TLS1_2 Config_TLSVersion = 3 constant Config_TLS1_3 (line 78) | Config_TLS1_3 Config_TLSVersion = 4 type Certificate (line 126) | type Certificate struct method Reset (line 139) | func (x *Certificate) Reset() { method String (line 146) | func (x *Certificate) String() string { method ProtoMessage (line 150) | func (*Certificate) ProtoMessage() {} method ProtoReflect (line 152) | func (x *Certificate) ProtoReflect() protoreflect.Message { method Descriptor (line 165) | func (*Certificate) Descriptor() ([]byte, []int) { method GetCertificate (line 169) | func (x *Certificate) GetCertificate() []byte { method GetKey (line 176) | func (x *Certificate) GetKey() []byte { method GetUsage (line 183) | func (x *Certificate) GetUsage() Certificate_Usage { method GetCertificateFile (line 190) | func (x *Certificate) GetCertificateFile() string { method GetKeyFile (line 197) | func (x *Certificate) GetKeyFile() string { type Config (line 204) | type Config struct method Reset (line 245) | func (x *Config) Reset() { method String (line 252) | func (x *Config) String() string { method ProtoMessage (line 256) | func (*Config) ProtoMessage() {} method ProtoReflect (line 258) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 271) | func (*Config) Descriptor() ([]byte, []int) { method GetAllowInsecure (line 275) | func (x *Config) GetAllowInsecure() bool { method GetCertificate (line 282) | func (x *Config) GetCertificate() []*Certificate { method GetServerName (line 289) | func (x *Config) GetServerName() string { method GetNextProtocol (line 296) | func (x *Config) GetNextProtocol() []string { method GetEnableSessionResumption (line 303) | func (x *Config) GetEnableSessionResumption() bool { method GetDisableSystemRoot (line 310) | func (x *Config) GetDisableSystemRoot() bool { method GetPinnedPeerCertificateChainSha256 (line 317) | func (x *Config) GetPinnedPeerCertificateChainSha256() [][]byte { method GetVerifyClientCertificate (line 324) | func (x *Config) GetVerifyClientCertificate() bool { method GetMinVersion (line 331) | func (x *Config) GetMinVersion() Config_TLSVersion { method GetMaxVersion (line 338) | func (x *Config) GetMaxVersion() Config_TLSVersion { method GetAllowInsecureIfPinnedPeerCertificate (line 345) | func (x *Config) GetAllowInsecureIfPinnedPeerCertificate() bool { method GetEchConfig (line 352) | func (x *Config) GetEchConfig() []byte { method GetEch_DOHserver (line 359) | func (x *Config) GetEch_DOHserver() string { method GetEchQueryDomain (line 366) | func (x *Config) GetEchQueryDomain() string { method GetCiphersuites (line 373) | func (x *Config) GetCiphersuites() []uint32 { constant file_transport_internet_tls_config_proto_rawDesc (line 382) | file_transport_internet_tls_config_proto_rawDesc = "" + function file_transport_internet_tls_config_proto_rawDescGZIP (line 436) | func file_transport_internet_tls_config_proto_rawDescGZIP() []byte { function init (line 463) | func init() { file_transport_internet_tls_config_proto_init() } function file_transport_internet_tls_config_proto_init (line 464) | func file_transport_internet_tls_config_proto_init() { FILE: transport/internet/tls/config_other.go type rootCertsCache (line 11) | type rootCertsCache struct method load (line 16) | func (c *rootCertsCache) load() (*x509.CertPool, error) { method getCertPool (line 34) | func (c *Config) getCertPool() (*x509.CertPool, error) { FILE: transport/internet/tls/config_test.go function TestCertificateIssuing (line 14) | func TestCertificateIssuing(t *testing.T) { function TestExpiredCertificate (line 37) | func TestExpiredCertificate(t *testing.T) { function TestInsecureCertificates (line 66) | func TestInsecureCertificates(t *testing.T) { function BenchmarkCertificateIssuing (line 75) | func BenchmarkCertificateIssuing(b *testing.B) { FILE: transport/internet/tls/config_windows.go method getCertPool (line 8) | func (c *Config) getCertPool() (*x509.CertPool, error) { FILE: transport/internet/tls/ech.go function ApplyECH (line 21) | func ApplyECH(c *Config, config *tls.Config) error { type record (line 48) | type record struct function QueryRecord (line 58) | func QueryRecord(domain string, server string) ([]byte, error) { function dohQuery (line 85) | func dohQuery(server string, domain string) ([]byte, uint32, error) { FILE: transport/internet/tls/ech_go122.go function ApplyECH (line 10) | func ApplyECH(c *Config, config *tls.Config) error { //nolint: staticcheck FILE: transport/internet/tls/engine.go type Engine (line 8) | type Engine struct method Client (line 12) | func (e *Engine) Client(conn net.Conn, opts ...security.Option) (secur... function NewTLSSecurityEngineFromConfig (line 28) | func NewTLSSecurityEngineFromConfig(config *Config) (security.Engine, er... FILE: transport/internet/tls/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tls/pin.go function CalculatePEMCertChainSHA256Hash (line 9) | func CalculatePEMCertChainSHA256Hash(certContent []byte) string { function GenerateCertChainHash (line 24) | func GenerateCertChainHash(rawCerts [][]byte) []byte { FILE: transport/internet/tls/pin_test.go function TestCalculateCertHash (line 9) | func TestCalculateCertHash(t *testing.T) { FILE: transport/internet/tls/tls.go type Conn (line 16) | type Conn struct method GetConnectionApplicationProtocol (line 20) | func (c *Conn) GetConnectionApplicationProtocol() (string, error) { method WriteMultiBuffer (line 27) | func (c *Conn) WriteMultiBuffer(mb buf.MultiBuffer) error { method HandshakeAddress (line 34) | func (c *Conn) HandshakeAddress() net.Address { function Client (line 46) | func Client(c net.Conn, config *tls.Config) *Conn { function Server (line 69) | func Server(c net.Conn, config *tls.Config) net.Conn { function init (line 74) | func init() { FILE: transport/internet/tls/utls/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ForcedALPN (line 20) | type ForcedALPN method Enum (line 42) | func (x ForcedALPN) Enum() *ForcedALPN { method String (line 48) | func (x ForcedALPN) String() string { method Descriptor (line 52) | func (ForcedALPN) Descriptor() protoreflect.EnumDescriptor { method Type (line 56) | func (ForcedALPN) Type() protoreflect.EnumType { method Number (line 60) | func (x ForcedALPN) Number() protoreflect.EnumNumber { method EnumDescriptor (line 65) | func (ForcedALPN) EnumDescriptor() ([]byte, []int) { constant ForcedALPN_TRANSPORT_PREFERENCE_TAKE_PRIORITY (line 23) | ForcedALPN_TRANSPORT_PREFERENCE_TAKE_PRIORITY ForcedALPN = 0 constant ForcedALPN_NO_ALPN (line 24) | ForcedALPN_NO_ALPN ForcedALPN = 1 constant ForcedALPN_UTLS_PRESET (line 25) | ForcedALPN_UTLS_PRESET ForcedALPN = 2 type Config (line 69) | type Config struct method Reset (line 79) | func (x *Config) Reset() { method String (line 86) | func (x *Config) String() string { method ProtoMessage (line 90) | func (*Config) ProtoMessage() {} method ProtoReflect (line 92) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 105) | func (*Config) Descriptor() ([]byte, []int) { method GetTlsConfig (line 109) | func (x *Config) GetTlsConfig() *tls.Config { method GetImitate (line 116) | func (x *Config) GetImitate() string { method GetNoSNI (line 123) | func (x *Config) GetNoSNI() bool { method GetForceAlpn (line 130) | func (x *Config) GetForceAlpn() ForcedALPN { constant file_transport_internet_tls_utls_config_proto_rawDesc (line 139) | file_transport_internet_tls_utls_config_proto_rawDesc = "" + function file_transport_internet_tls_utls_config_proto_rawDescGZIP (line 162) | func file_transport_internet_tls_utls_config_proto_rawDescGZIP() []byte { function init (line 186) | func init() { file_transport_internet_tls_utls_config_proto_init() } function file_transport_internet_tls_utls_config_proto_init (line 187) | func file_transport_internet_tls_utls_config_proto_init() { FILE: transport/internet/tls/utls/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tls/utls/nameMapper.go function nameToUTLSPreset (line 45) | func nameToUTLSPreset(name string) (*utls.ClientHelloID, error) { FILE: transport/internet/tls/utls/utls.go function NewUTLSSecurityEngineFromConfig (line 17) | func NewUTLSSecurityEngineFromConfig(config *Config) (security.Engine, e... type Engine (line 24) | type Engine struct method Client (line 28) | func (e Engine) Client(conn net.Conn, opts ...security.Option) (securi... type uTLSClientConnection (line 96) | type uTLSClientConnection struct method GetConnectionApplicationProtocol (line 100) | func (u uTLSClientConnection) GetConnectionApplicationProtocol() (stri... function uTLSConfigFromTLSConfig (line 107) | func uTLSConfigFromTLSConfig(config *systls.Config) (*utls.Config, error... function init (line 122) | func init() { FILE: transport/internet/tlsmirror/data.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EnrollmentConfirmationReq (line 18) | type EnrollmentConfirmationReq struct method Reset (line 29) | func (x *EnrollmentConfirmationReq) Reset() { method String (line 36) | func (x *EnrollmentConfirmationReq) String() string { method ProtoMessage (line 40) | func (*EnrollmentConfirmationReq) ProtoMessage() {} method ProtoReflect (line 42) | func (x *EnrollmentConfirmationReq) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*EnrollmentConfirmationReq) Descriptor() ([]byte, []int) { method GetServerIdentifier (line 59) | func (x *EnrollmentConfirmationReq) GetServerIdentifier() []byte { method GetCarrierTlsConnectionClientRandom (line 66) | func (x *EnrollmentConfirmationReq) GetCarrierTlsConnectionClientRando... method GetCarrierTlsConnectionServerRandom (line 73) | func (x *EnrollmentConfirmationReq) GetCarrierTlsConnectionServerRando... method GetClientIdentifier (line 80) | func (x *EnrollmentConfirmationReq) GetClientIdentifier() []byte { method GetReplyAddressTag (line 87) | func (x *EnrollmentConfirmationReq) GetReplyAddressTag() []byte { type EnrollmentConfirmationResp (line 94) | type EnrollmentConfirmationResp struct method Reset (line 101) | func (x *EnrollmentConfirmationResp) Reset() { method String (line 108) | func (x *EnrollmentConfirmationResp) String() string { method ProtoMessage (line 112) | func (*EnrollmentConfirmationResp) ProtoMessage() {} method ProtoReflect (line 114) | func (x *EnrollmentConfirmationResp) ProtoReflect() protoreflect.Messa... method Descriptor (line 127) | func (*EnrollmentConfirmationResp) Descriptor() ([]byte, []int) { method GetEnrolled (line 131) | func (x *EnrollmentConfirmationResp) GetEnrolled() bool { constant file_transport_internet_tlsmirror_data_proto_rawDesc (line 140) | file_transport_internet_tlsmirror_data_proto_rawDesc = "" + function file_transport_internet_tlsmirror_data_proto_rawDescGZIP (line 158) | func file_transport_internet_tlsmirror_data_proto_rawDescGZIP() []byte { function init (line 178) | func init() { file_transport_internet_tlsmirror_data_proto_init() } function file_transport_internet_tlsmirror_data_proto_init (line 179) | func file_transport_internet_tlsmirror_data_proto_init() { FILE: transport/internet/tlsmirror/httponconnection/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/httponconnection/singleconnhttp.go type HttpRequestTransport (line 13) | type HttpRequestTransport interface function newHTTPRequestTransportH1 (line 17) | func newHTTPRequestTransportH1(conn net.Conn) HttpRequestTransport { type httpRequestTransportH1 (line 24) | type httpRequestTransportH1 struct method RoundTrip (line 29) | func (h *httpRequestTransportH1) RoundTrip(req *http.Request) (*http.R... function newHTTPRequestTransportH2 (line 41) | func newHTTPRequestTransportH2(conn net.Conn) HttpRequestTransport { type httpRequestTransportH2 (line 53) | type httpRequestTransportH2 struct method RoundTrip (line 58) | func (h *httpRequestTransportH2) RoundTrip(request *http.Request) (*ht... function newSingleConnectionHTTPTransport (line 69) | func newSingleConnectionHTTPTransport(conn net.Conn, alpn string) (HttpR... function NewSingleConnectionHTTPTransport (line 80) | func NewSingleConnectionHTTPTransport(conn net.Conn, alpn string) (HttpR... FILE: transport/internet/tlsmirror/interface.go type TLSRecord (line 9) | type TLSRecord struct type RecordReader (line 19) | type RecordReader interface type RecordWriter (line 23) | type RecordWriter interface type Peeker (line 27) | type Peeker interface type PartialTLSRecordRejectProfile (line 31) | type PartialTLSRecordRejectProfile interface type MessageHook (line 35) | type MessageHook type ExplicitNonceDetection (line 37) | type ExplicitNonceDetection type InsertableTLSConn (line 39) | type InsertableTLSConn interface constant TrafficGeneratorManagedConnectionContextKey (line 47) | TrafficGeneratorManagedConnectionContextKey = "TrafficGeneratorManagedCo... type TrafficGeneratorManagedConnection (line 49) | type TrafficGeneratorManagedConnection interface type ConnectionEnrollmentConfirmation (line 55) | type ConnectionEnrollmentConfirmation interface constant EnrollmentVerificationControlConnectionPostfix (line 59) | EnrollmentVerificationControlConnectionPostfix = ".tlsmirror-controlconn... type InsertableTLSConnForEnrollment (line 61) | type InsertableTLSConnForEnrollment interface type InsertableTLSConnEnrollmentEventReceiver (line 65) | type InsertableTLSConnEnrollmentEventReceiver interface type RemoveConnectionFunc (line 69) | type RemoveConnectionFunc type ConnectionEnrollmentConfirmationProcessor (line 71) | type ConnectionEnrollmentConfirmationProcessor interface type ConnectionEnrollmentConfirmationClientInstanceConfig (line 76) | type ConnectionEnrollmentConfirmationClientInstanceConfig struct type ConnectionEnrollmentConfirmationClientInstanceConfigReceiver (line 80) | type ConnectionEnrollmentConfirmationClientInstanceConfigReceiver interface type ConnectionEnrollmentConfirmationServerInstanceConfig (line 84) | type ConnectionEnrollmentConfirmationServerInstanceConfig struct type ConnectionEnrollmentConfirmationServerInstanceConfigReceiver (line 88) | type ConnectionEnrollmentConfirmationServerInstanceConfigReceiver interface type ConnectionLoopbackPrevention (line 92) | type ConnectionLoopbackPrevention struct FILE: transport/internet/tlsmirror/mirrorbase/conn.go function NewMirroredTLSConn (line 18) | func NewMirroredTLSConn(ctx context.Context, clientConn net.Conn, type conn (line 52) | type conn struct method GetHandshakeRandom (line 81) | func (c *conn) GetHandshakeRandom() ([]byte, []byte, error) { method Close (line 89) | func (c *conn) Close() error { method InsertC2SMessage (line 94) | func (c *conn) InsertC2SMessage(message *tlsmirror.TLSRecord) error { method InsertS2CMessage (line 100) | func (c *conn) InsertS2CMessage(message *tlsmirror.TLSRecord) error { method c2sWorker (line 135) | func (c *conn) c2sWorker() { method s2cWorker (line 274) | func (c *conn) s2cWorker() { method captureHandshake (line 457) | func (c *conn) captureHandshake(sourceConn, mirrorConn net.Conn) (hand... method GetApplicationDataExplicitNonceReservedOverheadHeaderLength (line 501) | func (c *conn) GetApplicationDataExplicitNonceReservedOverheadHeaderLe... type bufPeeker (line 106) | type bufPeeker struct method Peek (line 110) | func (b *bufPeeker) Peek(n int) ([]byte, error) { type readerWithInitialData (line 117) | type readerWithInitialData struct method initialDataDrained (line 122) | func (r *readerWithInitialData) initialDataDrained() bool { method Read (line 126) | func (r *readerWithInitialData) Read(p []byte) (n int, err error) { function drainCopy (line 421) | func drainCopy(dst io.Writer, initData []byte, src io.Reader) { type rejectionDecisionMaker (line 434) | type rejectionDecisionMaker struct method TestIfReject (line 436) | func (r *rejectionDecisionMaker) TestIfReject(record *tlsmirror.TLSRec... FILE: transport/internet/tlsmirror/mirrorbase/crypto.go function reverseBytesGeneratorByteOrder (line 7) | func reverseBytesGeneratorByteOrder(generator crypto.BytesGenerator) cry... FILE: transport/internet/tlsmirror/mirrorbase/crypto_test.go function TestTLS12ExplicitNonceGeneration (line 11) | func TestTLS12ExplicitNonceGeneration(t *testing.T) { FILE: transport/internet/tlsmirror/mirrorbase/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/mirrorcommon/handshake.go type TLSClientHello (line 9) | type TLSClientHello struct function UnpackTLSClientHello (line 18) | func UnpackTLSClientHello(data []byte) (TLSClientHello, error) { type TLSServerHello (line 24) | type TLSServerHello struct function UnpackTLSServerHello (line 36) | func UnpackTLSServerHello(data []byte) (TLSServerHello, error) { FILE: transport/internet/tlsmirror/mirrorcommon/loopback_protect.go function SetLoopbackProtectionFlagForContext (line 9) | func SetLoopbackProtectionFlagForContext(ctx context.Context, enrollment... function SetSecondaryLoopbackProtectionFlagForContext (line 14) | func SetSecondaryLoopbackProtectionFlagForContext(ctx context.Context, e... function IsLoopbackProtectionEnabled (line 19) | func IsLoopbackProtectionEnabled(ctx context.Context, enrollmentID []byt... function IsSecondaryLoopbackProtectionEnabled (line 26) | func IsSecondaryLoopbackProtectionEnabled(ctx context.Context, enrollmen... FILE: transport/internet/tlsmirror/mirrorcommon/record.go function PeekTLSRecord (line 12) | func PeekTLSRecord(peeker tlsmirror.Peeker, rejectionProfile tlsmirror.P... function PackTLSRecord (line 45) | func PackTLSRecord(record tlsmirror.TLSRecord) []byte { function DuplicateRecord (line 56) | func DuplicateRecord(record tlsmirror.TLSRecord) tlsmirror.TLSRecord { FILE: transport/internet/tlsmirror/mirrorcommon/record_consts.go constant TLSRecord_RecordType_application_data (line 4) | TLSRecord_RecordType_application_data = 23 constant TLSRecord_RecordType_handshake (line 5) | TLSRecord_RecordType_handshake = 22 constant TLSRecord_RecordType_change_cipher_spec (line 6) | TLSRecord_RecordType_change_cipher_spec = 20 constant TLSRecord_RecordType_alert (line 7) | TLSRecord_RecordType_alert = 21 FILE: transport/internet/tlsmirror/mirrorcommon/recordstream.go function NewTLSRecordStreamReader (line 11) | func NewTLSRecordStreamReader(reader *bufio.Reader) *TLSRecordStreamRead... type TLSRecordStreamReader (line 15) | type TLSRecordStreamReader struct method ReadNextRecord (line 20) | func (t *TLSRecordStreamReader) ReadNextRecord() (*tlsmirror.TLSRecord... method GetConsumedSize (line 52) | func (t *TLSRecordStreamReader) GetConsumedSize() int64 { function NewTLSRecordStreamWriter (line 56) | func NewTLSRecordStreamWriter(writer *bufio.Writer) *TLSRecordStreamWrit... type TLSRecordStreamWriter (line 60) | type TLSRecordStreamWriter struct method WriteRecord (line 64) | func (t *TLSRecordStreamWriter) WriteRecord(record *tlsmirror.TLSRecor... FILE: transport/internet/tlsmirror/mirrorcrypto/decryptor.go type Decryptor (line 9) | type Decryptor struct method Open (line 23) | func (d *Decryptor) Open(dst, src []byte) ([]byte, error) { method NonceSize (line 35) | func (d *Decryptor) NonceSize() int { function NewDecryptor (line 15) | func NewDecryptor(encryptionKey []byte, nonceMask []byte) *Decryptor { FILE: transport/internet/tlsmirror/mirrorcrypto/derive_key.go function DeriveEncryptionKey (line 8) | func DeriveEncryptionKey(primaryKey, clientRandom, serverRandom []byte, ... function DeriveSecondaryKey (line 36) | func DeriveSecondaryKey(primaryKey []byte, tag string) ([]byte, error) { function DeriveSequenceWatermarkingKey (line 50) | func DeriveSequenceWatermarkingKey(primaryKey, clientRandom, serverRando... FILE: transport/internet/tlsmirror/mirrorcrypto/encrypter.go type Encryptor (line 9) | type Encryptor struct method Seal (line 22) | func (e *Encryptor) Seal(dst, src []byte) ([]byte, error) { method NonceSize (line 28) | func (e *Encryptor) NonceSize() int { function NewEncryptor (line 14) | func NewEncryptor(encryptionKey []byte, nonceMask []byte) *Encryptor { FILE: transport/internet/tlsmirror/mirrorcrypto/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/mirrorcrypto/mirrorcrypto.go function generateInitialAEADNonce (line 7) | func generateInitialAEADNonce() crypto.BytesGenerator { FILE: transport/internet/tlsmirror/mirrorcrypto/tls_cipher_suites.go constant aeadNonceLength (line 10) | aeadNonceLength = 12 type aead (line 13) | type aead interface type xorNonceAEAD (line 24) | type xorNonceAEAD struct method NonceSize (line 29) | func (f *xorNonceAEAD) NonceSize() int { return 8 } method Overhead (line 30) | func (f *xorNonceAEAD) Overhead() int { return f.aead.Overhead... method explicitNonceLen (line 31) | func (f *xorNonceAEAD) explicitNonceLen() int { return 0 } method Seal (line 33) | func (f *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []by... method Open (line 45) | func (f *xorNonceAEAD) Open(out, nonce, ciphertext, additionalData []b... function aeadChaCha20Poly1305 (line 57) | func aeadChaCha20Poly1305(key, nonceMask []byte) aead { FILE: transport/internet/tlsmirror/mirrorcrypto/tls_cipher_suites_linkname.go function aeadAESGCMTLS13 (line 11) | func aeadAESGCMTLS13(key, nonceMask []byte) cipher.AEAD FILE: transport/internet/tlsmirror/mirrorenrollment/cancelContextOnCloseConn.go function NewCancelContextOnCloseConn (line 8) | func NewCancelContextOnCloseConn(conn net.Conn, done context.CancelFunc)... type cancelContextOnCloseConn (line 15) | type cancelContextOnCloseConn struct method Close (line 20) | func (c *cancelContextOnCloseConn) Close() error { FILE: transport/internet/tlsmirror/mirrorenrollment/clicommand/enrollmentlink_cli.go function init (line 102) | func init() { FILE: transport/internet/tlsmirror/mirrorenrollment/client.go function NewEnrollmentConfirmationClient (line 17) | func NewEnrollmentConfirmationClient( type EnrollmentConfirmationClient (line 57) | type EnrollmentConfirmationClient struct method VerifyConnectionEnrollment (line 68) | func (c *EnrollmentConfirmationClient) VerifyConnectionEnrollment(req ... method init (line 95) | func (c *EnrollmentConfirmationClient) init() error { FILE: transport/internet/tlsmirror/mirrorenrollment/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 20) | type Config struct method Reset (line 34) | func (x *Config) Reset() { method String (line 41) | func (x *Config) String() string { method ProtoMessage (line 45) | func (*Config) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Config) Descriptor() ([]byte, []int) { method GetPrimaryIngressOutbound (line 64) | func (x *Config) GetPrimaryIngressOutbound() string { method GetPrimaryEgressOutbound (line 71) | func (x *Config) GetPrimaryEgressOutbound() string { method GetBootstrapIngressUrl (line 78) | func (x *Config) GetBootstrapIngressUrl() []string { method GetBootstrapEgressUrl (line 85) | func (x *Config) GetBootstrapEgressUrl() []string { method GetBootstrapIngressConfig (line 92) | func (x *Config) GetBootstrapIngressConfig() []*anypb.Any { method GetBootstrapEgressConfig (line 99) | func (x *Config) GetBootstrapEgressConfig() []*anypb.Any { method GetBootstrapEgressOutbound (line 106) | func (x *Config) GetBootstrapEgressOutbound() string { constant file_transport_internet_tlsmirror_mirrorenrollment_config_proto_rawDesc (line 115) | file_transport_internet_tlsmirror_mirrorenrollment_config_proto_rawDesc ... function file_transport_internet_tlsmirror_mirrorenrollment_config_proto_rawDescGZIP (line 133) | func file_transport_internet_tlsmirror_mirrorenrollment_config_proto_raw... function init (line 155) | func init() { file_transport_internet_tlsmirror_mirrorenrollment_config_... function file_transport_internet_tlsmirror_mirrorenrollment_config_proto_init (line 156) | func file_transport_internet_tlsmirror_mirrorenrollment_config_proto_ini... FILE: transport/internet/tlsmirror/mirrorenrollment/enrollmentlink.go constant enrollmentDataMIME (line 14) | enrollmentDataMIME = "application/vnd.v2ray.tlsmirror-enrollment" function LinkFromAny (line 21) | func LinkFromAny(a *anypb.Any) (string, error) { function AnyFromLink (line 37) | func AnyFromLink(link string) (*anypb.Any, error) { function fmtErr (line 94) | func fmtErr(format string, a ...interface{}) error { FILE: transport/internet/tlsmirror/mirrorenrollment/enrollmentlink_test.go function TestLinkRoundTrip (line 14) | func TestLinkRoundTrip(t *testing.T) { function TestLinkFromAnyProducesValidDataURL (line 37) | func TestLinkFromAnyProducesValidDataURL(t *testing.T) { function TestLegacyTLSMirrorScheme (line 72) | func TestLegacyTLSMirrorScheme(t *testing.T) { function TestPlainBase64Input (line 89) | func TestPlainBase64Input(t *testing.T) { function TestInvalidInput (line 105) | func TestInvalidInput(t *testing.T) { function TestRejectWrongMIME (line 115) | func TestRejectWrongMIME(t *testing.T) { function TestRejectMissingBase64Param (line 125) | func TestRejectMissingBase64Param(t *testing.T) { function TestAcceptExtraParams (line 135) | func TestAcceptExtraParams(t *testing.T) { function TestRejectNonBase64Payload (line 149) | func TestRejectNonBase64Payload(t *testing.T) { function TestRejectURLEncodedPayload (line 156) | func TestRejectURLEncodedPayload(t *testing.T) { function TestCaseSensitiveMIME (line 169) | func TestCaseSensitiveMIME(t *testing.T) { function TestLargePayloadRoundTrip (line 179) | func TestLargePayloadRoundTrip(t *testing.T) { function TestRejectRawURLEncodingInDataURL (line 200) | func TestRejectRawURLEncodingInDataURL(t *testing.T) { FILE: transport/internet/tlsmirror/mirrorenrollment/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/mirrorenrollment/httpenrollmentconfirmation/client.go function NewHTTPEnrollmentConfirmationClientFromHTTPRoundTripper (line 14) | func NewHTTPEnrollmentConfirmationClientFromHTTPRoundTripper(tripper htt... type client (line 23) | type client struct method VerifyConnectionEnrollment (line 27) | func (c *client) VerifyConnectionEnrollment(req *tlsmirror.EnrollmentC... FILE: transport/internet/tlsmirror/mirrorenrollment/httpenrollmentconfirmation/clientbuilder.go function NewClientRoundTripperForEnrollmentConfirmation (line 16) | func NewClientRoundTripperForEnrollmentConfirmation( type RoundTripperMetadata (line 33) | type RoundTripperMetadata interface type clientRoundtripper (line 37) | type clientRoundtripper struct method IsCreatingSecondaryNewConnection (line 50) | func (c *clientRoundtripper) IsCreatingSecondaryNewConnection() bool { method RoundTrip (line 56) | func (c *clientRoundtripper) RoundTrip(request *http.Request) (*http.R... method roundTrip (line 63) | func (c *clientRoundtripper) roundTrip(request *http.Request) (*http.R... method createNewConnection (line 112) | func (c *clientRoundtripper) createNewConnection() error { FILE: transport/internet/tlsmirror/mirrorenrollment/httpenrollmentconfirmation/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/mirrorenrollment/httpenrollmentconfirmation/hub.go function NewHTTPConnectionHub (line 11) | func NewHTTPConnectionHub(handler http.Handler) *HTTPConnectionHub { type HTTPConnectionHub (line 18) | type HTTPConnectionHub struct method ServeConnection (line 23) | func (h *HTTPConnectionHub) ServeConnection(ctx context.Context, conn ... FILE: transport/internet/tlsmirror/mirrorenrollment/httpenrollmentconfirmation/server.go function NewHTTPEnrollmentConfirmationServerFromConnectionEnrollmentConfirmation (line 13) | func NewHTTPEnrollmentConfirmationServerFromConnectionEnrollmentConfirma... type server (line 22) | type server struct method ServeHTTP (line 26) | func (s *server) ServeHTTP(writer http.ResponseWriter, request *http.R... FILE: transport/internet/tlsmirror/mirrorenrollment/keyderivation.go type EnrollmentKey (line 7) | type EnrollmentKey struct function DeriveEnrollmentKeyWithClientAndServerRandom (line 12) | func DeriveEnrollmentKeyWithClientAndServerRandom(primaryKey []byte, cli... function DeriveEnrollmentServerIdentifier (line 24) | func DeriveEnrollmentServerIdentifier(primaryKey []byte) ([]byte, error) { FILE: transport/internet/tlsmirror/mirrorenrollment/roundtripperenrollmentconfirmation/client.go function NewClient (line 21) | func NewClient(ctx context.Context, config *ClientConfig) (*Client, erro... type Client (line 62) | type Client struct method OnConnectionEnrollmentConfirmationClientInstanceConfigReady (line 73) | func (c *Client) OnConnectionEnrollmentConfirmationClientInstanceConfi... method Dial (line 77) | func (c *Client) Dial(ctx context.Context) (net.Conn, error) { method Tripper (line 113) | func (c *Client) Tripper() request.Tripper { method AutoImplDialer (line 117) | func (c *Client) AutoImplDialer() request.Dialer { method VerifyConnectionEnrollment (line 121) | func (c *Client) VerifyConnectionEnrollment(req *tlsmirror.EnrollmentC... function init (line 154) | func init() { FILE: transport/internet/tlsmirror/mirrorenrollment/roundtripperenrollmentconfirmation/config.pb.go constant _ (line 15) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 17) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ClientConfig (line 20) | type ClientConfig struct method Reset (line 31) | func (x *ClientConfig) Reset() { method String (line 38) | func (x *ClientConfig) String() string { method ProtoMessage (line 42) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 44) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetRoundTripperClient (line 61) | func (x *ClientConfig) GetRoundTripperClient() *anypb.Any { method GetSecurityConfig (line 68) | func (x *ClientConfig) GetSecurityConfig() *anypb.Any { method GetDest (line 75) | func (x *ClientConfig) GetDest() string { method GetOutboundTag (line 82) | func (x *ClientConfig) GetOutboundTag() string { method GetServerIdentity (line 89) | func (x *ClientConfig) GetServerIdentity() []byte { type ServerInverseRoleConfig (line 96) | type ServerInverseRoleConfig struct method Reset (line 107) | func (x *ServerInverseRoleConfig) Reset() { method String (line 114) | func (x *ServerInverseRoleConfig) String() string { method ProtoMessage (line 118) | func (*ServerInverseRoleConfig) ProtoMessage() {} method ProtoReflect (line 120) | func (x *ServerInverseRoleConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 133) | func (*ServerInverseRoleConfig) Descriptor() ([]byte, []int) { method GetRoundTripperClient (line 137) | func (x *ServerInverseRoleConfig) GetRoundTripperClient() *anypb.Any { method GetSecurityConfig (line 144) | func (x *ServerInverseRoleConfig) GetSecurityConfig() *anypb.Any { method GetDest (line 151) | func (x *ServerInverseRoleConfig) GetDest() string { method GetOutboundTag (line 158) | func (x *ServerInverseRoleConfig) GetOutboundTag() string { method GetServerIdentity (line 165) | func (x *ServerInverseRoleConfig) GetServerIdentity() []byte { type ServerConfig (line 172) | type ServerConfig struct method Reset (line 180) | func (x *ServerConfig) Reset() { method String (line 187) | func (x *ServerConfig) String() string { method ProtoMessage (line 191) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 193) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 206) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetRoundTripperServer (line 210) | func (x *ServerConfig) GetRoundTripperServer() *anypb.Any { method GetListen (line 217) | func (x *ServerConfig) GetListen() string { constant file_transport_internet_tlsmirror_mirrorenrollment_roundtripperenrollmentconfirmation_config_proto_rawDesc (line 226) | file_transport_internet_tlsmirror_mirrorenrollment_roundtripperenrollmen... function file_transport_internet_tlsmirror_mirrorenrollment_roundtripperenrollmentconfirmation_config_proto_rawDescGZIP (line 251) | func file_transport_internet_tlsmirror_mirrorenrollment_roundtripperenro... function init (line 278) | func init() { function file_transport_internet_tlsmirror_mirrorenrollment_roundtripperenrollmentconfirmation_config_proto_init (line 281) | func file_transport_internet_tlsmirror_mirrorenrollment_roundtripperenro... FILE: transport/internet/tlsmirror/mirrorenrollment/roundtripperenrollmentconfirmation/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/mirrorenrollment/roundtripperenrollmentconfirmation/server.go function NewServer (line 19) | func NewServer(ctx context.Context, config *ServerConfig) (*Server, erro... type Server (line 31) | type Server struct method OnConnectionEnrollmentConfirmationServerInstanceConfigReady (line 38) | func (s *Server) OnConnectionEnrollmentConfirmationServerInstanceConfi... method Listen (line 42) | func (s *Server) Listen(ctx context.Context) (v2net.Listener, error) { method OnRoundTrip (line 57) | func (s *Server) OnRoundTrip(ctx context.Context, req request.Request,... method TripperReceiver (line 76) | func (s *Server) TripperReceiver() request.TripperReceiver { method SessionReceiver (line 80) | func (s *Server) SessionReceiver() request.SessionReceiver { method AutoImplListener (line 84) | func (s *Server) AutoImplListener() request.Listener { method init (line 88) | func (s *Server) init() error { function init (line 115) | func init() { FILE: transport/internet/tlsmirror/mirrorenrollment/roundtripperenrollmentconfirmation/serverinverserole.go function NewServerInverseRole (line 20) | func NewServerInverseRole(ctx context.Context, config *ServerInverseRole... type ServerInverseRole (line 63) | type ServerInverseRole struct method worker (line 76) | func (c *ServerInverseRole) worker(ctx context.Context) { method Dial (line 86) | func (c *ServerInverseRole) Dial(ctx context.Context) (net.Conn, error) { method Tripper (line 122) | func (c *ServerInverseRole) Tripper() request.Tripper { method AutoImplDialer (line 126) | func (c *ServerInverseRole) AutoImplDialer() request.Dialer { method OnConnectionEnrollmentConfirmationServerInstanceConfigReady (line 130) | func (s *ServerInverseRole) OnConnectionEnrollmentConfirmationServerIn... method pollRemoteForEnrollment (line 134) | func (s *ServerInverseRole) pollRemoteForEnrollment(ctx context.Contex... function init (line 171) | func init() { FILE: transport/internet/tlsmirror/mirrorenrollment/server.go function NewEnrollmentConfirmationServer (line 13) | func NewEnrollmentConfirmationServer(ctx context.Context, config *Config... type EnrollmentConfirmationServer (line 61) | type EnrollmentConfirmationServer struct method HandlePrimaryIngressConnection (line 72) | func (s *EnrollmentConfirmationServer) HandlePrimaryIngressConnection(... method init (line 80) | func (s *EnrollmentConfirmationServer) init() error { FILE: transport/internet/tlsmirror/mirrorenrollment/serverenrollmentprocessor.go function NewServerEnrollmentProcessor (line 10) | func NewServerEnrollmentProcessor(primaryKey []byte) (tlsmirror.Connecti... type serverEnrollmentProcessor (line 20) | type serverEnrollmentProcessor struct method AddConnection (line 25) | func (p *serverEnrollmentProcessor) AddConnection(ctx context.Context,... method VerifyConnectionEnrollment (line 45) | func (p *serverEnrollmentProcessor) VerifyConnectionEnrollment(req *tl... FILE: transport/internet/tlsmirror/server/ciphersuits_lookup.go function newEmptyCipherSuiteLookuper (line 3) | func newEmptyCipherSuiteLookuper() *ciphersuiteLookuper { function newCipherSuiteLookuperFromUint32Array (line 9) | func newCipherSuiteLookuperFromUint32Array(source []uint32) (*ciphersuit... function newCipherSuiteLookuperFromUint16Array (line 23) | func newCipherSuiteLookuperFromUint16Array(source []uint16) *ciphersuite... type ciphersuiteLookuper (line 33) | type ciphersuiteLookuper struct method Lookup (line 37) | func (l *ciphersuiteLookuper) Lookup(ciphersuite uint16) bool { FILE: transport/internet/tlsmirror/server/client.go function newPersistentMirrorTLSDialer (line 26) | func newPersistentMirrorTLSDialer(ctx context.Context, config *Config, s... type persistentMirrorTLSDialer (line 41) | type persistentMirrorTLSDialer struct method init (line 66) | func (d *persistentMirrorTLSDialer) init(ctx context.Context, config *... method handleIncomingCarrierConnection (line 163) | func (d *persistentMirrorTLSDialer) handleIncomingCarrierConnection(ct... method handleIncomingReadyConnection (line 215) | func (d *persistentMirrorTLSDialer) handleIncomingReadyConnection(conn... method Dial (line 263) | func (d *persistentMirrorTLSDialer) Dial(ctx context.Context, type connectionContextGetter (line 207) | type connectionContextGetter interface type verifyConnectionEnrollment (line 211) | type verifyConnectionEnrollment interface function Dial (line 300) | func Dial(ctx context.Context, dest net.Destination, settings *internet.... function init (line 326) | func init() { FILE: transport/internet/tlsmirror/server/client_conn.go type clientConnState (line 20) | type clientConnState struct method GetConnectionContext (line 49) | func (s *clientConnState) GetConnectionContext() context.Context { method Read (line 53) | func (s *clientConnState) Read(b []byte) (n int, err error) { method Write (line 83) | func (s *clientConnState) Write(b []byte) (n int, err error) { method Close (line 106) | func (s *clientConnState) Close() error { method LocalAddr (line 112) | func (s *clientConnState) LocalAddr() gonet.Addr { method RemoteAddr (line 116) | func (s *clientConnState) RemoteAddr() gonet.Addr { method SetDeadline (line 120) | func (s *clientConnState) SetDeadline(t time.Time) error { method SetReadDeadline (line 124) | func (s *clientConnState) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 128) | func (s *clientConnState) SetWriteDeadline(t time.Time) error { method onC2SMessage (line 132) | func (s *clientConnState) onC2SMessage(message *tlsmirror.TLSRecord) (... method onS2CMessage (line 169) | func (s *clientConnState) onS2CMessage(message *tlsmirror.TLSRecord) (... method WriteMessage (line 219) | func (s *clientConnState) WriteMessage(message []byte) error { method VerifyConnectionEnrollmentWithProcessor (line 239) | func (s *clientConnState) VerifyConnectionEnrollmentWithProcessor(conn... method onC2SMessageTx (line 270) | func (s *clientConnState) onC2SMessageTx(message *tlsmirror.TLSRecord)... method onS2CMessageTx (line 300) | func (s *clientConnState) onS2CMessageTx(message *tlsmirror.TLSRecord)... FILE: transport/internet/tlsmirror/server/config.pb.go constant _ (line 16) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 18) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type TimeSpec (line 21) | type TimeSpec struct method Reset (line 29) | func (x *TimeSpec) Reset() { method String (line 36) | func (x *TimeSpec) String() string { method ProtoMessage (line 40) | func (*TimeSpec) ProtoMessage() {} method ProtoReflect (line 42) | func (x *TimeSpec) ProtoReflect() protoreflect.Message { method Descriptor (line 55) | func (*TimeSpec) Descriptor() ([]byte, []int) { method GetBaseNanoseconds (line 59) | func (x *TimeSpec) GetBaseNanoseconds() uint64 { method GetUniformRandomMultiplierNanoseconds (line 66) | func (x *TimeSpec) GetUniformRandomMultiplierNanoseconds() uint64 { type TransportLayerPadding (line 73) | type TransportLayerPadding struct method Reset (line 80) | func (x *TransportLayerPadding) Reset() { method String (line 87) | func (x *TransportLayerPadding) String() string { method ProtoMessage (line 91) | func (*TransportLayerPadding) ProtoMessage() {} method ProtoReflect (line 93) | func (x *TransportLayerPadding) ProtoReflect() protoreflect.Message { method Descriptor (line 106) | func (*TransportLayerPadding) Descriptor() ([]byte, []int) { method GetEnabled (line 110) | func (x *TransportLayerPadding) GetEnabled() bool { type Config (line 117) | type Config struct method Reset (line 134) | func (x *Config) Reset() { method String (line 141) | func (x *Config) String() string { method ProtoMessage (line 145) | func (*Config) ProtoMessage() {} method ProtoReflect (line 147) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 160) | func (*Config) Descriptor() ([]byte, []int) { method GetForwardAddress (line 164) | func (x *Config) GetForwardAddress() string { method GetForwardPort (line 171) | func (x *Config) GetForwardPort() uint32 { method GetForwardTag (line 178) | func (x *Config) GetForwardTag() string { method GetCarrierConnectionTag (line 185) | func (x *Config) GetCarrierConnectionTag() string { method GetEmbeddedTrafficGenerator (line 192) | func (x *Config) GetEmbeddedTrafficGenerator() *tlstrafficgen.Config { method GetPrimaryKey (line 199) | func (x *Config) GetPrimaryKey() []byte { method GetExplicitNonceCiphersuites (line 206) | func (x *Config) GetExplicitNonceCiphersuites() []uint32 { method GetDeferInstanceDerivedWriteTime (line 213) | func (x *Config) GetDeferInstanceDerivedWriteTime() *TimeSpec { method GetTransportLayerPadding (line 220) | func (x *Config) GetTransportLayerPadding() *TransportLayerPadding { method GetConnectionEnrolment (line 227) | func (x *Config) GetConnectionEnrolment() *mirrorenrollment.Config { method GetSequenceWatermarkingEnabled (line 234) | func (x *Config) GetSequenceWatermarkingEnabled() bool { constant file_transport_internet_tlsmirror_server_config_proto_rawDesc (line 243) | file_transport_internet_tlsmirror_server_config_proto_rawDesc = "" + function file_transport_internet_tlsmirror_server_config_proto_rawDescGZIP (line 274) | func file_transport_internet_tlsmirror_server_config_proto_rawDescGZIP()... function init (line 301) | func init() { file_transport_internet_tlsmirror_server_config_proto_init... function file_transport_internet_tlsmirror_server_config_proto_init (line 302) | func file_transport_internet_tlsmirror_server_config_proto_init() { FILE: transport/internet/tlsmirror/server/conn.go type connState (line 18) | type connState struct method VerifyConnectionEnrollment (line 52) | func (s *connState) VerifyConnectionEnrollment(req *tlsmirror.Enrollme... method Read (line 56) | func (s *connState) Read(b []byte) (n int, err error) { method Write (line 86) | func (s *connState) Write(b []byte) (n int, err error) { method LocalAddr (line 109) | func (s *connState) LocalAddr() net.Addr { method RemoteAddr (line 113) | func (s *connState) RemoteAddr() net.Addr { method SetDeadline (line 117) | func (s *connState) SetDeadline(t time.Time) error { method SetReadDeadline (line 121) | func (s *connState) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 125) | func (s *connState) SetWriteDeadline(t time.Time) error { method Close (line 129) | func (s *connState) Close() error { method onS2CMessage (line 140) | func (s *connState) onS2CMessage(message *tlsmirror.TLSRecord) (drop b... method onC2SMessage (line 162) | func (s *connState) onC2SMessage(message *tlsmirror.TLSRecord) (drop b... method WriteMessage (line 240) | func (s *connState) WriteMessage(message []byte) error { method onC2SMessageTx (line 261) | func (s *connState) onC2SMessageTx(message *tlsmirror.TLSRecord) (drop... method onS2CMessageTx (line 265) | func (s *connState) onS2CMessageTx(message *tlsmirror.TLSRecord) (drop... FILE: transport/internet/tlsmirror/server/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/server/hub.go function ListenTLSMirror (line 12) | func ListenTLSMirror(ctx context.Context, address net.Address, port net.... constant protocolName (line 31) | protocolName = "tlsmirror" function init (line 33) | func init() { function init (line 37) | func init() { FILE: transport/internet/tlsmirror/server/outbound.go function NewOutboundListener (line 13) | func NewOutboundListener() *OutboundListener { type connWithContext (line 20) | type connWithContext struct method GetConnectionContext (line 25) | func (c *connWithContext) GetConnectionContext() context.Context { type OutboundListener (line 30) | type OutboundListener struct method addWithContext (line 35) | func (l *OutboundListener) addWithContext(ctx context.Context, conn ne... method Accept (line 46) | func (l *OutboundListener) Accept() (net.Conn, error) { method Close (line 56) | func (l *OutboundListener) Close() error { method Addr (line 71) | func (l *OutboundListener) Addr() net.Addr { function NewOutbound (line 78) | func NewOutbound(tag string, listener *OutboundListener) *Outbound { type Outbound (line 86) | type Outbound struct method Dispatch (line 94) | func (co *Outbound) Dispatch(ctx context.Context, link *transport.Link) { method Tag (line 112) | func (co *Outbound) Tag() string { method Start (line 117) | func (co *Outbound) Start() error { method Close (line 125) | func (co *Outbound) Close() error { FILE: transport/internet/tlsmirror/server/padding.go function Pack (line 24) | func Pack(data_OWNERSHIP_RELINQUISHED []byte, paddingLength int) []byte { function Pad (line 34) | func Pad(paddingLength int) []byte { function Unpack (line 58) | func Unpack(wrappedData_OWNERSHIP_RELINQUISHED []byte) ([]byte, int) { FILE: transport/internet/tlsmirror/server/server.go type Server (line 24) | type Server struct method process (line 43) | func (s *Server) process(conn net.Conn) { method accepts (line 66) | func (s *Server) accepts() { method Close (line 84) | func (s *Server) Close() error { method Addr (line 93) | func (s *Server) Addr() net.Addr { method accept (line 97) | func (s *Server) accept(clientConn net.Conn, serverConn net.Conn) { method onIncomingReadyConnection (line 138) | func (s *Server) onIncomingReadyConnection(conn internet.Connection) { method init (line 142) | func (s *Server) init() error { function NewServer (line 196) | func NewServer(ctx context.Context, listener net.Listener, config *Confi... FILE: transport/internet/tlsmirror/tlstrafficgen/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type TimeSpec (line 19) | type TimeSpec struct method Reset (line 27) | func (x *TimeSpec) Reset() { method String (line 34) | func (x *TimeSpec) String() string { method ProtoMessage (line 38) | func (*TimeSpec) ProtoMessage() {} method ProtoReflect (line 40) | func (x *TimeSpec) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*TimeSpec) Descriptor() ([]byte, []int) { method GetBaseNanoseconds (line 57) | func (x *TimeSpec) GetBaseNanoseconds() uint64 { method GetUniformRandomMultiplierNanoseconds (line 64) | func (x *TimeSpec) GetUniformRandomMultiplierNanoseconds() uint64 { type Header (line 71) | type Header struct method Reset (line 80) | func (x *Header) Reset() { method String (line 87) | func (x *Header) String() string { method ProtoMessage (line 91) | func (*Header) ProtoMessage() {} method ProtoReflect (line 93) | func (x *Header) ProtoReflect() protoreflect.Message { method Descriptor (line 106) | func (*Header) Descriptor() ([]byte, []int) { method GetName (line 110) | func (x *Header) GetName() string { method GetValue (line 117) | func (x *Header) GetValue() string { method GetValues (line 124) | func (x *Header) GetValues() []string { type TransferCandidate (line 131) | type TransferCandidate struct method Reset (line 139) | func (x *TransferCandidate) Reset() { method String (line 146) | func (x *TransferCandidate) String() string { method ProtoMessage (line 150) | func (*TransferCandidate) ProtoMessage() {} method ProtoReflect (line 152) | func (x *TransferCandidate) ProtoReflect() protoreflect.Message { method Descriptor (line 165) | func (*TransferCandidate) Descriptor() ([]byte, []int) { method GetWeight (line 169) | func (x *TransferCandidate) GetWeight() int32 { method GetGotoLocation (line 176) | func (x *TransferCandidate) GetGotoLocation() int64 { type Step (line 183) | type Step struct method Reset (line 199) | func (x *Step) Reset() { method String (line 206) | func (x *Step) String() string { method ProtoMessage (line 210) | func (*Step) ProtoMessage() {} method ProtoReflect (line 212) | func (x *Step) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*Step) Descriptor() ([]byte, []int) { method GetName (line 229) | func (x *Step) GetName() string { method GetHost (line 236) | func (x *Step) GetHost() string { method GetPath (line 243) | func (x *Step) GetPath() string { method GetMethod (line 250) | func (x *Step) GetMethod() string { method GetNextStep (line 257) | func (x *Step) GetNextStep() []*TransferCandidate { method GetConnectionReady (line 264) | func (x *Step) GetConnectionReady() bool { method GetHeaders (line 271) | func (x *Step) GetHeaders() []*Header { method GetConnectionRecallExit (line 278) | func (x *Step) GetConnectionRecallExit() bool { method GetWaitTime (line 285) | func (x *Step) GetWaitTime() *TimeSpec { method GetH2DoNotWaitForDownloadFinish (line 292) | func (x *Step) GetH2DoNotWaitForDownloadFinish() bool { type Config (line 299) | type Config struct method Reset (line 307) | func (x *Config) Reset() { method String (line 314) | func (x *Config) String() string { method ProtoMessage (line 318) | func (*Config) ProtoMessage() {} method ProtoReflect (line 320) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 333) | func (*Config) Descriptor() ([]byte, []int) { method GetSteps (line 337) | func (x *Config) GetSteps() []*Step { method GetSecuritySettings (line 344) | func (x *Config) GetSecuritySettings() *anypb.Any { constant file_transport_internet_tlsmirror_tlstrafficgen_config_proto_rawDesc (line 353) | file_transport_internet_tlsmirror_tlstrafficgen_config_proto_rawDesc = "" + function file_transport_internet_tlsmirror_tlstrafficgen_config_proto_rawDescGZIP (line 388) | func file_transport_internet_tlsmirror_tlstrafficgen_config_proto_rawDes... function init (line 417) | func init() { file_transport_internet_tlsmirror_tlstrafficgen_config_pro... function file_transport_internet_tlsmirror_tlstrafficgen_config_proto_init (line 418) | func file_transport_internet_tlsmirror_tlstrafficgen_config_proto_init() { FILE: transport/internet/tlsmirror/tlstrafficgen/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/tlsmirror/tlstrafficgen/trafficgen.go type TrafficGenerator (line 24) | type TrafficGenerator struct method GenerateNextTraffic (line 92) | func (generator *TrafficGenerator) GenerateNextTraffic(ctx context.Con... method tlsHandshake (line 254) | func (generator *TrafficGenerator) tlsHandshake(conn net.Conn) (securi... function NewTrafficGenerator (line 32) | func NewTrafficGenerator(ctx context.Context, config *Config, destinatio... type trafficGeneratorManagedConnectionController (line 41) | type trafficGeneratorManagedConnectionController struct method WaitConnectionReady (line 66) | func (t *trafficGeneratorManagedConnectionController) WaitConnectionRe... method RecallTrafficGenerator (line 70) | func (t *trafficGeneratorManagedConnectionController) RecallTrafficGen... method IsConnectionInvalidated (line 75) | func (t *trafficGeneratorManagedConnectionController) IsConnectionInva... function newTrafficGeneratorManagedConnectionController (line 52) | func newTrafficGeneratorManagedConnectionController(parent context.Conte... function randIntN (line 80) | func randIntN(max int64) int64 { function randFloat64 (line 88) | func randFloat64() float64 { FILE: transport/internet/transportcommon/dialer.go function DialWithSecuritySettings (line 15) | func DialWithSecuritySettings(ctx context.Context, dest net.Destination,... FILE: transport/internet/transportcommon/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/transportcommon/httpDialer.go type DialerFunc (line 18) | type DialerFunc function NewALPNAwareHTTPRoundTripper (line 20) | func NewALPNAwareHTTPRoundTripper(ctx context.Context, dialer DialerFunc, function NewALPNAwareHTTPRoundTripperWithH2Pool (line 28) | func NewALPNAwareHTTPRoundTripperWithH2Pool(ctx context.Context, dialer ... type alpnAwareHTTPRoundTripperImpl (line 43) | type alpnAwareHTTPRoundTripperImpl struct method RoundTrip (line 71) | func (r *alpnAwareHTTPRoundTripperImpl) RoundTrip(req *http.Request) (... method getShouldConnectWithH1 (line 96) | func (r *alpnAwareHTTPRoundTripperImpl) getShouldConnectWithH1(domainN... method setShouldConnectWithH1 (line 105) | func (r *alpnAwareHTTPRoundTripperImpl) setShouldConnectWithH1(domainN... method clearShouldConnectWithH1 (line 111) | func (r *alpnAwareHTTPRoundTripperImpl) clearShouldConnectWithH1(domai... method putConn (line 121) | func (r *alpnAwareHTTPRoundTripperImpl) putConn(addr string, alpnIsH2 ... method getConn (line 126) | func (r *alpnAwareHTTPRoundTripperImpl) getConn(addr string, alpnIsH2 ... method dialOrGetTLSWithExpectedALPN (line 137) | func (r *alpnAwareHTTPRoundTripperImpl) dialOrGetTLSWithExpectedALPN(c... method dialTLS (line 181) | func (r *alpnAwareHTTPRoundTripperImpl) dialTLS(ctx context.Context, a... method init (line 186) | func (r *alpnAwareHTTPRoundTripperImpl) init() { type pendingConnKey (line 60) | type pendingConnKey struct function getPendingConnectionID (line 117) | func getPendingConnectionID(dest string, alpnIsH2 bool) pendingConnKey { function NewUnclaimedConnection (line 209) | func NewUnclaimedConnection(conn net.Conn, expireTime time.Duration) *un... type unclaimedConnection (line 217) | type unclaimedConnection struct method claimConnection (line 223) | func (c *unclaimedConnection) claimConnection() (net.Conn, error) { method tick (line 233) | func (c *unclaimedConnection) tick() { type h2TransportFactory (line 243) | type h2TransportFactory function newH2TransportPool (line 245) | func newH2TransportPool(size int64, h2factory h2TransportFactory) *h2Tra... type h2TransportPool (line 253) | type h2TransportPool struct method RoundTrip (line 260) | func (h *h2TransportPool) RoundTrip(request *http.Request) (*http.Resp... FILE: transport/internet/transportcommon/listener.go function ListenWithSecuritySettings (line 15) | func ListenWithSecuritySettings(ctx context.Context, address net.Address... FILE: transport/internet/udp/config.go function init (line 8) | func init() { FILE: transport/internet/udp/config.pb.go constant _ (line 13) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 15) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Config (line 18) | type Config struct method Reset (line 24) | func (x *Config) Reset() { method String (line 31) | func (x *Config) String() string { method ProtoMessage (line 35) | func (*Config) ProtoMessage() {} method ProtoReflect (line 37) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 50) | func (*Config) Descriptor() ([]byte, []int) { constant file_transport_internet_udp_config_proto_rawDesc (line 56) | file_transport_internet_udp_config_proto_rawDesc = "" + function file_transport_internet_udp_config_proto_rawDescGZIP (line 67) | func file_transport_internet_udp_config_proto_rawDescGZIP() []byte { function init (line 86) | func init() { file_transport_internet_udp_config_proto_init() } function file_transport_internet_udp_config_proto_init (line 87) | func file_transport_internet_udp_config_proto_init() { FILE: transport/internet/udp/copy.go type dataHandler (line 10) | type dataHandler type copyHandler (line 12) | type copyHandler struct type CopyOption (line 16) | type CopyOption function CopyPacketConn (line 18) | func CopyPacketConn(dst internet.AbstractPacketConnWriter, src internet.... function UpdateActivity (line 41) | func UpdateActivity(timer signal.ActivityUpdater) CopyOption { FILE: transport/internet/udp/dialer.go function init (line 11) | func init() { FILE: transport/internet/udp/dispatcher.go type DispatcherI (line 12) | type DispatcherI interface type DispatcherConnectionTerminationSignalReceiver (line 19) | type DispatcherConnectionTerminationSignalReceiver interface FILE: transport/internet/udp/dispatcher_packetaddr.go type PacketAddrDispatcher (line 13) | type PacketAddrDispatcher struct method Close (line 19) | func (p PacketAddrDispatcher) Close() error { method Dispatch (line 26) | func (p PacketAddrDispatcher) Dispatch(ctx context.Context, destinatio... method readWorker (line 39) | func (p PacketAddrDispatcher) readWorker() { type PacketAddrDispatcherCreator (line 51) | type PacketAddrDispatcherCreator struct method NewPacketAddrDispatcher (line 59) | func (pdc *PacketAddrDispatcherCreator) NewPacketAddrDispatcher( function NewPacketAddrDispatcherCreator (line 55) | func NewPacketAddrDispatcherCreator(ctx context.Context) PacketAddrDispa... FILE: transport/internet/udp/dispatcher_split.go type ResponseCallback (line 20) | type ResponseCallback type connEntry (line 22) | type connEntry struct type Dispatcher (line 28) | type Dispatcher struct method Close (line 35) | func (v *Dispatcher) Close() error { method RemoveRay (line 47) | func (v *Dispatcher) RemoveRay(dest net.Destination) { method getInboundRay (line 57) | func (v *Dispatcher) getInboundRay(ctx context.Context, dest net.Desti... method Dispatch (line 84) | func (v *Dispatcher) Dispatch(ctx context.Context, destination net.Des... function NewSplitDispatcher (line 39) | func NewSplitDispatcher(dispatcher routing.Dispatcher, callback Response... function handleInput (line 99) | func handleInput(ctx context.Context, conn *connEntry, dest net.Destinat... type dispatcherConn (line 127) | type dispatcherConn struct method callback (line 144) | func (c *dispatcherConn) callback(ctx context.Context, packet *udp.Pac... method ReadFrom (line 156) | func (c *dispatcherConn) ReadFrom(p []byte) (int, net.Addr, error) { method WriteTo (line 169) | func (c *dispatcherConn) WriteTo(p []byte, addr net.Addr) (int, error) { method Close (line 180) | func (c *dispatcherConn) Close() error { method LocalAddr (line 184) | func (c *dispatcherConn) LocalAddr() net.Addr { method SetDeadline (line 191) | func (c *dispatcherConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 195) | func (c *dispatcherConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 199) | func (c *dispatcherConn) SetWriteDeadline(t time.Time) error { function DialDispatcher (line 133) | func DialDispatcher(ctx context.Context, dispatcher routing.Dispatcher) ... FILE: transport/internet/udp/dispatcher_split_test.go type TestDispatcher (line 19) | type TestDispatcher struct method Dispatch (line 23) | func (d *TestDispatcher) Dispatch(ctx context.Context, dest net.Destin... method Start (line 27) | func (d *TestDispatcher) Start() error { method Close (line 31) | func (d *TestDispatcher) Close() error { method Type (line 35) | func (*TestDispatcher) Type() interface{} { function TestSameDestinationDispatching (line 39) | func TestSameDestinationDispatching(t *testing.T) { FILE: transport/internet/udp/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/udp/hub.go type HubOption (line 15) | type HubOption function HubCapacity (line 17) | func HubCapacity(capacity int) HubOption { function HubReceiveOriginalDestination (line 23) | func HubReceiveOriginalDestination(r bool) HubOption { type Hub (line 29) | type Hub struct method Close (line 76) | func (h *Hub) Close() error { method WriteTo (line 85) | func (h *Hub) WriteTo(payload []byte, dest net.Destination) (int, erro... method start (line 98) | func (h *Hub) start() { method Addr (line 172) | func (h *Hub) Addr() net.Addr { method Receive (line 179) | func (h *Hub) Receive() <-chan *udp.Packet { function ListenUDP (line 37) | func ListenUDP(ctx context.Context, address net.Address, port net.Port, ... FILE: transport/internet/udp/hub_freebsd.go function RetrieveOriginalDest (line 17) | func RetrieveOriginalDest(oob []byte) net.Destination { function ReadUDPMsg (line 30) | func ReadUDPMsg(conn *net.UDPConn, payload []byte, oob []byte) (int, int... FILE: transport/internet/udp/hub_linux.go function RetrieveOriginalDest (line 14) | func RetrieveOriginalDest(oob []byte) net.Destination { function ReadUDPMsg (line 33) | func ReadUDPMsg(conn *net.UDPConn, payload []byte, oob []byte) (int, int... FILE: transport/internet/udp/hub_other.go function RetrieveOriginalDest (line 10) | func RetrieveOriginalDest(oob []byte) net.Destination { function ReadUDPMsg (line 14) | func ReadUDPMsg(conn *net.UDPConn, payload []byte, oob []byte) (int, int... FILE: transport/internet/udp/monodest.go function NewMonoDestUDPConn (line 9) | func NewMonoDestUDPConn(conn internet.AbstractPacketConn, addr net.Addr)... type MonoDestUDPConn (line 16) | type MonoDestUDPConn struct method ReadMultiBuffer (line 21) | func (m *MonoDestUDPConn) ReadMultiBuffer() (buf.MultiBuffer, error) { method WriteMultiBuffer (line 33) | func (m *MonoDestUDPConn) WriteMultiBuffer(buffer buf.MultiBuffer) err... method Read (line 44) | func (m *MonoDestUDPConn) Read(p []byte) (n int, err error) { method Write (line 49) | func (m *MonoDestUDPConn) Write(p []byte) (n int, err error) { FILE: transport/internet/udp/udp.go constant protocolName (line 5) | protocolName = "udp" FILE: transport/internet/websocket/config.go constant protocolName (line 10) | protocolName = "websocket" method GetNormalizedPath (line 12) | func (c *Config) GetNormalizedPath() string { method GetRequestHeader (line 23) | func (c *Config) GetRequestHeader() http.Header { function init (line 31) | func init() { FILE: transport/internet/websocket/config.pb.go constant _ (line 14) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 16) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Header (line 19) | type Header struct method Reset (line 27) | func (x *Header) Reset() { method String (line 34) | func (x *Header) String() string { method ProtoMessage (line 38) | func (*Header) ProtoMessage() {} method ProtoReflect (line 40) | func (x *Header) ProtoReflect() protoreflect.Message { method Descriptor (line 53) | func (*Header) Descriptor() ([]byte, []int) { method GetKey (line 57) | func (x *Header) GetKey() string { method GetValue (line 64) | func (x *Header) GetValue() string { type Config (line 71) | type Config struct method Reset (line 84) | func (x *Config) Reset() { method String (line 91) | func (x *Config) String() string { method ProtoMessage (line 95) | func (*Config) ProtoMessage() {} method ProtoReflect (line 97) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 110) | func (*Config) Descriptor() ([]byte, []int) { method GetPath (line 114) | func (x *Config) GetPath() string { method GetHeader (line 121) | func (x *Config) GetHeader() []*Header { method GetAcceptProxyProtocol (line 128) | func (x *Config) GetAcceptProxyProtocol() bool { method GetMaxEarlyData (line 135) | func (x *Config) GetMaxEarlyData() int32 { method GetUseBrowserForwarding (line 142) | func (x *Config) GetUseBrowserForwarding() bool { method GetEarlyDataHeaderName (line 149) | func (x *Config) GetEarlyDataHeaderName() string { constant file_transport_internet_websocket_config_proto_rawDesc (line 158) | file_transport_internet_websocket_config_proto_rawDesc = "" + function file_transport_internet_websocket_config_proto_rawDescGZIP (line 179) | func file_transport_internet_websocket_config_proto_rawDescGZIP() []byte { function init (line 200) | func init() { file_transport_internet_websocket_config_proto_init() } function file_transport_internet_websocket_config_proto_init (line 201) | func file_transport_internet_websocket_config_proto_init() { FILE: transport/internet/websocket/connection.go type connection (line 19) | type connection struct method Read (line 77) | func (c *connection) Read(b []byte) (int, error) { method getReader (line 93) | func (c *connection) getReader() (io.Reader, error) { method Write (line 113) | func (c *connection) Write(b []byte) (int, error) { method WriteMultiBuffer (line 131) | func (c *connection) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 138) | func (c *connection) Close() error { method LocalAddr (line 158) | func (c *connection) LocalAddr() net.Addr { method RemoteAddr (line 172) | func (c *connection) RemoteAddr() net.Addr { method SetDeadline (line 176) | func (c *connection) SetDeadline(t time.Time) error { method SetReadDeadline (line 183) | func (c *connection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 194) | func (c *connection) SetWriteDeadline(t time.Time) error { type DelayedDialer (line 30) | type DelayedDialer interface function newConnection (line 34) | func newConnection(conn *websocket.Conn, remoteAddr net.Addr) *connection { function newConnectionWithEarlyData (line 41) | func newConnectionWithEarlyData(conn *websocket.Conn, remoteAddr net.Add... function newConnectionWithDelayedDial (line 49) | func newConnectionWithDelayedDial(dialer DelayedDialer) *connection { function newRelayedConnectionWithDelayedDial (line 59) | func newRelayedConnectionWithDelayedDial(dialer DelayedDialerForwarded) ... function newRelayedConnection (line 69) | func newRelayedConnection(conn io.ReadWriteCloser) *connectionForwarder { FILE: transport/internet/websocket/connforwarder.go type connectionForwarder (line 10) | type connectionForwarder struct method Read (line 19) | func (c *connectionForwarder) Read(p []byte) (n int, err error) { method Write (line 29) | func (c *connectionForwarder) Write(p []byte) (n int, err error) { method Close (line 43) | func (c *connectionForwarder) Close() error { method LocalAddr (line 53) | func (c connectionForwarder) LocalAddr() net.Addr { method RemoteAddr (line 60) | func (c connectionForwarder) RemoteAddr() net.Addr { method SetDeadline (line 67) | func (c connectionForwarder) SetDeadline(t time.Time) error { method SetReadDeadline (line 71) | func (c connectionForwarder) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 75) | func (c connectionForwarder) SetWriteDeadline(t time.Time) error { type DelayedDialerForwarded (line 79) | type DelayedDialerForwarded interface FILE: transport/internet/websocket/dialer.go function Dial (line 24) | func Dial(ctx context.Context, dest net.Destination, streamSettings *int... function init (line 34) | func init() { function dialWebsocket (line 38) | func dialWebsocket(ctx context.Context, dest net.Destination, streamSett... type dialerWithEarlyData (line 123) | type dialerWithEarlyData struct method Dial (line 129) | func (d dialerWithEarlyData) Dial(earlyData []byte) (*websocket.Conn, ... type dialerWithEarlyDataRelayed (line 173) | type dialerWithEarlyDataRelayed struct method Dial (line 179) | func (d dialerWithEarlyDataRelayed) Dial(earlyData []byte) (io.ReadWri... FILE: transport/internet/websocket/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: transport/internet/websocket/hub.go type requestHandler (line 24) | type requestHandler struct method ServeHTTP (line 40) | func (h *requestHandler) ServeHTTP(writer http.ResponseWriter, request... type Listener (line 90) | type Listener struct method Addr (line 171) | func (ln *Listener) Addr() net.Addr { method Close (line 176) | func (ln *Listener) Close() error { function ListenWS (line 98) | func ListenWS(ctx context.Context, address net.Address, port net.Port, s... function init (line 180) | func init() { FILE: transport/internet/websocket/ws_test.go function Test_listenWSAndDial (line 17) | func Test_listenWSAndDial(t *testing.T) { function TestDialWithRemoteAddr (line 72) | func TestDialWithRemoteAddr(t *testing.T) { function Test_listenWSAndDial_TLS (line 114) | func Test_listenWSAndDial_TLS(t *testing.T) { FILE: transport/link.go type Link (line 6) | type Link struct FILE: transport/pipe/impl.go type state (line 16) | type state constant open (line 19) | open state = iota constant closed (line 20) | closed constant errord (line 21) | errord type pipeOption (line 24) | type pipeOption struct method isFull (line 29) | func (o *pipeOption) isFull(curSize int32) bool { type pipe (line 33) | type pipe struct method getState (line 48) | func (p *pipe) getState(forRead bool) error { method readMultiBufferInternal (line 70) | func (p *pipe) readMultiBufferInternal() (buf.MultiBuffer, error) { method ReadMultiBuffer (line 83) | func (p *pipe) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadMultiBufferTimeout (line 98) | func (p *pipe) ReadMultiBufferTimeout(d time.Duration) (buf.MultiBuffe... method writeMultiBufferInternal (line 118) | func (p *pipe) writeMultiBufferInternal(mb buf.MultiBuffer) error { method WriteMultiBuffer (line 135) | func (p *pipe) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 174) | func (p *pipe) Close() error { method Interrupt (line 188) | func (p *pipe) Interrupt() { FILE: transport/pipe/pipe.go type Option (line 12) | type Option function WithoutSizeLimit (line 15) | func WithoutSizeLimit() Option { function WithSizeLimit (line 22) | func WithSizeLimit(limit int32) Option { function DiscardOverflow (line 29) | func DiscardOverflow() Option { function OptionsFromContext (line 36) | func OptionsFromContext(ctx context.Context) []Option { function New (line 50) | func New(opts ...Option) (*Reader, *Writer) { FILE: transport/pipe/pipe_test.go function TestPipeReadWrite (line 17) | func TestPipeReadWrite(t *testing.T) { function TestPipeInterrupt (line 35) | func TestPipeInterrupt(t *testing.T) { function TestPipeClose (line 52) | func TestPipeClose(t *testing.T) { function TestPipeLimitZero (line 75) | func TestPipeLimitZero(t *testing.T) { function TestPipeWriteMultiThread (line 109) | func TestPipeWriteMultiThread(t *testing.T) { function TestInterfaces (line 131) | func TestInterfaces(t *testing.T) { function BenchmarkPipeReadWrite (line 140) | func BenchmarkPipeReadWrite(b *testing.B) { FILE: transport/pipe/reader.go type Reader (line 10) | type Reader struct method ReadMultiBuffer (line 15) | func (r *Reader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadMultiBufferTimeout (line 20) | func (r *Reader) ReadMultiBufferTimeout(d time.Duration) (buf.MultiBuf... method Interrupt (line 25) | func (r *Reader) Interrupt() { FILE: transport/pipe/writer.go type Writer (line 8) | type Writer struct method WriteMultiBuffer (line 13) | func (w *Writer) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 18) | func (w *Writer) Close() error { method Interrupt (line 23) | func (w *Writer) Interrupt() { FILE: v2ray.go type Server (line 28) | type Server interface function ServerType (line 33) | func ServerType() interface{} { type resolution (line 37) | type resolution struct method resolve (line 51) | func (r *resolution) resolve(allFeatures []features.Feature) (bool, er... function getFeature (line 42) | func getFeature(allFeatures []features.Feature, t reflect.Type) features... type Instance (line 95) | type Instance struct method Type (line 278) | func (s *Instance) Type() interface{} { method Close (line 283) | func (s *Instance) Close() error { method RequireFeatures (line 304) | func (s *Instance) RequireFeatures(callback interface{}) error { method AddFeature (line 327) | func (s *Instance) AddFeature(feature features.Feature) error { method GetFeature (line 361) | func (s *Instance) GetFeature(featureType interface{}) features.Feature { method Start (line 369) | func (s *Instance) Start() error { function AddInboundHandler (line 105) | func AddInboundHandler(server *Instance, config *InboundHandlerConfig) e... function addInboundHandlers (line 122) | func addInboundHandlers(server *Instance, configs []*InboundHandlerConfi... function AddOutboundHandler (line 132) | func AddOutboundHandler(server *Instance, config *OutboundHandlerConfig)... function RemoveOutboundHandler (line 149) | func RemoveOutboundHandler(server *Instance, tag string) error { function addOutboundHandlers (line 161) | func addOutboundHandlers(server *Instance, configs []*OutboundHandlerCon... function RequireFeatures (line 173) | func RequireFeatures(ctx context.Context, callback interface{}) error { function New (line 181) | func New(config *Config) (*Instance, error) { function NewWithContext (line 192) | func NewWithContext(ctx context.Context, config *Config) (*Instance, err... function initInstanceWithConfig (line 203) | func initInstanceWithConfig(config *Config, server *Instance) (bool, err... FILE: v2ray_test.go function TestV2RayDependency (line 26) | func TestV2RayDependency(t *testing.T) { function TestV2RayClose (line 40) | func TestV2RayClose(t *testing.T) {