Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/dubbo-go
/ functions
Functions
7,883 in github.com/apache/dubbo-go
⨍
Functions
7,883
◇
Types & classes
1,328
↓ 1 callers
Method
makeRequest
()
protocol/triple/triple_protocol/duplex_http_call.go:265
↓ 1 callers
Function
mapKey
mapKey converts the map key to interface type
filter/generic/generalizer/map.go:234
↓ 1 callers
Method
markClosingTombstone
(instanceKey string, invoker protocolbase.Invoker, source string)
registry/directory/directory.go:516
↓ 1 callers
Function
markCountedResult
(res result.Result)
filter/graceful_shutdown/consumer_filter.go:232
↓ 1 callers
Function
markProviderCountedResult
(res result.Result)
filter/graceful_shutdown/provider_filter.go:143
↓ 1 callers
Function
matchHostnamePattern
matchHostnamePattern matches origin host against hostname pattern (*.example.com or example.com).
protocol/triple/triple_protocol/cors.go:205
↓ 1 callers
Function
matchPattern
matchPattern matches origin against a URL pattern.
protocol/triple/triple_protocol/cors.go:177
↓ 1 callers
Method
matchRange
(intValue int, rawStart, rawEnd string, defaultValue bool, pattern, value string)
cluster/router/condition/matcher/pattern_value/scope.go:79
↓ 1 callers
Method
matchThen
(url *common.URL, param *common.URL)
cluster/router/condition/route.go:109
↓ 1 callers
Function
maxBytesReaderFunc
maxBytesReaderFunc is the same as http.MaxBytesReader for golang version smaller than 1.19
protocol/triple/triple_protocol/maxbytes_low_version.go:31
↓ 1 callers
Method
mergeOpenAPIs
(openAPIs map[string]*model.OpenAPI)
protocol/triple/openapi/service.go:193
↓ 1 callers
Method
message
Only option we've needed so far is a formatted message, so we can keep this simple.
protocol/triple/triple_protocol/internal/assert/assert.go:166
↓ 1 callers
Function
messageToSchema
(tt protoreflect.MessageDescriptor)
tools/protoc-gen-triple-openapi/internal/converter/schema/util.go:33
↓ 1 callers
Function
mkdirIfNecessary
(urlRoot string)
config_center/file/impl.go:295
↓ 1 callers
Function
newAdaptiveServiceClusterInvoker
(directory directory.Directory)
cluster/cluster/adaptivesvc/cluster_invoker.go:46
↓ 1 callers
Function
newBroadcastCluster
newBroadcastCluster returns a broadcastCluster instance. Calling all providers' broadcast one by one. All errors will be reported. It is usually used
cluster/cluster/broadcast/cluster.go:38
↓ 1 callers
Function
newBroadcastClusterInvoker
(directory directory.Directory)
cluster/cluster/broadcast/cluster_invoker.go:39
↓ 1 callers
Function
newCondSet
(rule string, subSetWeight int)
cluster/router/condition/route.go:334
↓ 1 callers
Function
newConshashLoadBalance
newConshashLoadBalance creates NewConsistentHashLoadBalance The same parameters of the request is always sent to the same provider.
cluster/loadbalance/consistenthashing/loadbalance.go:55
↓ 1 callers
Function
newConsumerConfigurationListener
(dir *RegistryDirectory, url *common.URL)
registry/directory/directory.go:753
↓ 1 callers
Function
newConsumerGracefulShutdownFilter
()
filter/graceful_shutdown/consumer_filter.go:68
↓ 1 callers
Function
newDefaultCallOptions
()
client/options.go:1008
↓ 1 callers
Function
newDeflateReader
(r io.Reader)
protocol/triple/triple_protocol/triple_ext_test.go:2427
↓ 1 callers
Function
newDestSets
()
cluster/router/condition/route.go:356
↓ 1 callers
Function
newEmptyConfigCenterConfig
()
config/config_center_config.go:240
↓ 1 callers
Function
newEmptyConsumerConfig
()
config/consumer_config.go:197
↓ 1 callers
Function
newEmptyMetadataReportConfig
()
config/metadata_config.go:233
↓ 1 callers
Function
newEmptyProviderConfig
newEmptyProviderConfig returns ProviderConfig with default ApplicationConfig
config/provider_config.go:204
↓ 1 callers
Function
newEmptyReferenceConfig
reference config api newEmptyReferenceConfig returns empty ReferenceConfig
config/reference_config.go:418
↓ 1 callers
Function
newError
(message string)
protocol/jsonrpc/json.go:358
↓ 1 callers
Function
newExporterChangeableWrapper
(originInvoker base.Invoker, exporter base.Exporter)
registry/protocol/protocol.go:580
↓ 1 callers
Function
newFailbackCluster
newFailbackCluster returns a failbackCluster instance Failure automatically restored, failed to record the background request, regular retransmission
cluster/cluster/failback/cluster.go:38
↓ 1 callers
Function
newFailbackClusterInvoker
(directory directory.Directory)
cluster/cluster/failback/cluster_invoker.go:61
↓ 1 callers
Function
newFailfastCluster
newFailfastCluster returns a failfastCluster instance. Fast failure, only made a call, failure immediately error. Usually used for non-idempotent wri
cluster/cluster/failfast/cluster.go:38
↓ 1 callers
Function
newFailfastClusterInvoker
(directory directory.Directory)
cluster/cluster/failfast/cluster_invoker.go:35
↓ 1 callers
Function
newFailsafeCluster
newFailsafeCluster returns a failsafeCluster instance. Failure of security, anomalies, directly ignored. Usually it is used to write audit logs and o
cluster/cluster/failsafe/cluster.go:38
↓ 1 callers
Function
newFailsafeClusterInvoker
(directory directory.Directory)
cluster/cluster/failsafe/cluster_invoker.go:48
↓ 1 callers
Function
newFileSystemDynamicConfiguration
(url *common.URL)
config_center/file/impl.go:65
↓ 1 callers
Function
newFilter
newFilter creates a new metricsFilter instance. It's lazy initialization, and make sure that the configuration had been loaded before invoking this m
filter/metrics/filter.go:65
↓ 1 callers
Function
newForkingCluster
newForkingCluster returns a forkingCluster instance. Multiple servers are invoked in parallel, returning as soon as one succeeds. Usually it is used
cluster/cluster/forking/cluster.go:38
↓ 1 callers
Function
newForkingClusterInvoker
(directory directory.Directory)
cluster/cluster/forking/cluster_invoker.go:44
↓ 1 callers
Function
newGettyRPCClientConn
(rpcClient *Client, addr string)
remoting/getty/pool.go:50
↓ 1 callers
Function
newInMemoryServer
newInMemoryServer constructs and starts an inMemoryServer.
protocol/triple/triple_protocol/example_init_test.go:59
↓ 1 callers
Function
newInfoInvoker
(url *common.URL, info *common.ServiceInfo, svc common.RPCService)
proxy/proxy_factory/default.go:224
↓ 1 callers
Function
newInterceptor
()
cluster/cluster/zoneaware/cluster_interceptor.go:55
↓ 1 callers
Function
newJsInstance
()
cluster/router/script/instance/js_instance.go:182
↓ 1 callers
Function
newJsInstances
()
cluster/router/script/instance/js_instance.go:67
↓ 1 callers
Function
newLocalMetrics
()
cluster/metrics/local_metrics.go:43
↓ 1 callers
Function
newNacosDynamicConfiguration
(url *common.URL)
config_center/nacos/impl.go:64
↓ 1 callers
Function
newNacosServiceDiscovery
newNacosServiceDiscovery will create new service discovery instance
registry/nacos/service_discovery.go:415
↓ 1 callers
Function
newOverrideSubscribeListener
(overriderUrl *common.URL, invoker base.Invoker, proto *registryProtocol)
registry/protocol/protocol.go:345
↓ 1 callers
Function
newProgram
(pg *goja.Program)
cluster/router/script/instance/js_instance.go:56
↓ 1 callers
Function
newProviderConfigurationListener
(overrideListeners *sync.Map, url *common.URL)
registry/protocol/protocol.go:592
↓ 1 callers
Function
newReferenceConfigurationListener
(dir *RegistryDirectory, url *common.URL)
registry/directory/directory.go:730
↓ 1 callers
Function
newRetryTimerTask
(loadbalance loadbalance.LoadBalance, invocation protocolbase.Invocation, invokers []protocolbase.Invoker, la
cluster/cluster/failback/cluster_invoker.go:215
↓ 1 callers
Function
newServiceAffinityRoute
()
cluster/router/affinity/router.go:47
↓ 1 callers
Function
newServiceConfigurationListener
(overrideListener *overrideSubscribeListener, providerUrl *common.URL)
registry/protocol/protocol.go:632
↓ 1 callers
Function
newTracingFilter
()
filter/tracing/filter.go:97
↓ 1 callers
Function
newZoneawareClusterInvoker
(directory directory.Directory)
cluster/cluster/zoneaware/cluster_invoker.go:44
↓ 1 callers
Function
newZookeeperDynamicConfiguration
(url *common.URL)
config_center/zookeeper/impl.go:68
↓ 1 callers
Function
newZookeeperServiceDiscovery
newZookeeperServiceDiscovery the constructor of newZookeeperServiceDiscovery
registry/zookeeper/service_discovery.go:66
↓ 1 callers
Function
normalizeClientProcedure
normalizeClientProcedure ensures the path starts with "/" and has no trailing slash. Unlike extractProtoPath (used on the handler side), this functio
protocol/triple/triple_protocol/client.go:360
↓ 1 callers
Function
normalizeMethods
normalizeMethods normalizes and deduplicates CORS methods.
protocol/triple/triple_protocol/cors.go:97
↓ 1 callers
Method
notifyHandler
notifyHandler handles notify metrics
metrics/registry/collector.go:83
↓ 1 callers
Function
notifyWithRetry
notifyWithRetry notifies with exponential backoff retry
graceful_shutdown/shutdown.go:208
↓ 1 callers
Method
objectNamed
Given a type name defined in a .proto, return its object. Also record that we're using it, to guarantee the associated import.
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go:68
↓ 1 callers
Method
openLogFile
openLogFile will open the log file with append mode. If the file is not found, it will create the file. Actually, the accessLog is the filename
filter/accesslog/filter.go:321
↓ 1 callers
Method
openServer
(url *common.URL)
protocol/grpc/grpc_protocol.go:101
↓ 1 callers
Method
openServer
(invoker base.Invoker, info *common.ServiceInfo)
protocol/triple/triple.go:103
↓ 1 callers
Method
openServer
(url *common.URL)
protocol/dubbo/dubbo_protocol.go:117
↓ 1 callers
Method
openServer
openServer open a dubbo3 server, if there is already a service using the same protocol, it returns directly.
protocol/dubbo3/dubbo3_protocol.go:216
↓ 1 callers
Method
openServer
(url *common.URL)
protocol/jsonrpc/jsonrpc_protocol.go:115
↓ 1 callers
Function
parseAltSvcPart
parseAltSvcPart parses a single alternative service part
protocol/triple/triple_protocol/negotiation.go:155
↓ 1 callers
Function
parseConditionRoute
(routeContent string)
cluster/router/condition/route.go:292
↓ 1 callers
Function
parseConfig
(c string)
cluster/router/affinity/router.go:226
↓ 1 callers
Function
parseLegacyException
(exStr string)
protocol/dubbo/hessian2/hessian_response.go:80
↓ 1 callers
Function
parseReq2DubboPkg
(req *protocol.Request)
tools/dubbogo-cli/internal/protocol/dubbo/dubbo_protocol.go:93
↓ 1 callers
Function
parseReq2DubboPkg
(req *protocol.Request)
tools/dubbogo-cli/internal/protocol/dubbo3/dubbo_protocol.go:93
↓ 1 callers
Function
parseRequestURL
(rawURL string)
protocol/triple/triple_protocol/client.go:287
↓ 1 callers
Function
parseRoute
(routeContent string)
cluster/router/script/router.go:59
↓ 1 callers
Function
parseThen
(thenRule string)
cluster/router/condition/route.go:160
↓ 1 callers
Method
parseTripleToString
(t TripleGo)
tools/protoc-gen-go-triple/gen/generator/genTriple.go:34
↓ 1 callers
Function
parseWhen
(whenRule string)
cluster/router/condition/route.go:148
↓ 1 callers
Function
pathExists
(path string)
loader.go:354
↓ 1 callers
Method
pathItemToMap
(item *model.PathItem)
protocol/triple/openapi/encoder.go:95
↓ 1 callers
Method
pathsToMap
(paths map[string]*model.PathItem)
protocol/triple/openapi/encoder.go:87
↓ 1 callers
Method
pop
()
cluster/loadbalance/iwrr/iwrr.go:57
↓ 1 callers
Method
postProcessConfig
postProcessConfig asks registered ConfigPostProcessor to post-process the current ReferenceConfigs.
client/action.go:474
↓ 1 callers
Method
postProcessConfig
postProcessConfig asks registered ConfigPostProcessor to post-process the current ServiceConfig.
config/service_config.go:493
↓ 1 callers
Method
postProcessConfig
postProcessConfig asks registered ConfigPostProcessor to post-process the current ReferenceConfig.
config/reference_config.go:409
↓ 1 callers
Function
preProcess
(path string, goPkgMap map[string]struct{})
tools/imports-formatter/main.go:129
↓ 1 callers
Method
process
(ctx context.Context)
cluster/cluster/failback/cluster_invoker.go:94
↓ 1 callers
Function
processAndSeparator
(content string, condition map[string]matcher.Matcher)
cluster/router/condition/route.go:223
↓ 1 callers
Function
processCommaSeparator
(content string, values map[string]struct{}, rule string)
cluster/router/condition/route.go:244
↓ 1 callers
Function
processEqualNotEqualSeparator
(separator, content string, currentMatcher matcher.Matcher, rule string)
cluster/router/condition/route.go:232
↓ 1 callers
Method
processLogs
processLogs runs in a background goroutine to process log data
filter/accesslog/filter.go:193
↓ 1 callers
Function
processMatchers
(rule string)
cluster/router/condition/route.go:189
↓ 1 callers
Method
processSingleRequest
processSingleRequest call one req.
tools/dubbogo-cli/internal/client/client.go:125
↓ 1 callers
Function
processUserSpecifiedURLs
(ref *global.ReferenceConfig, cfgURL *common.URL)
client/action.go:221
↓ 1 callers
Method
protobuf
()
protocol/triple/triple_protocol/client.go:271
← previous
next →
3,201–3,300 of 7,883, ranked by callers