MCPcopy Create free account

hub / github.com/apache/dubbo-go / functions

Functions7,883 in github.com/apache/dubbo-go

↓ 2 callersFunctionmustURL
(t *testing.T, raw string)
config_center/zookeeper/impl_test.go:129
↓ 2 callersFunctionneedLogRotation
needLogRotation checks if the log file needs rotation based on date
filter/accesslog/filter.go:272
↓ 2 callersFunctionnegotiateCompression
negotiateCompression determines and validates the request compression and response compression using the available compressors and protocol-specific C
protocol/triple/triple_protocol/protocol.go:272
↓ 2 callersFunctionnewAdaptiveServiceProviderFilter
()
filter/adaptivesvc/filter.go:59
↓ 2 callersFunctionnewApolloConfiguration
(url *common.URL)
config_center/apollo/impl.go:61
↓ 2 callersFunctionnewApolloListener
newApolloListener constructs an apolloListener with empty listener set.
config_center/apollo/listener.go:38
↓ 2 callersFunctionnewChain
newChain composes multiple interceptors into one.
protocol/triple/triple_protocol/interceptor.go:85
↓ 2 callersFunctionnewDuplexHTTPCall
( ctx context.Context, httpClient HTTPClient, url *url.URL, spec Spec, header http.Header, )
protocol/triple/triple_protocol/duplex_http_call.go:53
↓ 2 callersFunctionnewEmptyServiceConfig
newEmptyServiceConfig returns default ServiceConfig
config/service_config.go:500
↓ 2 callersFunctionnewErrorResponse
(description string)
tools/protoc-gen-triple-openapi/internal/converter/convert.go:230
↓ 2 callersFunctionnewEtcdV3ServiceDiscovery
newEtcdV3ServiceDiscovery
registry/etcdv3/service_discovery.go:304
↓ 2 callersFunctionnewFailoverCluster
newFailoverCluster returns a failoverCluster instance Failure automatically switch, when there is a failure, retry the other server (default). Usuall
cluster/cluster/failover/cluster.go:39
↓ 2 callersFunctionnewFailoverClusterInvoker
(directory directory.Directory)
cluster/cluster/failover/cluster_invoker.go:46
↓ 2 callersFunctionnewFilter
()
filter/accesslog/filter.go:95
↓ 2 callersFunctionnewHTTPMiddlewareError
()
protocol/triple/triple_protocol/triple_ext_test.go:2488
↓ 2 callersFunctionnewInmemoryConfiguration
(p *sync.Map)
common/config/environment.go:113
↓ 2 callersFunctionnewInterleavedWeightedRoundRobinBalance
newInterleavedWeightedRoundRobinBalance returns a interleaved weighted round robin load balance.
cluster/loadbalance/iwrr/loadbalance.go:34
↓ 2 callersFunctionnewInvokerDelegate
(invoker base.Invoker, url *common.URL)
registry/protocol/protocol.go:544
↓ 2 callersFunctionnewLeastActiveLoadBalance
newLeastActiveLoadBalance returns a least active load balance. A random mechanism based on actives, actives means the number of a consumer's requests
cluster/loadbalance/leastactive/loadbalance.go:45
↓ 2 callersFunctionnewP2CLoadBalance
newP2CLoadBalance creates or returns the singleton P2C load balancer. Uses the provided randomPicker if non-nil; otherwise defaults to defaultRnd. ran
cluster/loadbalance/p2c/loadbalance.go:92
↓ 2 callersFunctionnewPane
(intervalInMs, startInMs int64, value any)
metrics/util/aggregate/pane.go:29
↓ 2 callersFunctionnewPeerFromURL
(url *url.URL, protocol string)
protocol/triple/triple_protocol/triple.go:311
↓ 2 callersFunctionnewPolarisWatcher
newPolarisWatcher create PolarisServiceWatcher to do watch service action
registry/polaris/core.go:47
↓ 2 callersFunctionnewProviderGracefulShutdownFilter
()
filter/graceful_shutdown/provider_filter.go:57
↓ 2 callersFunctionnewReadOnlyCodecs
(nameToCodec map[string]Codec)
protocol/triple/triple_protocol/codec.go:432
↓ 2 callersFunctionnewSelector
(invokers []base.Invoker, methodName string, hashCode uint32)
cluster/loadbalance/consistenthashing/selector.go:45
↓ 2 callersFunctionnewStdoutExporter
(config *trace.ExporterConfig)
otel/trace/stdout/exporter.go:48
↓ 2 callersFunctionnewTripleWireError
(err error)
protocol/triple/triple_protocol/protocol_triple.go:669
↓ 2 callersFunctionnewWeightedRandomWithAliasMethodBalance
newWeightedRandomWithAliasMethodBalance returns a loadbalancer using alias-method algorithm..
cluster/loadbalance/aliasmethod/loadbalance.go:35
↓ 2 callersFunctionnewnNacosDynamicConfiguration
(f *fields)
config_center/nacos/impl_test.go:172
↓ 2 callersFunctionpackRequest
(p DubboPackage, serializer Serializer)
protocol/dubbo/impl/codec.go:197
↓ 2 callersFunctionpackResponse
(p DubboPackage, serializer Serializer)
protocol/dubbo/impl/codec.go:246
↓ 2 callersFunctionpackResponse
https://github.com/apache/dubbo/blob/dubbo-2.7.1/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCode
protocol/dubbo/hessian2/hessian_response.go:114
↓ 2 callersFunctionparseAttachments
parseAttachments retrieves attachments from users passed-in and URL, then injects them into ctx
protocol/triple/triple_invoker.go:206
↓ 2 callersFunctionparseAuthority
parseAuthority parses the authority part of an alternative service
protocol/triple/triple_protocol/negotiation.go:206
↓ 2 callersFunctionparseInvocation
parseInvocation retrieves information from invocation. it returns ctx, callType, inRaw, method, error
protocol/triple/triple_invoker.go:182
↓ 2 callersFunctionparseMultiConditionRoute
(routeContent string)
cluster/router/condition/route.go:472
↓ 2 callersFunctionparseServices
(literalServices string)
registry/servicediscovery/service_discovery_registry.go:190
↓ 2 callersFunctionparseTcpTimeoutDuration
(timeStr string)
remoting/getty/config.go:196
↓ 2 callersMethodpathToKeyGroup
(path string)
config_center/zookeeper/listener.go:93
↓ 2 callersMethodpatternMatches
(value string, param *common.URL, invocation base.Invocation, isWhenCondition bool)
cluster/router/condition/matcher/base.go:95
↓ 2 callersMethodpatternMisMatches
(value string, param *common.URL, invocation base.Invocation, isWhenCondition bool)
cluster/router/condition/matcher/base.go:104
↓ 2 callersMethodpostProcessConfig
postProcessConfig asks registered ConfigPostProcessor to post-process the current ServiceConfig.
server/action.go:445
↓ 2 callersMethodprocessURL
(c *common.URL, f func(string, string) error, cpf createPathFunc)
registry/base_registry.go:206
↓ 2 callersMethodputCompressor
(compressor Compressor)
protocol/triple/triple_protocol/compression.go:156
↓ 2 callersFunctionreadinessHandler
(w http.ResponseWriter, r *http.Request)
metrics/probe/http.go:45
↓ 2 callersFunctionrealizeResult
realizeResult deserializes the data into the target type using the provided generalizer. It returns the realized value and any error that occurred dur
filter/generic/util.go:89
↓ 2 callersFunctionrebuildCtx
rebuildCtx rebuild the context by attachment. Once we decided to transfer more context's key-value, we should change this. now we only support rebuild
remoting/getty/listener_test.go:67
↓ 2 callersFunctionreceiveUnaryResponse
receiveUnaryResponse unmarshals a message from a StreamingClientConn, then envelopes the message and attaches headers and trailers. It attempts to con
protocol/triple/triple_protocol/triple.go:330
↓ 2 callersMethodrecord
(event ClosingEvent, removed bool)
graceful_shutdown/closing_ack.go:51
↓ 2 callersFunctionregisterAvailable
(invoker *mock.MockInvoker)
cluster/cluster/available/cluster_invoker_test.go:51
↓ 2 callersFunctionregisterBroadcast
(mockInvokers ...*mock.MockInvoker)
cluster/cluster/broadcast/cluster_invoker_test.go:50
↓ 2 callersFunctionregisterFailfast
registerFailfast register failfastCluster to failfastCluster extension.
cluster/cluster/failfast/cluster_test.go:53
↓ 2 callersFunctionregisterFailsafe
registerFailsafe register failsafeCluster to failsafeCluster extension.
cluster/cluster/failsafe/cluster_test.go:53
↓ 2 callersFunctionregisterPOJO
()
config/root_config.go:124
↓ 2 callersFunctionregisterService
(t *testing.T, protocol, interfaceName string, svc common.RPCService)
proxy/proxy_factory/invoker_test.go:56
↓ 2 callersMethodregisterService
registerService register service to zookeeper
remoting/zookeeper/curator_discovery/service_discovery.go:71
↓ 2 callersMethodregisterWithMode
registerWithMode unified service registration logic
server/server.go:85
↓ 2 callersFunctionremoveDuplicateElement
removeDuplicateElement remove duplicate element
common/config/utils.go:53
↓ 2 callersMethodremoveListener
(key string, listener config_center.ConfigurationListener)
config_center/nacos/listener.go:78
↓ 2 callersFunctionremoveMinus
(strArr []string)
common/config/utils.go:92
↓ 2 callersMethodremovePendingResponse
removePendingResponse delete item from pending queue by @seq
tools/dubbogo-cli/internal/client/client.go:114
↓ 2 callersFunctionremoveUrl
(m map[string][]*common.URL, url *common.URL)
metadata/info/metadata_info.go:112
↓ 2 callersFunctionremoverKey
(remover clusterdirectory.ClosingInstanceRemover)
graceful_shutdown/closing_registry.go:54
↓ 2 callersFunctionrequestIsForce
(url *common.URL, invocation base.Invocation)
cluster/router/tag/match.go:167
↓ 2 callersFunctionrequestTag
when request tag =tag1, the provider with tag=tag1 is preferred. if no service corresponding to the request tag exists in the cluster, the provider wi
cluster/router/tag/match.go:98
↓ 2 callersFunctionresetGlobalState
resetGlobalState resets the global state for testing
filter/accesslog/memory_leak_test.go:42
↓ 2 callersFunctionresolveIndex
(key string)
remoting/polaris/parser/parser.go:100
↓ 2 callersMethodresolveOpenAPIs
()
protocol/triple/openapi/service.go:170
↓ 2 callersFunctionresolveRevision
resolveRevision provides the actual pattern to calculate the revision. please refer to dubbo-java's method, org.apache.dubbo.metadata.Metadata#calAndG
registry/servicediscovery/customizer/service_revision_customizer.go:89
↓ 2 callersMethodresolveType
(t reflect.Type)
protocol/triple/openapi/schema_resolver.go:87
↓ 2 callersMethodresolveVersion
()
protocol/triple/openapi/definition_resolver.go:221
↓ 2 callersFunctionresolverFilePath
resolverFilePath resolver file path eg: give a ./conf/dubbogo.yaml return dubbogo and yaml
loader.go:316
↓ 2 callersFunctionrestStringMapTransform
restStringMapTransform is used to transform rest map
protocol/rest/rest_invoker.go:103
↓ 2 callersFunctionrunTripleCaseRouteIntegration
( t *testing.T, interfaceName string, methodName string, readyPath string, expectations []tripleRouteExpe
server/triple_case_route_integration_test.go:139
↓ 2 callersFunctionsanitizeSchemaName
(s string)
protocol/triple/openapi/schema_resolver.go:56
↓ 2 callersMethodselectForKey
(hash uint32)
cluster/loadbalance/consistenthashing/selector.go:94
↓ 2 callersMethodservice
service is for getting service path stored in url
registry/base_registry.go:168
↓ 2 callersMethodsetCORSOrigin
setCORSOrigin sets the Access-Control-Allow-Origin header.
protocol/triple/triple_protocol/cors.go:305
↓ 2 callersFunctionsetClientGrPool
()
remoting/getty/getty_client.go:173
↓ 2 callersFunctionsetGenericIncludeClass
(t *testing.T, value *bool)
filter/generic/generalizer/map_test.go:258
↓ 2 callersMethodsetLastUpdate
(time *time.Time)
cluster/loadbalance/roundrobin/loadbalance.go:155
↓ 2 callersFunctionsetReference
---------- For framework ---------- These functions should not be invoked by users
client/options.go:463
↓ 2 callersFunctionsetRegistrySubURL
setRegistrySubURL set registry sub url is ivkURl
server/action.go:290
↓ 2 callersMethodsetReqParamsTypes
(methodName string, typ []reflect.Type)
protocol/dubbo3/dubbo3_protocol.go:186
↓ 2 callersFunctionsetRootConfigInternal
(rc *RootConfig)
config/config_loader.go:45
↓ 2 callersFunctionsetRunScriptEnv
()
cluster/router/script/instance/js_instance_test.go:552
↓ 2 callersFunctionshouldSubscribe
(url *common.URL)
registry/servicediscovery/service_discovery_registry.go:319
↓ 2 callersFunctionsortRouter
sortRouter Sort router instance by priority with stable algorithm
cluster/router/chain/chain.go:210
↓ 2 callersMethodstartHealthWatch
(handler gracefulshutdown.ClosingEventHandler)
protocol/grpc/grpc_invoker.go:169
↓ 2 callersMethodstartHealthWatch
(handler gracefulshutdown.ClosingEventHandler)
protocol/triple/triple_invoker.go:272
↓ 2 callersFunctionstartupHandler
(w http.ResponseWriter, r *http.Request)
metrics/probe/http.go:60
↓ 2 callersFunctionstaticTag
static tag matching. no used configuration center to create tag router configuration
cluster/router/tag/match.go:38
↓ 2 callersMethodsubscribe
subscribe subscribe services
registry/nacos/registry.go:265
↓ 2 callersMethodsubscribeAll
(url *common.URL, notifyListener registry.NotifyListener)
registry/nacos/registry.go:240
↓ 2 callersMethodsubscribeUntilSuccess
(url *common.URL, notifyListener registry.NotifyListener)
registry/nacos/registry.go:205
↓ 2 callersFunctionsuitableMethods
suitableMethods returns suitable Rpc methods of typ
common/rpc_service.go:328
↓ 2 callersFunctiontestClientInvokeWithTimeout
testClientInvokeWithTimeout tests that a Triple client invocation correctly times out.
protocol/triple/client_external_test.go:136
↓ 2 callersFunctiontestGRPCHandlerConnMetadata
(t *testing.T, conn handlerConnCloser)
protocol/triple/triple_protocol/protocol_grpc_test.go:127
↓ 2 callersFunctiontimeSecondDuration
(sec int)
remoting/zookeeper/listener.go:475
← previousnext →1,901–2,000 of 7,883, ranked by callers