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,432 callers
Method
Equal
(target Version)
cluster/utils/version.go:63
↓ 753 callers
Method
Run
(rawScript string, invokers []base.Invoker, invocation base.Invocation)
cluster/router/script/instance/instances_pool.go:38
↓ 719 callers
Method
Errorf
(template string, args ...any)
logger/base.go:40
↓ 425 callers
Method
Equal
(t *ConditionRule)
config/router_config.go:201
↓ 421 callers
Function
NewURL
NewURL will create a new URL the urlString should not be empty
common/url.go:252
↓ 391 callers
Method
GetParam
GetParam gets value by key
common/url.go:628
↓ 366 callers
Method
Error
(args ...any)
logger/base.go:39
↓ 320 callers
Method
P
P forwards to g.gen.P.
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go:79
↓ 271 callers
Method
GetURL
()
common/node.go:22
↓ 268 callers
Function
WithParamsValue
WithParamsValue sets params field for URL
common/url.go:159
↓ 258 callers
Method
Set
(labels map[string]string, v float64)
metrics/api.go:210
↓ 243 callers
Method
Unlock
()
common/url.go:89
↓ 239 callers
Method
Warnf
(template string, args ...any)
logger/base.go:38
↓ 238 callers
Method
Lock
Lock is a no-op used by -copylocks checker from `go vet`.
common/url.go:88
↓ 234 callers
Function
Equal
Equal asserts that two values are equal.
protocol/triple/triple_protocol/internal/assert/assert.go:36
↓ 226 callers
Function
NewBaseInvoker
NewBaseInvoker creates a new BaseInvoker
protocol/base/base_invoker.go:74
↓ 223 callers
Method
Contains
(string)
protocol/triple/triple_protocol/compression.go:169
↓ 221 callers
Method
Set
(name string, config any)
config/config_setter.go:21
↓ 216 callers
Method
Error
()
protocol/result/result.go:43
↓ 215 callers
Method
Load
()
config/consumer_config.go:119
↓ 214 callers
Function
Nil
Nil asserts that the value is nil.
protocol/triple/triple_protocol/internal/assert/assert.go:56
↓ 208 callers
Method
Len
Len returns the number of URLs in the slice.
common/url.go:1016
↓ 201 callers
Method
Add
(labels map[string]string, v float64)
metrics/api.go:213
↓ 183 callers
Method
Get
Get gets the Codec with the given name.
protocol/triple/triple_protocol/codec.go:419
↓ 173 callers
Method
Equal
Equal checks if two ConditionRule instances are equal.
global/router_config.go:61
↓ 173 callers
Function
NewURLWithOptions
NewURLWithOptions will create a new URL with options
common/url.go:241
↓ 164 callers
Method
Infof
(template string, args ...any)
logger/base.go:36
↓ 162 callers
Method
Fatalf
(fmt string, args ...any)
logger/base.go:42
↓ 158 callers
Function
NewRPCInvocation
NewRPCInvocation creates a RPC invocation.
protocol/invocation/rpcinvocation.go:58
↓ 116 callers
Method
Debugf
(template string, args ...any)
logger/base.go:34
↓ 114 callers
Method
Join
(directory.Directory)
cluster/cluster/cluster.go:27
↓ 108 callers
Method
Any
()
protocol/triple/triple_protocol/triple.go:196
↓ 102 callers
Method
SetParam
SetParam will put the key-value pair into URL usually it should only be invoked when you want to initialized an URL
common/url.go:558
↓ 98 callers
Method
Encode
(openAPI *model.OpenAPI, format string, pretty bool)
protocol/triple/openapi/encoder.go:39
↓ 94 callers
Function
NewMetricKey
(name string, desc string)
metrics/common.go:30
↓ 90 callers
Function
WithParams
WithParams deep copy the params in the argument into params of the target URL
common/url.go:152
↓ 88 callers
Method
Client
()
remoting/etcdv3/facade.go:35
↓ 88 callers
Method
String
()
common/url.go:395
↓ 83 callers
Method
Header
()
protocol/triple/triple_protocol/triple.go:199
↓ 82 callers
Method
NewRequest
NewRequest creates a new HTTP request with @service ,@method and @arguments.
protocol/jsonrpc/http.go:97
↓ 81 callers
Method
Call
Call makes a HTTP call with @ctx , @service ,@req and @rsp
protocol/jsonrpc/http.go:110
↓ 81 callers
Method
Close
Close flushes any buffered data to the underlying sink, then closes the Compressor. It must not close the underlying sink.
protocol/triple/triple_protocol/compression.go:52
↓ 81 callers
Method
MethodName
MethodName gets invocation method name.
protocol/base/invocation.go:28
↓ 81 callers
Function
NewRPCInvocationWithOptions
NewRPCInvocationWithOptions creates a RPC invocation with @opts.
protocol/invocation/rpcinvocation.go:68
↓ 80 callers
Method
Interface
Interface get interface
common/url.go:331
↓ 78 callers
Method
Done
for wait group control, etcd client listener & etcd client container
remoting/etcdv3/facade.go:39
↓ 77 callers
Method
IsAvailable
()
common/node.go:23
↓ 75 callers
Method
Do
(request *RestClientRequest, res any)
protocol/rest/client/rest_client.go:43
↓ 75 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
protocol/mock/mock_invoker.go:58
↓ 75 callers
Method
Invoke
Invoke is the core function of a cluster interceptor, it determines the process of the interceptor
cluster/cluster/cluster_interceptor.go:31
↓ 72 callers
Method
GetAttribute
(key string)
protocol/base/invocation.go:63
↓ 71 callers
Function
NotNil
NotNil asserts that the value isn't nil.
protocol/triple/triple_protocol/internal/assert/assert.go:66
↓ 71 callers
Method
Register
Register is used for service provider calling, register services to registry. And it is also used for service consumer calling, register services care
registry/registry.go:32
↓ 69 callers
Method
Fatal
(args ...any)
logger/base.go:41
↓ 69 callers
Method
Invoke
(context.Context, base.Invoker, base.Invocation)
filter/filter.go:34
↓ 63 callers
Function
defaultServerOptions
()
server/options.go:64
↓ 63 callers
Function
defaultServiceOptions
()
server/options.go:508
↓ 61 callers
Function
NewDubboPackage
(data *bytes.Buffer)
protocol/dubbo/impl/package.go:157
↓ 61 callers
Function
NewError
NewError annotates any Go error with a status code.
protocol/triple/triple_protocol/error.go:122
↓ 61 callers
Method
ServiceKey
ServiceKey gets a unique key of a service.
common/url.go:431
↓ 60 callers
Method
Handle
Handle registers the handler in the exact mux and the lowercase-first-method fallback index. If two patterns collide after fallback normalization, the
protocol/triple/triple_protocol/method_route_mux.go:55
↓ 59 callers
Function
WithProtocol
WithProtocol sets protocol for URL
common/url.go:166
↓ 59 callers
Method
Write
(*Request)
tools/dubbogo-cli/internal/protocol/protocol.go:26
↓ 58 callers
Function
True
True asserts that "got" is true.
protocol/triple/triple_protocol/internal/assert/assert.go:142
↓ 57 callers
Method
Attachments
()
protocol/result/result.go:47
↓ 57 callers
Method
Send
Send, RequestHeader, and CloseRequest may race with each other, but must be safe to call concurrently with all other methods.
protocol/triple/triple_protocol/triple.go:124
↓ 57 callers
Method
Wait
()
tools/dubbogo-cli/generator/sample/hessian/pool.go:53
↓ 56 callers
Function
GetRootConfig
()
config/root_config.go:76
↓ 56 callers
Method
Type
()
metrics/event.go:22
↓ 56 callers
Function
errorf
errorf calls fmt.Errorf with the supplied template and arguments, then wraps the resulting error.
protocol/triple/triple_protocol/error.go:224
↓ 55 callers
Method
Arguments
Arguments gets arguments.
protocol/base/invocation.go:40
↓ 54 callers
Method
Build
()
config/tls_config.go:144
↓ 53 callers
Function
WithPath
WithPath sets path for URL
common/url.go:187
↓ 52 callers
Method
AddParam
AddParam will add the key-value pair
common/url.go:537
↓ 51 callers
Function
DefaultOpenAPIConfig
()
global/openapi_config.go:41
↓ 51 callers
Method
GetParam
GetParam will return the value of the key. If not found, def will be return; def => default value
config/remote_config.go:67
↓ 50 callers
Function
NewMockInvoker
NewMockInvoker creates a new mock instance.
protocol/mock/mock_invoker.go:51
↓ 50 callers
Function
NewPingServiceClient
NewPingServiceClient constructs a client for the connect.ping.v1.PingService service. By default, it uses the Connect protocol with the binary Protobu
protocol/triple/triple_protocol/internal/gen/proto/connect/ping/v1/pingv1connect/ping.connect.go:84
↓ 48 callers
Method
Clone
Clone will copy the URL
common/url.go:944
↓ 48 callers
Method
String
()
protocol/triple/triple_protocol/code.go:113
↓ 47 callers
Method
Unmarshal
([]byte, *DubboPackage)
protocol/dubbo/impl/serialize.go:26
↓ 46 callers
Method
Close
Close closes this listener
registry/registry.go:89
↓ 46 callers
Method
Decode
(data []byte)
remoting/codec.go:29
↓ 46 callers
Method
Len
()
cluster/router/chain/chain.go:217
↓ 46 callers
Method
Marshal
(p DubboPackage)
protocol/dubbo/impl/serialize.go:25
↓ 45 callers
Method
Delete
Delete removes the value associated with the given key from the cache.
registry/servicediscovery/store/cache_manager.go:89
↓ 45 callers
Method
Ping
Ping sends a ping to the server to determine if it's reachable.
protocol/triple/triple_protocol/internal/gen/proto/connect/ping/v1/pingv1connect/ping.connect.go:66
↓ 45 callers
Method
Receive
Receive, ResponseHeader, ResponseTrailer, and CloseResponse may race with each other, but must be safe to call concurrently with all other methods.
protocol/triple/triple_protocol/triple.go:130
↓ 44 callers
Method
SetAttribute
(key string, value any)
protocol/base/invocation.go:62
↓ 43 callers
Method
Result
()
protocol/result/result.go:45
↓ 42 callers
Method
Marshal
Marshal marshals the given message. Marshal may expect a specific type of message, and will error if this type is not given.
protocol/triple/triple_protocol/codec.go:66
↓ 42 callers
Function
WithMethodName
WithMethodName creates option with @methodName.
protocol/invocation/rpcinvocation.go:285
↓ 41 callers
Method
Inc
(labels map[string]string)
metrics/api.go:211
↓ 41 callers
Method
IsAllowable
(*common.URL, base.Invocation)
filter/tps_limiter.go:53
↓ 41 callers
Function
getArgType
(v any)
protocol/dubbo/impl/hessian.go:425
↓ 40 callers
Method
Unmarshal
Unmarshal unmarshals the given message. Unmarshal may expect a specific type of message, and will error if this type is not given.
protocol/triple/triple_protocol/codec.go:71
↓ 37 callers
Function
NewSchema
()
protocol/triple/openapi/model/schema.go:46
↓ 37 callers
Function
SetSerializer
(name string, serializer Serializer)
protocol/dubbo/impl/serialization.go:40
↓ 37 callers
Method
SetType
(t SchemaType)
protocol/triple/openapi/model/schema.go:52
↓ 36 callers
Method
Name
Name returns the name of the Codec. This may be used as part of the Content-Type within HTTP. For example, with gRPC this is the content subtype, so
protocol/triple/triple_protocol/codec.go:61
next →
1–100 of 7,883, ranked by callers