Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallnest/rpcx
/ functions
Functions
869 in github.com/smallnest/rpcx
⨍
Functions
869
◇
Types & classes
179
Method
IsASelectMode
IsASelectMode returns "true" if the value is listed in the enum definition. "false" otherwise
client/selectmode_enumer.go:46
Method
IsNotify
IsNotify returns true if this request is a notification.
server/jsonrpc2_wire.go:87
Method
IsServiceError
()
client/client.go:57
Method
JSONRPCError
()
server/jsonrpc2_wire.go:91
Function
JumpConsistentHash
JumpConsistentHash selects a server by serviceMethod and args
client/hash_utils.go:49
Method
ListServices
()
server/service.go:80
Method
Log
Log reports metrics into logs. p.Log( 5 * time.Second, log.New(os.Stderr, "metrics: ", log.Lmicroseconds))
serverplugin/metrics.go:94
Method
Marshal
()
_testutils/arith_service.go:106
Method
MarshalJSON
()
server/jsonrpc2_wire.go:98
Method
MarshalJSON
()
server/jsonrpc2_wire.go:126
Method
Metadata
Metadata returns the metadata.
server/context.go:52
Function
Mul
(ctx context.Context, args *Args, reply *Reply)
server/service_test.go:27
Method
Mul
(ctx context.Context, args *Args, reply *Reply)
client/client_test.go:28
Method
Mul
(ctx context.Context, args *testutils.ProtoArgs, reply *testutils.ProtoReply)
client/client_test.go:35
Method
Mul
(ctx context.Context, args *Args, reply *Reply)
client/client_test.go:49
Method
Mul
(ctx context.Context, args *testutils.ProtoArgs, reply *testutils.ProtoReply)
reflection/server_reflection_test.go:15
Method
Mul
(ctx context.Context, args *Args, reply *Reply)
serverplugin/registry_test.go:16
Method
Mul
(ctx context.Context, args *Args, reply *Reply)
server/server_test.go:29
Method
MuxMatch
(m cmux.CMux)
server/plugin.go:44
Method
MuxMatch
MuxMatch adds cmux Match.
server/plugin.go:402
Function
NewAliasPlugin
NewAliasPlugin creates a new NewAliasPlugin
serverplugin/alias.go:35
Function
NewBidirectionalOneClientPool
NewBidirectionalOneClientPool creates a BidirectionalOneClient pool with fixed size.
client/oneclient_pool.go:45
Function
NewBidirectionalXClientPool
NewBidirectionalXClientPool creates a BidirectionalXClient pool with fixed size.
client/xclient_pool.go:50
Function
NewClient
NewClient returns a new Client with the option.
client/client.go:140
Function
NewFileTransfer
NewFileTransfer creates a FileTransfer with given parameters.
server/file_transfer.go:54
Function
NewMDNSRegisterPlugin
NewMDNSRegisterPlugin return a new MDNSRegisterPlugin. If domain is empty, use "local." in default.
serverplugin/mdns.go:44
Function
NewMetricsPlugin
NewMetricsPlugin creates a new MetricsPlugin
serverplugin/metrics.go:25
Function
NewRateLimitingPlugin
NewRateLimitingPlugin creates a new RateLimitingPlugin
serverplugin/rate_limiting.go:18
Function
NewRedisRateLimitingPlugin
NewRedisRateLimitingPlugin creates a new RateLimitingPlugin
clientplugin/req_rate_limiting_redis.go:23
Function
NewRedisRateLimitingPlugin
NewRedisRateLimitingPlugin creates a new RateLimitingPlugin
serverplugin/req_rate_limiting_redis.go:23
Function
NewReqRateLimitingPlugin
NewReqRateLimitingPlugin creates a new RateLimitingPlugin
serverplugin/req_rate_limiting.go:21
Function
NewServiceError
NewServiceError creates a ServiceError with the error message.
client/client.go:44
Function
NewStreamService
NewStreamService creates a stream service.
server/stream.go:48
Function
NewTeeConnPlugin
(w io.Writer)
serverplugin/tee.go:13
Function
NewThriftArgs_
()
_testutils/thrift_arith_service.go:28
Function
NewThriftColorGroup
()
codec/testdata/thrift_colorgroup.go:30
Function
NewThriftReply
()
_testutils/thrift_arith_service.go:181
Method
Oneshot
(ctx context.Context, serviceMethod string, args interface{})
client/xclient.go:58
Method
Oneshot
Oneshot invokes the named function, ** DOEST NOT ** wait for it to complete, and returns immediately.
client/xclient.go:706
Function
Panic
(v ...interface{})
log/logger.go:81
Method
Panic
(v ...interface{})
log/dummy_logger.go:35
Method
Panic
(v ...interface{})
log/default_logger.go:112
Function
Panicf
(format string, v ...interface{})
log/logger.go:84
Method
Panicf
(format string, v ...interface{})
log/dummy_logger.go:38
Method
Panicf
(format string, v ...interface{})
log/default_logger.go:116
Function
ParseRpcxAddress
ParseRpcxAddress parses rpcx address such as tcp@127.0.0.1:8972 quic@192.168.1.1:9981
util/net.go:25
Method
Payload
Payload returns the payload.
server/context.go:47
Method
PostCall
(ctx context.Context, servicePath, serviceMethod string, args interface{}, reply interface{}, err error)
client/plugin.go:174
Method
PostReadRequest
PostReadRequest can limit request processing.
serverplugin/req_rate_limiting_redis.go:43
Method
PostReadRequest
PostReadRequest converts the alias of this service.
serverplugin/alias.go:43
Method
PostReadRequest
PostReadRequest can limit request processing.
serverplugin/req_rate_limiting.go:33
Method
PostReadRequest
PostReadRequest counts read
serverplugin/metrics.go:53
Method
PostWriteResponse
PostWriteResponse count write
serverplugin/metrics.go:66
Method
PreCall
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/plugin.go:169
Method
PreCall
PreCall can limit request processing.
clientplugin/req_rate_limiting_redis.go:43
Method
PreCall
PreCall handles rpc call from clients
serverplugin/redis.go:162
Method
PreCall
PreCall handles rpc call from clients
serverplugin/mdns.go:153
Method
PreReadRequest
PreReadRequest marks start time of calling service
serverplugin/metrics.go:48
Method
PreWriteResponse
PreWriteResponse restore servicePath and serviceMethod.
serverplugin/alias.go:62
Method
ProtoMessage
()
protocol/testdata/benchmark.pb.go:83
Method
ProtoMessage
()
codec/testdata/protobuf.pb.go:46
Method
ProtoMessage
()
_testutils/arith_service.go:41
Method
ProtoMessage
()
_testutils/arith_service.go:64
Method
ProtoReflect
()
protocol/testdata/benchmark.pb.go:85
Method
ProtoReflect
()
codec/testdata/protobuf.pb.go:48
Method
Read
(ctx context.Context, iprot thrift.TProtocol)
_testutils/thrift_arith_service.go:39
Method
Read
(ctx context.Context, iprot thrift.TProtocol)
_testutils/thrift_arith_service.go:188
Method
Ready
()
client/circuit_breaker.go:95
Method
Register
(name string, rcvr interface{}, metadata string)
reflection/server_reflection.go:69
Method
Register
Register handles registering event. this service is registered at BASE/serviceName/thisIpAddress node
serverplugin/redis.go:171
Method
Register
Register handles registering event.
serverplugin/metrics.go:34
Function
RegisterCacheClientBuilder
(network string, builder CacheClientBuilder)
client/cache_client_builder.go:18
Method
RegisterFunction
(serviceName, fname string, fn interface{}, metadata string)
serverplugin/mdns.go:187
Method
RegisterFunction
RegisterFunction publishes a function that satisfy the following conditions: - three arguments, the first is of context.Context, both of exported type
server/service.go:128
Method
RegisterFunctionName
RegisterFunctionName is like RegisterFunction but uses the provided name for the function instead of the function's concrete type.
server/service.go:139
Function
RegisterMakeListener
RegisterMakeListener registers a MakeListener for network.
server/listener.go:22
Method
RegisterOnRestart
RegisterOnRestart registers a function to call on Restart.
server/server.go:936
Method
RegisterServerMessageChan
RegisterServerMessageChan registers the channel that receives server requests.
client/client.go:235
Method
RemoteAddr
RemoteAddr returns the remote address.
client/client.go:147
Method
Remove
Remove removes a plugin by its name.
client/plugin.go:28
Method
Remove
(plugin Plugin)
client/plugin.go:215
Method
Remove
Remove removes a plugin by it's name.
server/plugin.go:143
Method
RemoveWatcher
(ch chan []*KVPair)
client/multiple_servers_discovery.go:54
Method
RemoveWatcher
(ch chan []*KVPair)
client/mdns_discovery.go:86
Method
RemoveWatcher
(ch chan []*KVPair)
client/peer2peer_discovery.go:35
Method
RemoveWatcher
(ch chan []*KVPair)
client/dns_discovery.go:67
Method
RemoveWatcher
(ch chan []*KVPair)
client/discovery.go:111
Method
Reset
Reset clean data of this message but keep allocated data
protocol/message.go:513
Method
Reset
()
protocol/testdata/benchmark.pb.go:70
Method
Reset
()
codec/testdata/protobuf.pb.go:33
Method
Reset
()
server/pool_test.go:15
Method
Reset
()
_testutils/arith_service.go:39
Method
Reset
()
_testutils/arith_service.go:62
Method
Restart
Restart restarts this server gracefully. It starts a new rpcx server with the same port with SO_REUSEPORT socket option, and shutdown this rpcx server
server/server.go:1024
Method
Select
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/selector.go:59
Method
Select
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/selector.go:92
Method
Select
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/selector.go:127
Method
Select
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/selector.go:218
Method
Select
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/selector.go:294
Method
Select
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/ping_utils.go:29
← previous
next →
601–700 of 869, ranked by callers