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
↓ 1 callers
Function
Ping
Ping gets network traffic by ICMP
client/ping_utils.go:56
↓ 1 callers
Method
PostHTTPRequest
(ctx context.Context, r *http.Request, params httprouter.Params)
server/plugin.go:86
↓ 1 callers
Method
PostReadRequest
(ctx context.Context, r *protocol.Message, e error)
server/plugin.go:81
↓ 1 callers
Method
PostWriteRequest
(ctx context.Context, r *protocol.Message, e error)
server/plugin.go:119
↓ 1 callers
Method
PostWriteResponse
(context.Context, *protocol.Message, *protocol.Message, error)
server/plugin.go:109
↓ 1 callers
Method
PreHandleRequest
(ctx context.Context, r *protocol.Message)
server/plugin.go:91
↓ 1 callers
Method
PreReadRequest
(ctx context.Context)
server/plugin.go:76
↓ 1 callers
Method
PreWriteRequest
(ctx context.Context)
server/plugin.go:114
↓ 1 callers
Method
PreWriteResponse
(context.Context, *protocol.Message, *protocol.Message, error)
server/plugin.go:104
↓ 1 callers
Method
ReadField1
(ctx context.Context, iprot thrift.TProtocol)
codec/testdata/thrift_colorgroup.go:104
↓ 1 callers
Method
ReadField1
(ctx context.Context, iprot thrift.TProtocol)
_testutils/thrift_arith_service.go:88
↓ 1 callers
Method
ReadField1
(ctx context.Context, iprot thrift.TProtocol)
_testutils/thrift_arith_service.go:227
↓ 1 callers
Method
ReadField2
(ctx context.Context, iprot thrift.TProtocol)
codec/testdata/thrift_colorgroup.go:113
↓ 1 callers
Method
ReadField2
(ctx context.Context, iprot thrift.TProtocol)
_testutils/thrift_arith_service.go:97
↓ 1 callers
Method
ReadField3
(ctx context.Context, iprot thrift.TProtocol)
codec/testdata/thrift_colorgroup.go:122
↓ 1 callers
Method
Ready
()
client/client.go:80
↓ 1 callers
Method
Register
Register handles registering event. this service is registered at BASE/serviceName/thisIpAddress node
serverplugin/mdns.go:162
↓ 1 callers
Method
Register
Register publishes in the server the set of methods of the receiver value that satisfy the following conditions: - exported method of exported type -
server/service.go:101
↓ 1 callers
Function
RegisterCodec
RegisterCodec register customized codec.
share/share.go:48
↓ 1 callers
Method
RegisterFunction
(serviceName, fname string, fn interface{}, metadata string)
server/plugin.go:59
↓ 1 callers
Method
RegisterOnShutdown
RegisterOnShutdown registers a function to call on Shutdown. This can be used to gracefully shutdown connections.
server/server.go:929
↓ 1 callers
Method
SendFile
(ctx context.Context, fileName string, rateInBytesPerSecond int64, meta map[string]string)
client/xclient.go:63
↓ 1 callers
Method
SendMessage
SendMessage a request to the specified client. The client is designated by the conn. conn can be gotten from context in services: ctx.Value(RemoteCo
server/server.go:189
↓ 1 callers
Method
SetCachedClient
(client RPCClient, k, servicePath, serviceMethod string)
client/cache_client_builder.go:7
↓ 1 callers
Method
SetValue
SetValue sets the kv pair.
server/context.go:31
↓ 1 callers
Method
Size
()
_testutils/arith_service.go:168
↓ 1 callers
Method
Start
()
server/stream.go:95
↓ 1 callers
Method
Start
()
server/file_transfer.go:123
↓ 1 callers
Method
StopAndWaitFor
(deadline time.Duration)
server/server.go:73
↓ 1 callers
Method
Stream
(ctx context.Context, meta map[string]string)
client/xclient.go:65
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
_testutils/arith_service.go:278
↓ 1 callers
Method
Unregister
(name string)
server/plugin.go:54
↓ 1 callers
Method
UnregisterServerMessageChan
()
client/client.go:111
↓ 1 callers
Method
Unzip
([]byte)
protocol/compressor.go:14
↓ 1 callers
Method
Unzip
(data []byte)
protocol/compressor.go:25
↓ 1 callers
Method
Unzip
(data []byte)
protocol/compressor.go:36
↓ 1 callers
Method
Unzip
(data []byte)
protocol/compressor.go:64
↓ 1 callers
Method
Update
Update can start a stream copy by setting a non-nil w. If you set a nil w, it doesn't copy stream.
serverplugin/tee.go:19
↓ 1 callers
Method
Warn
(v ...interface{})
log/logger.go:21
↓ 1 callers
Method
Warnf
(format string, v ...interface{})
log/logger.go:22
↓ 1 callers
Function
WithTLSConfig
WithOptions sets multiple options. func WithOptions(ops map[string]interface{}) OptionFn { return func(s *Server) { for k, v := range ops { s.op
server/option.go:23
↓ 1 callers
Method
WrapSelect
(SelectFunc)
client/plugin.go:208
↓ 1 callers
Method
WriteTo
WriteTo writes message to writers.
protocol/message.go:291
↓ 1 callers
Method
call
(ctx context.Context, servicePath, serviceMethod string, args interface{}, reply interface{})
client/client.go:323
↓ 1 callers
Method
checkProcessMsg
()
server/server.go:1059
↓ 1 callers
Method
closeHTTP1APIGateway
(ctx context.Context)
server/gateway.go:151
↓ 1 callers
Method
closeJSONRPC2
(ctx context.Context)
server/jsonrpc2.go:208
↓ 1 callers
Function
createWeighted
(servers map[string]string)
client/selector.go:178
↓ 1 callers
Function
decodeMetadata
(l uint32, data []byte)
protocol/message.go:377
↓ 1 callers
Function
file_benchmark_proto_init
()
protocol/testdata/benchmark.pb.go:483
↓ 1 callers
Function
file_benchmark_proto_rawDescGZIP
()
protocol/testdata/benchmark.pb.go:463
↓ 1 callers
Function
file_protobuf_proto_init
()
codec/testdata/protobuf.pb.go:124
↓ 1 callers
Function
file_protobuf_proto_rawDescGZIP
()
codec/testdata/protobuf.pb.go:104
↓ 1 callers
Function
generate
(parsers []*parser.Parser)
tool/xgen/xgen.go:77
↓ 1 callers
Function
getDistanceFrom
https://gist.github.com/cdipaolo/d3f8db3848278b49db68
client/geo_utils.go:8
↓ 1 callers
Method
handleRequestForFunction
(ctx context.Context, req *protocol.Message)
server/server.go:783
↓ 1 callers
Method
heartbeat
()
client/client.go:828
↓ 1 callers
Method
input
()
client/client.go:660
↓ 1 callers
Function
isExported
(name string)
reflection/server_reflection.go:214
↓ 1 callers
Function
isExported
(name string)
tool/xgen/parser/parser.go:28
↓ 1 callers
Method
loadCached
()
client/discovery.go:128
↓ 1 callers
Method
makeListener
block can be nil if the caller wishes to skip encryption in kcp. tlsConfig can be nil iff we are not using network "quic".
server/listener.go:31
↓ 1 callers
Function
newDirectHTTPConn
(c *Client, network, address string)
client/connection.go:118
↓ 1 callers
Function
newDirectWSConn
(c *Client, network, address string)
client/connection.go:176
↓ 1 callers
Function
newGeoSelector
(servers map[string]string, latitude, longitude float64)
client/selector.go:212
↓ 1 callers
Function
newRoundRobinSelector
(servers map[string]string)
client/selector.go:83
↓ 1 callers
Function
newWeightedICMPSelector
(servers map[string]string)
client/ping_utils.go:18
↓ 1 callers
Method
next
()
client/selector.go:155
↓ 1 callers
Function
oldUnzip
(data []byte)
util/compress_test.go:59
↓ 1 callers
Function
parseRequestLine
grabbed from net/http.
server/gateway.go:82
↓ 1 callers
Function
parseServerTimeout
(ctx *share.Context, req *protocol.Message)
server/server.go:624
↓ 1 callers
Method
readRequest
(ctx context.Context, r io.Reader)
server/server.go:658
↓ 1 callers
Function
resetHeader
(h *Header)
protocol/message.go:527
↓ 1 callers
Function
rpcxPrefixByteMatcher
()
server/gateway.go:114
↓ 1 callers
Function
safeCloseClient
(client RPCClient)
client/xclient.go:295
↓ 1 callers
Method
send
(ctx context.Context, call *Call)
client/client.go:534
↓ 1 callers
Method
serveByWS
(ln net.Listener, rpcPath string)
server/server.go:345
↓ 1 callers
Method
start
()
server/stream.go:103
↓ 1 callers
Method
start
()
server/file_transfer.go:131
↓ 1 callers
Method
startHTTP1APIGateway
(ln net.Listener)
server/gateway.go:123
↓ 1 callers
Method
startJSONRPC2
(ln net.Listener)
server/jsonrpc2.go:182
↓ 1 callers
Method
startProcess
()
server/server.go:1036
↓ 1 callers
Function
testSendRaw
(t *testing.T, client *Client, seq uint64, x, y int32, wg *sync.WaitGroup)
client/client_test.go:157
↓ 1 callers
Function
toString
(obj interface{})
client/hash_utils.go:53
↓ 1 callers
Method
unregisterAll
()
server/service.go:354
↓ 1 callers
Function
urlencode
(data map[string]string)
client/client.go:516
↓ 1 callers
Method
watch
()
client/mdns_discovery.go:102
↓ 1 callers
Method
watch
()
client/dns_discovery.go:127
↓ 1 callers
Method
writeField1
(ctx context.Context, oprot thrift.TProtocol)
codec/testdata/thrift_colorgroup.go:159
↓ 1 callers
Method
writeField1
(ctx context.Context, oprot thrift.TProtocol)
_testutils/thrift_arith_service.go:127
↓ 1 callers
Method
writeField1
(ctx context.Context, oprot thrift.TProtocol)
_testutils/thrift_arith_service.go:254
↓ 1 callers
Method
writeField2
(ctx context.Context, oprot thrift.TProtocol)
codec/testdata/thrift_colorgroup.go:169
↓ 1 callers
Method
writeField2
(ctx context.Context, oprot thrift.TProtocol)
_testutils/thrift_arith_service.go:140
↓ 1 callers
Method
writeField3
(ctx context.Context, oprot thrift.TProtocol)
codec/testdata/thrift_colorgroup.go:179
Method
ActiveClientConn
ActiveClientConn returns active connections.
server/server.go:172
Method
Add
Add adds a plugin.
client/plugin.go:23
Method
Add
Add adds a plugin.
server/plugin.go:138
Method
AddHandler
(servicePath, serviceMethod string, handler func(*Context) error)
server/server.go:167
Method
Alias
Alias sets a alias for the serviceMethod. For example Alias("anewpath&method", "Arith.mul")
serverplugin/alias.go:23
Method
All
All returns all plugins
client/plugin.go:44
← previous
next →
301–400 of 869, ranked by callers