MCPcopy Create free account

hub / github.com/smallnest/rpcx / functions

Functions869 in github.com/smallnest/rpcx

FunctionSelectModeString
SelectModeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
client/selectmode_enumer.go:33
FunctionSelectModeValues
SelectModeValues returns all values of the enum
client/selectmode_enumer.go:41
MethodSendFile
SendFile sends a local file to the server. fileName is the path of local file. rateInBytesPerSecond can limit bandwidth of sending, 0 means does not
client/xclient.go:1251
MethodSendFile
(ctx context.Context, fileName string, rateInBytesPerSecond int64, meta map[string]string)
client/oneclient.go:272
MethodSendRaw
(ctx context.Context, r *protocol.Message)
client/xclient.go:767
MethodSendRaw
(ctx context.Context, r *protocol.Message)
client/oneclient.go:198
MethodSendRaw
(ctx context.Context, r *protocol.Message)
client/client.go:106
MethodSendRaw
SendRaw sends raw messages. You don't care args and replies.
client/client.go:379
MethodServeHTTP
ServeHTTP implements an http.Handler that answers RPC requests.
server/server.go:874
MethodServeListener
ServeListener listens RPC requests. It is blocked until receiving connections from clients.
server/server.go:247
MethodServeWS
(conn *websocket.Conn)
server/server.go:895
MethodServiceMethod
ServiceMethod returns the ServiceMethod.
server/context.go:62
MethodServicePath
ServicePath returns the ServicePath.
server/context.go:57
MethodSetCORS
SetCORS sets CORS options. for example: cors.Options{ AllowedOrigins: []string{"foo.com"}, AllowedMethods: []string{http.MethodGet, http.Met
server/jsonrpc2.go:178
FunctionSetDummyLogger
()
log/logger.go:42
MethodSetFilter
SetFilter sets the filer.
client/multiple_servers_discovery.go:33
MethodSetFilter
SetFilter sets the filer.
client/mdns_discovery.go:64
MethodSetFilter
SetFilter sets the filer.
client/peer2peer_discovery.go:21
MethodSetFilter
SetFilter sets the filer.
client/dns_discovery.go:46
MethodSetFilter
(ServiceDiscoveryFilter)
client/discovery.go:21
FunctionSetLogger
(logger Logger)
log/logger.go:34
MethodSetPlugins
SetPlugins sets client's plugins.
client/xclient.go:190
MethodSetPlugins
SetPlugins sets client's plugins.
client/oneclient.go:72
MethodSetSelector
SetSelector sets customized selector by users.
client/xclient.go:70
MethodSetSelector
SetSelector sets customized selector by users.
client/oneclient.go:62
MethodStart
Start starts to connect redis cluster
serverplugin/redis.go:47
MethodStart
Start starts the mdns loop.
serverplugin/mdns.go:60
MethodStop
Stop unregister all services.
serverplugin/redis.go:124
MethodStop
Stop unregister all services.
serverplugin/mdns.go:110
MethodStop
()
server/stream.go:176
MethodStop
()
server/file_transfer.go:210
MethodStopAndWait
()
server/server.go:75
MethodStream
(ctx context.Context, meta map[string]string)
client/xclient.go:1418
MethodStream
(ctx context.Context, meta map[string]string)
client/oneclient.go:316
MethodStream
(ctx context.Context, args *share.StreamServiceArgs, reply *share.StreamServiceReply)
server/stream.go:70
MethodString
()
client/selectmode_enumer.go:13
MethodString
()
protocol/testdata/benchmark.pb.go:79
MethodString
()
codec/testdata/protobuf.pb.go:42
MethodString
()
codec/testdata/thrift_colorgroup.go:213
MethodString
()
_testutils/arith_service.go:40
MethodString
()
_testutils/arith_service.go:63
MethodString
()
_testutils/thrift_arith_service.go:168
MethodString
()
_testutils/thrift_arith_service.go:279
MethodSuccess
()
client/circuit_breaker.go:87
MethodSuccess
()
client/client.go:79
FunctionTestChanPtr
(t *testing.T)
protocol/message_chan_test.go:35
FunctionTestChanValue
(t *testing.T)
protocol/message_chan_test.go:11
FunctionTestCircuitBreakerRace
(t *testing.T)
client/circuit_breaker_test.go:56
FunctionTestClient_Bidirectional
(t *testing.T)
client/client_test.go:203
FunctionTestClient_IT
(t *testing.T)
client/client_test.go:56
FunctionTestClient_IT_Concurrency
(t *testing.T)
client/client_test.go:126
FunctionTestClient_Res_Reset
(t *testing.T)
client/client_test.go:192
FunctionTestConsecCircuitBreaker
(t *testing.T)
client/circuit_breaker_test.go:10
FunctionTestContext
(t *testing.T)
share/context_test.go:15
FunctionTestExternalIPV4
(t *testing.T)
util/net_test.go:50
FunctionTestExternalIPV6
(t *testing.T)
util/net_test.go:62
FunctionTestGetFreePort
(t *testing.T)
util/net_test.go:9
FunctionTestHTTPRequest2RpcxRequest
(t *testing.T)
server/converter_test.go:13
FunctionTestHandleRequest
(t *testing.T)
server/server_test.go:66
FunctionTestHandler
(t *testing.T)
server/server_test.go:122
FunctionTestLimitedPool_findPool
(t *testing.T)
util/buffer_pool_test.go:8
FunctionTestLimitedPool_findPutPool
(t *testing.T)
util/buffer_pool_test.go:41
FunctionTestMessage
(t *testing.T)
protocol/message_test.go:8
FunctionTestMultiError_Append
(t *testing.T)
errors/error_test.go:20
FunctionTestMultiError_Error
(t *testing.T)
errors/error_test.go:28
FunctionTestMultiError_ErrorOrNil
(t *testing.T)
errors/error_test.go:36
FunctionTestNewMultiError
(t *testing.T)
errors/error_test.go:11
FunctionTestOneClientPool_GetPlugins
(t *testing.T)
client/oneclient_pool_test.go:50
FunctionTestOneClientPool_SetPlugins
(t *testing.T)
client/oneclient_pool_test.go:7
FunctionTestOneClientPool_SetPlugins_Concurrent
(t *testing.T)
client/oneclient_pool_test.go:95
FunctionTestOption
(t *testing.T)
server/option_test.go:11
FunctionTestPluginHeartbeat
TestPluginHeartbeat: go test -v -test.run TestPluginHeartbeat
server/plugin_test.go:23
FunctionTestPool
(t *testing.T)
server/pool_test.go:19
FunctionTestReflection_Register
(t *testing.T)
reflection/server_reflection_test.go:20
FunctionTestShare
(t *testing.T)
share/share_test.go:20
FunctionTestShutdownHook
(t *testing.T)
server/server_test.go:45
FunctionTestUncoverError
(t *testing.T)
client/xclient_test.go:118
FunctionTestWeightedRoundRobinSelector_Select
(t *testing.T)
client/selector_test.go:41
FunctionTestWeightedRoundRobinSelector_UpdateServer
(t *testing.T)
client/selector_test.go:67
FunctionTestWithLocalValue
(t *testing.T)
share/context_test.go:34
FunctionTestWithValue
(t *testing.T)
share/context_test.go:29
FunctionTestXClientPool_GetPlugins
(t *testing.T)
client/xclient_pool_test.go:55
FunctionTestXClientPool_SetPlugins
(t *testing.T)
client/xclient_pool_test.go:12
FunctionTestXClientPool_SetPlugins_Concurrent
(t *testing.T)
client/xclient_pool_test.go:100
FunctionTestXClient_IT
(t *testing.T)
client/xclient_test.go:61
FunctionTestXClient_Thrift
(t *testing.T)
client/xclient_test.go:17
FunctionTestXClient_filterByStateAndGroup
(t *testing.T)
client/xclient_test.go:95
FunctionTestZip
(t *testing.T)
util/compress_test.go:10
FunctionTest_consistentHashSelector_Select
(t *testing.T)
client/selector_test.go:8
FunctionTest_consistentHashSelector_UpdateServer
(t *testing.T)
client/selector_test.go:26
FunctionTest_generateJSON
(t *testing.T)
reflection/server_reflection_test.go:37
FunctionTest_isExported
(t *testing.T)
server/service_test.go:11
FunctionTest_isExportedOrBuiltinType
(t *testing.T)
server/service_test.go:32
FunctionTest_validIP6
(t *testing.T)
server/server_test.go:182
MethodThriftMul
(ctx context.Context, args *testutils.ThriftArgs_, reply *testutils.ThriftReply)
client/client_test.go:40
MethodThriftMul
(ctx context.Context, args *testutils.ThriftArgs_, reply *testutils.ThriftReply)
server/server_test.go:34
MethodTransferFile
(ctx context.Context, args *share.FileTransferArgs, reply *share.FileTransferReply)
server/file_transfer.go:80
MethodUnmarshalJSON
(data []byte)
server/jsonrpc2_wire.go:102
MethodUnmarshalJSON
(data []byte)
server/jsonrpc2_wire.go:133
MethodUnregister
(name string)
reflection/server_reflection.go:146
← previousnext →701–800 of 869, ranked by callers