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
Function
defaultServerOptions
()
protocol/options.go:100
↓ 1 callers
Function
delHeaderCanonical
delHeaderCanonical is a shortcut for Header.Del() which bypasses the CanonicalMIMEHeaderKey operation when we know the key is already in canonical for
protocol/triple/triple_protocol/header.go:81
↓ 1 callers
Method
deleteDelay
(path string)
config_center/file/impl.go:193
↓ 1 callers
Function
deleteItem
(slice []*common.URL, index int)
metadata/info/metadata_info.go:126
↓ 1 callers
Function
destroyAllRegistries
()
config/graceful_shutdown.go:120
↓ 1 callers
Function
destroyConsumerProtocols
(consumerProtocols *gxset.HashSet)
config/graceful_shutdown.go:155
↓ 1 callers
Function
destroyProtocols
destroyProtocols destroys protocols. First we destroy provider's protocols, and then we destroy the consumer protocols.
config/graceful_shutdown.go:128
↓ 1 callers
Function
destroyProviderProtocols
destroyProviderProtocols destroys the provider's protocol. if the protocol is consumer's protocol too, we will keep it
config/graceful_shutdown.go:144
↓ 1 callers
Method
detailsAsAny
()
protocol/triple/triple_protocol/error.go:214
↓ 1 callers
Function
doHandleRequest
(rpcInvocation *invocation.RPCInvocation)
protocol/dubbo/dubbo_protocol.go:147
↓ 1 callers
Method
doLocalExport
(originInvoker base.Invoker, providerUrl *common.URL)
registry/protocol/protocol.go:259
↓ 1 callers
Function
doReformat
(filePath string)
tools/imports-formatter/main.go:184
↓ 1 callers
Function
doRefreshImports
(content []byte, imports []string)
tools/imports-formatter/main.go:499
↓ 1 callers
Method
doSelectInvoker
(lb loadbalance.LoadBalance, invocation base.Invocation, invokers []base.Invoker, invoked []base.Invoker)
cluster/cluster/base/cluster_invoker.go:120
↓ 1 callers
Method
drainLogs
drainLogs drains remaining log data with timeout protection
filter/accesslog/filter.go:215
↓ 1 callers
Method
drainServers
()
protocol/grpc/grpc_protocol.go:143
↓ 1 callers
Method
drainServers
()
protocol/triple/triple.go:177
↓ 1 callers
Method
dumpCache
dumpCache dumps the cache to the cache file.
registry/servicediscovery/store/cache_manager.go:130
↓ 1 callers
Function
dynamicTag
dynamic tag matching. used configuration center to create tag router configuration
cluster/router/tag/match.go:65
↓ 1 callers
Method
empty
()
cluster/loadbalance/iwrr/iwrr.go:68
↓ 1 callers
Method
encodeHeartbeartReqeust
encode heartbeat request
remoting/getty/dubbo_codec_for_test.go:104
↓ 1 callers
Method
encodeHeartbeatRequest
encode heartbeat request
protocol/dubbo/dubbo_codec.go:111
↓ 1 callers
Function
endpointsStr
endpointsStr convert the map to json like [{"protocol": "dubbo", "port": 123}]
registry/servicediscovery/customizer/protocol_ports_metadata_customizer.go:78
↓ 1 callers
Function
escape
(str string)
tools/dubbogo-cli/generator/sample/hessian/generator.go:199
↓ 1 callers
Function
escapeFunc
(s string, mode encoding)
protocol/triple/common_low_version.go:271
↓ 1 callers
Method
eventMatched
eventMatched checks if a cached invoker appears in the incoming invoker list, if no, then it is safe to remove.
registry/directory/directory.go:338
↓ 1 callers
Function
executeCustomShutdownCallbacks
(shutdown *global.ShutdownConfig)
graceful_shutdown/shutdown.go:338
↓ 1 callers
Method
exportDubbo
(port string)
metadata/metadata_service.go:171
↓ 1 callers
Method
exportHttp
()
metrics/prometheus/registry.go:153
↓ 1 callers
Method
exportInternalServices
In order to expose internal services
server/server.go:336
↓ 1 callers
Method
exportPushgateway
()
metrics/prometheus/registry.go:174
↓ 1 callers
Method
exportTripleV1
(port string)
metadata/metadata_service.go:201
↓ 1 callers
Method
exportV2
(port string)
metadata/metadata_service.go:222
↓ 1 callers
Method
externalDocsToMap
(docs *model.ExternalDocs)
protocol/triple/openapi/encoder.go:250
↓ 1 callers
Function
fakeInstance
Subscription side: convertInstances writes Weight back to the instance and injects it into the URL
registry/nacos/service_discovery_test.go:84
↓ 1 callers
Function
fieldToSchema
(parent *base.SchemaProxy, tt protoreflect.FieldDescriptor)
tools/protoc-gen-triple-openapi/internal/converter/schema/util.go:56
↓ 1 callers
Method
fileDescEncodingContainingExtension
fileDescEncodingContainingExtension finds the file descriptor containing given extension, finds all of its previously unsent transitive dependencies,
protocol/triple/reflection/serverreflection.go:125
↓ 1 callers
Method
fileDescEncodingContainingSymbol
fileDescEncodingContainingSymbol finds the file descriptor containing the given symbol, finds all of its previously unsent transitive dependencies, do
protocol/triple/reflection/serverreflection.go:114
↓ 1 callers
Function
file_api_api_proto_init
()
tools/dubbogo-cli/cmd/testGenCode/template/newApp/api/api.pb.go:209
↓ 1 callers
Function
file_api_samples_api_proto_init
()
tools/dubbogo-cli/cmd/testGenCode/template/newDemo/api/samples_api.pb.go:207
↓ 1 callers
Function
file_example_proto_init
()
filter/generic/generalizer/example.pb.go:212
↓ 1 callers
Function
file_health_proto_init
()
protocol/triple/health/triple_health/health.pb.go:264
↓ 1 callers
Function
file_helloworld_proto_init
()
protocol/dubbo3/internal/helloworld.pb.go:195
↓ 1 callers
Function
file_interop_triple_wrapper_proto_init
()
protocol/triple/triple_protocol/internal/interoperability/interop.triple_wrapper.pb.go:225
↓ 1 callers
Function
file_proto_connect_collide_v1_collide_proto_init
()
protocol/triple/triple_protocol/internal/gen/proto/connect/collide/v1/collide.pb.go:179
↓ 1 callers
Function
file_proto_connect_import_v1_import_proto_init
()
protocol/triple/triple_protocol/internal/gen/proto/connect/import/v1/import.pb.go:75
↓ 1 callers
Function
file_proto_connect_ping_v1_ping_proto_init
()
protocol/triple/triple_protocol/internal/gen/proto/connect/ping/v1/ping.pb.go:641
↓ 1 callers
Function
file_proto_connectext_grpc_status_v1_status_proto_init
()
protocol/triple/triple_protocol/internal/gen/proto/connectext/grpc/status/v1/status.pb.go:172
↓ 1 callers
Function
file_proto_connectext_grpc_status_v1_status_proto_rawDescGZIP
()
protocol/triple/triple_protocol/internal/gen/proto/connectext/grpc/status/v1/status.pb.go:150
↓ 1 callers
Function
file_proto_metadata_service_v2_proto_init
()
metadata/triple_api/proto/metadata_service_v2.pb.go:342
↓ 1 callers
Function
file_protocol_grpc_new_connect_proto_connectext_grpc_status_v1_status_proto_init
()
protocol/triple/triple_protocol/internal/proto/connectext/grpc/status/v1/status.pb.go:166
↓ 1 callers
Function
file_protocol_grpc_new_connect_proto_connectext_grpc_status_v1_status_proto_rawDescGZIP
()
protocol/triple/triple_protocol/internal/proto/connectext/grpc/status/v1/status.pb.go:144
↓ 1 callers
Function
file_reflection_proto_init
()
protocol/triple/reflection/triple_reflection/reflection.pb.go:823
↓ 1 callers
Function
filterHideKey
filterHideKey filter the parameters that do not need to be output in url(Starting with .)
registry/protocol/protocol.go:115
↓ 1 callers
Method
findMappedServices
(url *common.URL, listener mapping.MappingListener)
registry/servicediscovery/service_discovery_registry.go:335
↓ 1 callers
Function
forceMkdirParent
(fp string)
config_center/file/impl.go:213
↓ 1 callers
Function
formatCode
(code string)
tools/dubbogo-cli/generator/sample/generator.go:68
↓ 1 callers
Function
formatCode
(code string)
tools/dubbogo-cli/generator/application/generator.go:68
↓ 1 callers
Function
formatContent
(conf *storage.Config, fileType string)
config_center/apollo/impl.go:154
↓ 1 callers
Function
formatOpenapiDoc
(opts options.Options, doc *openapimodel.Document)
tools/protoc-gen-triple-openapi/internal/converter/convert.go:215
↓ 1 callers
Method
fromDescriptor
fromDescriptor converts JavaBeanDescriptor to map for MapGeneralizer.Realize
filter/generic/generalizer/bean.go:175
↓ 1 callers
Function
gcdInt
(a, b int64)
cluster/loadbalance/iwrr/iwrr.go:127
↓ 1 callers
Function
genFile
(fg *fileGenerator)
tools/dubbogo-cli/generator/sample/generator.go:47
↓ 1 callers
Function
genFile
(fg *fileGenerator)
tools/dubbogo-cli/generator/application/generator.go:47
↓ 1 callers
Function
genMatcher
(rule string)
cluster/router/condition/router_test.go:1032
↓ 1 callers
Function
genOldTriple
(plugin *protogen.Plugin)
tools/protoc-gen-go-triple/main.go:125
↓ 1 callers
Function
genRegistryPOJOStatement
genRegistryPOJOStatement generates the POJO registration statement
tools/dubbogo-cli/generator/sample/hessian/generator.go:173
↓ 1 callers
Function
genRegistryStatement
(file *fileInfo)
tools/dubbogo-cli/generator/sample/hessian/generator.go:243
↓ 1 callers
Function
genTriple
(plugin *protogen.Plugin)
tools/protoc-gen-go-triple/main.go:78
↓ 1 callers
Function
gen_matcher
(key string)
cluster/router/affinity/router_test.go:101
↓ 1 callers
Function
generateClientImplSignature
generateClientImplSignature returns the client-side signature for a method.
tools/protoc-gen-go-triple/internal/old_triple/oldTriple.go:324
↓ 1 callers
Method
generateClientSignature
generateClientSignature returns the client-side signature for a method.
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go:244
↓ 1 callers
Function
generateComponents
(fd protoreflect.FileDescriptor)
tools/protoc-gen-triple-openapi/internal/converter/components.go:32
↓ 1 callers
Function
generateCondition
* to check configVersion, here need decode twice. From a performance perspective, decoding from a string and decoding from a map[string]any cost nearl
cluster/router/condition/dynamic_router.go:206
↓ 1 callers
Function
generateConditionsRoute
(rawConfig string)
cluster/router/condition/dynamic_router.go:289
↓ 1 callers
Method
generateExample
(schema *model.Schema, visiting map[string]struct{}, depth int)
protocol/triple/openapi/schema_resolver.go:256
↓ 1 callers
Function
generateFileContent
generateFileContent generates the gRPC service definitions, excluding the package statement.
tools/protoc-gen-go-triple/internal/old_triple/oldTriple.go:88
↓ 1 callers
Function
generateGoRoot
()
tools/imports-formatter/main.go:525
↓ 1 callers
Function
generateMatcher
(url *common.URL)
cluster/router/condition/route.go:116
↓ 1 callers
Function
generateMultiConditionRoute
(rawConfig string)
cluster/router/condition/dynamic_router.go:239
↓ 1 callers
Method
generateServerMethod
(servName, fullServName string, method *pb.MethodDescriptorProto)
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go:262
↓ 1 callers
Method
generateService
generateService generates all the code for the named service.
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go:111
↓ 1 callers
Function
generateTestCerts
generateTestCerts generates self-signed CA and server certificates for testing. Returns paths to the generated certificate files and a cleanup functio
protocol/triple/client_external_test.go:55
↓ 1 callers
Function
generateTripleServerMethod
(gen *protogen.Plugin, file *protogen.File, g *protogen.GeneratedFile, method *protogen.Method)
tools/protoc-gen-go-triple/internal/old_triple/oldTriple.go:452
↓ 1 callers
Function
generateTripleService
(gen *protogen.Plugin, file *protogen.File, g *protogen.GeneratedFile, service *protogen.Service)
tools/protoc-gen-go-triple/internal/old_triple/oldTriple.go:102
↓ 1 callers
Method
getActiveFilePath
(active string)
loader.go:349
↓ 1 callers
Method
getAddressWithProtocolPrefix
(url *common.URL)
config_center/apollo/impl.go:218
↓ 1 callers
Method
getAllSubscribeServiceNames
getAllServices retrieves the list of all services from the registry
registry/nacos/registry.go:292
↓ 1 callers
Function
getArgType
(v any)
protocol/dubbo/hessian2/hessian_request.go:35
↓ 1 callers
Function
getArgsFromRequest
getArgsFromRequest get arguments from server.RestServerRequest
protocol/rest/server/rest_server.go:177
↓ 1 callers
Function
getArgsInterfaceFromRequest
getArgsInterfaceFromRequest when service function like GetUser(req []any, rsp *User) error use this method to get arguments
protocol/rest/server/rest_server.go:130
↓ 1 callers
Function
getCategory
just copy from dubbo-go for nacos
registry/polaris/utils.go:40
↓ 1 callers
Method
getClient
getClient returns or creates a RestClient for the given options.
protocol/rest/rest_protocol.go:137
↓ 1 callers
Method
getCloseListener
(conf *common.URL)
registry/zookeeper/registry.go:272
↓ 1 callers
Method
getClosingInvokerExpireTime
()
filter/graceful_shutdown/consumer_filter.go:194
↓ 1 callers
Function
getColonSeparatedKey
(url *common.URL)
filter/sentinel/filter.go:275
↓ 1 callers
Method
getCompressor
(writer io.Writer)
protocol/triple/triple_protocol/compression.go:147
↓ 1 callers
Function
getConsumerPrefix
()
filter/sentinel/filter.go:263
↓ 1 callers
Function
getConsumerProtocols
we can not get the protocols from consumerConfig because some protocol don't have configuration, like jsonrpc.
config/graceful_shutdown.go:233
↓ 1 callers
Method
getConsumerUrl
(c *common.URL)
registry/directory/directory.go:700
← previous
next →
3,001–3,100 of 7,883, ranked by callers