MCPcopy Create free account

hub / github.com/smallnest/rpcx / functions

Functions869 in github.com/smallnest/rpcx

MethodAll
()
client/plugin.go:216
MethodAll
()
server/plugin.go:158
FunctionAllowAllCORSOptions
AllowAllCORSOptions returns a option that allows access.
server/jsonrpc2.go:154
MethodAuth
Auth sets s token for Authentication.
client/xclient_pool.go:70
MethodAuth
Auth sets s token for Authentication.
client/xclient.go:206
MethodAuth
Auth sets s token for Authentication.
client/oneclient.go:100
MethodAuth
Auth sets s token for Authentication.
client/oneclient_pool.go:64
FunctionBenchmarkChanPtr
(b *testing.B)
protocol/message_chan_test.go:78
FunctionBenchmarkChanValue
(b *testing.B)
protocol/message_chan_test.go:60
FunctionBenchmarkGetFreePort_New
(b *testing.B)
util/net_test.go:44
FunctionBenchmarkGetFreePort_Old
(b *testing.B)
util/net_test.go:38
FunctionBenchmarkGzipCompressor_Unzip
(b *testing.B)
protocol/compressor_test.go:74
FunctionBenchmarkGzipCompressor_Zip
(b *testing.B)
protocol/compressor_test.go:38
FunctionBenchmarkJSONCodec_Decode
(b *testing.B)
codec/codec_test.go:75
FunctionBenchmarkJSONCodec_Encode
(b *testing.B)
codec/codec_test.go:21
FunctionBenchmarkMsgpackCodec_Decode
(b *testing.B)
codec/codec_test.go:97
FunctionBenchmarkMsgpackCodec_Encode
(b *testing.B)
codec/codec_test.go:47
FunctionBenchmarkPBCodec_Decode
(b *testing.B)
codec/codec_test.go:86
FunctionBenchmarkPBCodec_Encode
(b *testing.B)
codec/codec_test.go:32
FunctionBenchmarkRawDataCompressor_Unzip
(b *testing.B)
protocol/compressor_test.go:87
FunctionBenchmarkRawDataCompressor_Zip
(b *testing.B)
protocol/compressor_test.go:50
FunctionBenchmarkSnappyCompressor_Unzip
(b *testing.B)
protocol/compressor_test.go:100
FunctionBenchmarkSnappyCompressor_Zip
(b *testing.B)
protocol/compressor_test.go:62
FunctionBenchmarkThriftCodec_Decode
(b *testing.B)
codec/codec_test.go:108
FunctionBenchmarkThriftCodec_Encode
(b *testing.B)
codec/codec_test.go:58
FunctionBenchmarkUnzip
(b *testing.B)
util/compress_test.go:41
FunctionBenchmarkUnzip_Old
(b *testing.B)
util/compress_test.go:88
FunctionBenchmarkWeightedRoundRobinSelector_Select
(b *testing.B)
client/selector_test.go:96
FunctionBenchmarkZip
(b *testing.B)
util/compress_test.go:28
MethodBroadcast
Broadcast sends requests to all servers and Success only when all servers return OK. FailMode and SelectMode are meanless for this method. Please set
client/xclient.go:932
MethodBroadcast
Broadcast sends requests to all servers and Success only when all servers return OK. FailMode and SelectMode are meanless for this method. Please set
client/oneclient.go:226
FunctionCacheDiscovery
CacheDiscovery caches the services in a file, it will return the cached services if the number of services is greater than threshold. It is very usefu
client/discovery.go:38
MethodCall
Call invokes the named function, waits for it to complete, and returns its error status. It handles errors base on FailMode.
client/oneclient.go:176
MethodCall
(ctx context.Context, servicePath, serviceMethod string, args interface{}, reply interface{})
client/client.go:105
MethodClone
Clone clones this ServiceDiscovery with new servicePath.
client/multiple_servers_discovery.go:28
MethodClone
Clone clones this ServiceDiscovery with new servicePath.
client/mdns_discovery.go:59
MethodClone
Clone clones this ServiceDiscovery with new servicePath.
client/peer2peer_discovery.go:16
MethodClone
Clone clones this ServiceDiscovery with new servicePath.
client/dns_discovery.go:41
MethodClone
Clone clones this DownloadFileArgs.
share/share.go:69
MethodClone
Clone clones this DownloadFileArgs.
share/share.go:95
MethodClose
()
client/mdns_discovery.go:186
MethodClose
()
client/peer2peer_discovery.go:37
MethodClose
()
client/dns_discovery.go:141
MethodClose
set customized filter to filter services
client/discovery.go:22
MethodClose
Close closes this client and its underlying connections to services.
client/xclient.go:1388
MethodClose
Close closes all xclients and its underlying connections to services.
client/oneclient.go:339
MethodClose
()
server/listener_linux.go:53
MethodConfigGeoSelector
ConfigGeoSelector sets location of client's latitude and longitude, and use newGeoSelector.
client/xclient.go:200
MethodConfigGeoSelector
ConfigGeoSelector sets location of client's latitude and longitude, and use newGeoSelector.
client/oneclient.go:87
MethodConsumingOperation
(ctx context.Context, args *testutils.ThriftArgs_, reply *testutils.ThriftReply)
server/server_test.go:39
FunctionConvertMap2String
(meta map[string]string)
util/net.go:62
FunctionConvertMeta2Map
(meta string)
util/net.go:44
FunctionCopyMeta
(src, dst map[string]string)
util/converter.go:17
MethodDebug
(v ...interface{})
log/dummy_logger.go:5
MethodDebug
(v ...interface{})
log/default_logger.go:70
MethodDebugf
(format string, v ...interface{})
log/dummy_logger.go:8
MethodDebugf
(format string, v ...interface{})
log/default_logger.go:74
MethodDecode
Decode returns raw slice of bytes.
codec/codec.go:41
MethodDecode
(data []byte, i interface{})
share/share_test.go:16
MethodDeleteKey
DeleteKey delete the kv pair by key.
share/context.go:61
MethodDeleteKey
DeleteKey delete the kv pair by key.
server/context.go:39
MethodDescriptor
Deprecated: Use BenchmarkMessage.ProtoReflect.Descriptor instead.
protocol/testdata/benchmark.pb.go:98
MethodDescriptor
Deprecated: Use ProtoColorGroup.ProtoReflect.Descriptor instead.
codec/testdata/protobuf.pb.go:61
MethodDescriptor
()
_testutils/arith_service.go:42
MethodDescriptor
()
_testutils/arith_service.go:65
MethodDoClientAfterDecode
DoClientAfterDecode is called when requests are decoded and received.
client/plugin.go:141
MethodDoClientBeforeEncode
DoClientBeforeEncode is called when requests are encoded and sent.
client/plugin.go:127
MethodDoClientConnected
DoClientConnected is called in case of connected.
client/plugin.go:99
MethodDoClientConnectionClose
DoClientConnectionClose is called in case of connection close.
client/plugin.go:113
MethodDoConnCreateFailed
DoConnCreateFailed is called in case of client connection create failed.
client/plugin.go:90
MethodDoConnCreated
DoConnCreated is called in case of client connection created.
client/plugin.go:76
MethodDoHeartbeatRequest
DoHeartbeatRequest invokes HeartbeatRequest plugin.
server/plugin.go:388
MethodDoPostCall
DoPostCall executes after call
client/plugin.go:63
MethodDoPostCall
(ctx context.Context, servicePath, serviceMethod string, args interface{}, reply interface{}, err error)
client/plugin.go:224
MethodDoPostCall
DoPostCall invokes PostCallPlugin plugin.
server/plugin.go:317
MethodDoPostConnAccept
DoPostConnAccept handles accepted conn
server/plugin.go:217
MethodDoPostConnClose
DoPostConnClose handles closed conn
server/plugin.go:232
MethodDoPostHTTPRequest
DoPostHTTPRequest invokes PostHTTPRequest plugin.
server/plugin.go:274
MethodDoPostReadRequest
DoPostReadRequest invokes PostReadRequest plugin.
server/plugin.go:260
MethodDoPostWriteRequest
DoPostWriteRequest invokes PostWriteRequest plugin.
server/plugin.go:374
MethodDoPostWriteResponse
DoPostWriteResponse invokes PostWriteResponse plugin.
server/plugin.go:346
MethodDoPreCall
DoPreCall executes before call
client/plugin.go:49
MethodDoPreCall
(ctx context.Context, servicePath, serviceMethod string, args interface{})
client/plugin.go:223
MethodDoPreCall
DoPreCall invokes PreCallPlugin plugin.
server/plugin.go:302
MethodDoPreHandleRequest
DoPreHandleRequest invokes PreHandleRequest plugin.
server/plugin.go:288
MethodDoPreReadRequest
DoPreReadRequest invokes PreReadRequest plugin.
server/plugin.go:246
MethodDoPreWriteRequest
DoPreWriteRequest invokes PreWriteRequest plugin.
server/plugin.go:360
MethodDoPreWriteResponse
DoPreWriteResponse invokes PreWriteResponse plugin.
server/plugin.go:332
MethodDoRegister
DoRegister invokes DoRegister plugin.
server/plugin.go:163
MethodDoRegisterFunction
DoRegisterFunction invokes DoRegisterFunction plugin.
server/plugin.go:181
MethodDoUnregister
DoUnregister invokes RegisterPlugin.
server/plugin.go:199
MethodDoWrapSelect
DoWrapSelect is called when select a node.
client/plugin.go:155
MethodDownloadFile
(ctx context.Context, requestFileName string, saveTo io.Writer, meta map[string]string)
client/xclient.go:1332
MethodDownloadFile
(ctx context.Context, requestFileName string, saveTo io.Writer, meta map[string]string)
client/oneclient.go:294
MethodDownloadFile
(ctx context.Context, args *share.DownloadFileArgs, reply *share.FileTransferReply)
server/file_transfer.go:101
MethodEnableFileTransfer
EnableFileTransfer supports filetransfer service in this server.
server/file_transfer.go:72
MethodEnableStreamService
EnableStreamService supports stream service in this server.
server/stream.go:62
MethodEncode
Encode encodes messages.
protocol/message.go:227
MethodEncode
Encode returns raw slice of bytes.
codec/codec.go:29
MethodEncode
(i interface{})
share/share_test.go:12
← previousnext →401–500 of 869, ranked by callers