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
stopListen
()
registry/nacos/listener.go:192
↓ 1 callers
Method
subHandler
subHandler handles subscribe metrics
metrics/registry/collector.go:75
↓ 1 callers
Function
subTest
(t *testing.T, val, paramsInterfaces any)
protocol/dubbo3/dubbo3_protocol_test.go:85
↓ 1 callers
Method
subscribe
(*common.URL)
registry/mock_registry.go:78
↓ 1 callers
Function
substr
(s string, pos, length int)
config_center/file/impl.go:230
↓ 1 callers
Function
testClient_AsyncCall
(t *testing.T, client *Client)
remoting/getty/getty_client_test.go:95
↓ 1 callers
Function
testDecodeTCPPackage
(t *testing.T, svr *Server, client *Client)
remoting/getty/readwriter_test.go:52
↓ 1 callers
Function
testFreePort
(t *testing.T)
server/triple_case_route_integration_test.go:204
↓ 1 callers
Function
testRequestOneWay
(t *testing.T, client *Client)
remoting/getty/getty_client_test.go:58
↓ 1 callers
Method
toBatchRegisterInstances
(instances []registry.ServiceInstance)
registry/nacos/service_discovery.go:383
↓ 1 callers
Method
toDeregisterInstance
toDeregisterInstance will convert the ServiceInstance to DeregisterInstanceParam
registry/nacos/service_discovery.go:400
↓ 1 callers
Method
toDescriptor
toDescriptor converts Go object to JavaBeanDescriptor with circular reference detection
filter/generic/generalizer/bean.go:107
↓ 1 callers
Method
toMetadataReportUrl
toMetadataReportUrl translate the registry configuration to the metadata reporting url
config/registry_config.go:100
↓ 1 callers
Method
toReportOptions
()
config/metadata_config.go:91
↓ 1 callers
Method
toURL
toURL will compatible with baseConfig.ShutdownConfig.Address and baseConfig.ShutdownConfig.RemoteRef before 1.6.0 After 1.6.0 will not compatible, onl
config/config_center_config.go:127
↓ 1 callers
Method
toURL
prometheus://localhost:9090?&histogram.enabled=false&prometheus.exporter.enabled=false
config/metric_config.go:144
↓ 1 callers
Method
toURL
(roleType common.RoleType)
config/registry_config.go:145
↓ 1 callers
Method
toURLs
(roleType common.RoleType)
config/registry_config.go:170
↓ 1 callers
Function
toZookeeperInstance
toZookeeperInstance convert to registry's service instance
registry/zookeeper/service_discovery.go:312
↓ 1 callers
Function
totalTimeout
()
config/graceful_shutdown.go:222
↓ 1 callers
Method
transfer
(session getty.Session, request *remoting.Request, timeout time.Duration)
remoting/getty/getty_client.go:322
↓ 1 callers
Function
transformMethodConfig
transformMethodConfig
protocol/rest/config/reader/rest_config_reader.go:117
↓ 1 callers
Method
translateConfigAddress
translateConfigAddress translate config address eg:address=nacos://127.0.0.1:8848 will return 127.0.0.1:8848 and protocol will set nacos
config/config_center_config.go:112
↓ 1 callers
Function
tripleCodecFromContentType
(streamType StreamType, contentType string)
protocol/triple/triple_protocol/protocol_triple.go:774
↓ 1 callers
Function
tripleHTTPToCode
(httpCode int)
protocol/triple/triple_protocol/protocol_triple.go:745
↓ 1 callers
Function
truncateString
truncateString truncates a string to maxLen characters
metadata/client.go:201
↓ 1 callers
Method
tryTimerTaskProc
(ctx context.Context, retryTask *retryTimerTask)
cluster/cluster/failback/cluster_invoker.go:81
↓ 1 callers
Function
unaryRESTIteration
(b *testing.B, client *http.Client, url string, text string)
protocol/triple/triple_protocol/bench_test.go:134
↓ 1 callers
Method
uncacheInvoker
uncacheInvoker will return abandoned Invoker, if no Invoker to be abandoned, return nil
registry/directory/directory.go:468
↓ 1 callers
Method
uncacheInvokerWithClusterID
(clusterID string)
registry/directory/directory.go:451
↓ 1 callers
Function
unescapeFunc
(s string, mode encoding)
protocol/triple/common_low_version.go:198
↓ 1 callers
Method
unmarshalWrappedMessage
unmarshalWrappedMessage handles both TripleResponseWrapper and TripleRequestWrapper formats. It determines the format by checking if message is a slic
protocol/triple/triple_protocol/codec.go:130
↓ 1 callers
Method
unregisterService
unregisterService un-register service in zookeeper
remoting/zookeeper/curator_discovery/service_discovery.go:180
↓ 1 callers
Method
updateInternalService
updateInternalService update service in cache
remoting/zookeeper/curator_discovery/service_discovery.go:150
↓ 1 callers
Function
updateOrCreateMeshURL
(rc *ReferenceConfig)
config/reference_config.go:144
↓ 1 callers
Function
userHomeDir
userHomeDir get gopath
loader.go:293
↓ 1 callers
Function
userHomeDir
userHomeDir get gopath
config/config_loader_options.go:160
↓ 1 callers
Method
valid
valid return the true if the client conn isn't nil
registry/zookeeper/listener.go:183
↓ 1 callers
Function
validateCorsConfig
validateCorsConfig validates CORS configuration.
protocol/triple/options.go:248
↓ 1 callers
Function
validateOrigin
(origin string)
protocol/triple/options.go:297
↓ 1 callers
Function
validateRegistryAddresses
TODO:When config is migrated later, the impact of this will be migrated to the global module validateRegistryAddresses Checks whether there are duplic
config/root_config.go:407
↓ 1 callers
Function
validateReplyPointer
validateReplyPointer checks if the reply is a valid non-nil pointer. Parameters: - reply: the value to validate Returns: - the reflect.Value of the
filter/generic/util.go:110
↓ 1 callers
Method
validateResponse
(response *http.Response)
protocol/triple/triple_protocol/protocol_grpc.go:422
↓ 1 callers
Function
validateWildcardOrigin
(origin string)
protocol/triple/options.go:324
↓ 1 callers
Function
versionContainsIllegalCharacters
(s string)
cluster/utils/version.go:101
↓ 1 callers
Function
waitAndAcceptNewRequests
()
config/graceful_shutdown.go:162
↓ 1 callers
Function
waitEvent
(t *testing.T, ch <-chan *config_center.ConfigChangeEvent, expect remoting.EventType)
config_center/file/listener_test.go:77
↓ 1 callers
Function
waitForSendingAndReceivingRequests
for provider. It will wait for processing receiving requests
config/graceful_shutdown.go:197
↓ 1 callers
Function
waitGrpcExporter
waitGrpcExporter wait until len(providerServices) = len(ExporterMap)
protocol/grpc/server.go:210
↓ 1 callers
Function
waitTimeout
(wg *sync.WaitGroup, timeout time.Duration)
metrics/prometheus/registry_test.go:181
↓ 1 callers
Function
waitTripleRouteReady
(t *testing.T, client *http.Client, url string)
server/triple_case_route_integration_test.go:238
↓ 1 callers
Function
waitingConsumerProcessedTimeout
(shutdown *global.ShutdownConfig)
graceful_shutdown/shutdown.go:298
↓ 1 callers
Function
waitingConsumerProcessedTimeout
(shutdownConfig *ShutdownConfig)
config/graceful_shutdown.go:208
↓ 1 callers
Function
waitingProviderProcessedTimeout
(shutdown *global.ShutdownConfig, timeout time.Duration)
graceful_shutdown/shutdown.go:277
↓ 1 callers
Function
waitingProviderProcessedTimeout
(shutdownConfig *ShutdownConfig)
config/graceful_shutdown.go:179
↓ 1 callers
Function
watch
(conf *loaderConf, stopCh <-chan struct{})
loader.go:100
↓ 1 callers
Function
withHessian2Codec
()
protocol/triple/triple_protocol/option.go:594
↓ 1 callers
Function
withMsgPackCodec
()
protocol/triple/triple_protocol/option.go:598
↓ 1 callers
Function
withProtoJSONCodecs
()
protocol/triple/triple_protocol/option.go:587
↓ 1 callers
Function
wrapIfLikelyH2CNotConfiguredError
wrapIfLikelyH2CNotConfiguredError adds a wrapping error that has a message telling the caller that they likely need to use h2c but are using a raw htt
protocol/triple/triple_protocol/error.go:274
↓ 1 callers
Function
wrapIfLikelyWithGRPCNotUsedError
wrapIfLikelyWithGRPCNotUsedError adds a wrapping error that has a message telling the caller that the server side does not use gRPC. This happens whe
protocol/triple/triple_protocol/error.go:301
↓ 1 callers
Method
write2File
(fp string, value string)
config_center/file/impl.go:205
↓ 1 callers
Method
writeConnectUnary
(response http.ResponseWriter, err error)
protocol/triple/triple_protocol/error_writer.go:109
↓ 1 callers
Method
writeGRPC
func (w *ErrorWriter) writeConnectStreaming(response http.ResponseWriter, err error) error { response.WriteHeader(http.StatusOK) marshaler := &conne
protocol/triple/triple_protocol/error_writer.go:137
↓ 1 callers
Method
writeGRPCWeb
(response http.ResponseWriter, err error)
protocol/triple/triple_protocol/error_writer.go:153
↓ 1 callers
Method
writeLogToFile
writeLogToFile actually write the logs into file
filter/accesslog/filter.go:250
Method
Accept
Accept return true if the name is the same
registry/servicediscovery/service_instances_changed_listener_impl.go:209
Method
Accept
Accept implements net.Listener.
protocol/triple/triple_protocol/example_init_test.go:105
Method
Acquire
()
filter/adaptivesvc/limiter/hill_climbing.go:110
Method
ActualMethodName
ActualMethodName gets actual invocation method name. It returns the method name been called if it's a generic call
protocol/invocation/rpcinvocation.go:85
Method
ActualMethodName
ActualMethodName mocks base method
filter/otel/trace/filter_test.go:88
Method
ActualMethodName
ActualMethodName indicates an expected call of ActualMethodName
filter/otel/trace/filter_test.go:95
Method
Add
(float64)
metrics/api.go:150
Method
Add
(float64)
metrics/api.go:158
Method
Add
(labels map[string]string, v float64)
metrics/api.go:204
Method
Add
(labels map[string]string, v float64)
metrics/api.go:243
Method
Add
(v float64)
metrics/api_test.go:99
Method
Add
(v float64)
metrics/api_test.go:108
Method
AddAttachment
AddAttachment mocks base method
filter/otel/trace/filter_test.go:406
Method
AddAttachment
AddAttachment indicates an expected call of AddAttachment
filter/otel/trace/filter_test.go:411
Method
AddContent
(mediaType string, content *MediaType)
protocol/triple/openapi/model/request.go:36
Method
AddContent
(mediaType string, content *MediaType)
protocol/triple/openapi/model/response.go:36
Method
AddEnum
(value any)
protocol/triple/openapi/model/schema.go:110
Function
AddGoRestfulServerFilter
AddGoRestfulServerFilter let user add the http server of go-restful addFilter should before config.Load()
protocol/rest/server/server_impl/go_restful_server.go:121
Method
AddListener
AddListener add listener for ServiceInstancesChangedListener
registry/polaris/service_discovery.go:252
Method
AddListener
(registry.ServiceInstancesChangedListener)
registry/servicediscovery/service_discovery_registry_test.go:222
Method
AddListener
AddListener adds a new ServiceInstancesChangedListenerImpl see addServiceInstancesChangedListener in Java
registry/etcdv3/service_discovery.go:214
Method
AddListener
AddListener will add a listener
registry/nacos/service_discovery.go:286
Method
AddListener
AddListener ListenServiceEvent will add a data listener in service
registry/zookeeper/service_discovery.go:237
Method
AddListener
AddListener will add a listener if loaded
metadata/report/zookeeper/listener.go:98
Method
AddListener
AddListener adds a listener for MockDynamicConfiguration
config_center/mock_dynamic_config.go:112
Method
AddListener
AddListener adds a listener for apollo
config_center/apollo/listener.go:67
Method
AddListener
(key string, listener cc.ConfigurationListener, opts ...cc.Option)
config_center/apollo/impl.go:85
Method
AddListener
AddListener Add listener
config_center/file/impl.go:103
Method
AddListener
AddListener Add listener
config_center/nacos/impl.go:89
Method
AddListener
AddListener will add a listener if loaded
config_center/zookeeper/listener.go:48
Method
AddListener
AddListener add listener for key TODO this method should has a parameter 'group', and it does not now, so we should concat group and key with '/' manu
config_center/zookeeper/impl.go:106
Method
AddListenerAndNotify
AddListenerAndNotify add notify listener and notify to listen service event
registry/servicediscovery/service_instances_changed_listener_impl.go:187
Method
AddMethodConfig
(methodConfig *MethodConfig)
config/reference_config.go:507
Method
AddReference
(referenceKey string, referenceConfig *ReferenceConfig)
config/consumer_config.go:244
← previous
next →
3,401–3,500 of 7,883, ranked by callers