Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/baidu-golang/pbrpc
/ functions
Functions
380 in github.com/baidu-golang/pbrpc
⨍
Functions
380
◇
Types & classes
63
↓ 38 callers
Method
Close
()
connection.go:40
↓ 27 callers
Method
Write
()
header.go:38
↓ 19 callers
Function
stopRpcServer
(rpcServer *baidurpc.TcpServer)
server_test.go:185
↓ 14 callers
Method
Start
()
server.go:278
↓ 14 callers
Function
initRequest
(r *RpcDataPackage)
rpcpackage.go:148
↓ 12 callers
Method
GetMeta
()
rpcpackage.go:328
↓ 12 callers
Function
testSendRpc
(testName string, client *baidurpc.RpcClient, timeout, auth bool, chunksize uint32, async bool)
client_test.go:201
↓ 11 callers
Function
startRpcServer
(chunksize uint32)
client_test.go:230
↓ 10 callers
Method
Send
(rpcDataPackage *RpcDataPackage)
connection.go:38
↓ 10 callers
Method
Stop
()
server.go:279
↓ 9 callers
Function
initRpcMeta
(r *RpcDataPackage)
rpcpackage.go:135
↓ 8 callers
Method
ErrorCode
(errorCode int32)
rpcpackage.go:282
↓ 8 callers
Method
ErrorText
(errorText string)
rpcpackage.go:290
↓ 8 callers
Method
SendRpcRequest
SendRpcRequest send rpc request to remote server
client.go:302
↓ 8 callers
Method
SetParameterIn
SetParameterIn
client.go:144
↓ 8 callers
Function
errResponse
(errno int, message string)
httpserver.go:193
↓ 8 callers
Function
toJson
(o interface{})
httpserver.go:197
↓ 7 callers
Method
GetMethodName
()
server.go:227
↓ 7 callers
Method
GetServiceName
()
server.go:226
↓ 7 callers
Method
Serve
Serve do listening from net trasport
nettool/customizelistener.go:118
↓ 7 callers
Function
createClient
createClient
client_test.go:258
↓ 7 callers
Function
initRpcDataPackage
()
rpcpackage_test.go:34
↓ 6 callers
Function
Error
Error logs to the ERROR, WARNING, and INFO logs. Arguments are handled in the manner of fmt.Print; a newline is appended if missing.
log.go:48
↓ 6 callers
Method
GetMagicCode
()
header.go:101
↓ 6 callers
Function
GetServiceId
(serviceName, methodName string)
server.go:614
↓ 6 callers
Method
RegisterNameWithMethodMapping
RegisterNameWithMethodMapping call RegisterName with method name mapping map
server.go:660
↓ 6 callers
Method
SetAuthService
SetAuthService set authenticate service
server.go:444
↓ 6 callers
Method
SetHost
SetHost set host name
client.go:72
↓ 6 callers
Method
SetPort
SetPort set port
client.go:78
↓ 6 callers
Function
doSimpleRPCInvokeWithSignatureWithConvey
doSimpleRPCInvokeWithSignatureWithConvey send rpc request
client_test.go:302
↓ 5 callers
Method
GetResponse
()
pb_data.go:76
↓ 5 callers
Function
Infof
Infof logs to the INFO log. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.
log.go:30
↓ 5 callers
Method
Read
(bytes []byte)
header.go:44
↓ 5 callers
Method
Receive
()
connection.go:39
↓ 5 callers
Method
SetData
(Data []byte)
rpcpackage.go:184
↓ 5 callers
Function
createRpcServer
createRpcServer create rpc server by port and localhost
server_test.go:38
↓ 5 callers
Function
file_brpc_meta_proto_rawDescGZIP
()
pb_data.go:450
↓ 5 callers
Function
wrapResponse
(r *RpcDataPackage, errorCode int, errorText string)
server.go:607
↓ 4 callers
Method
Chunk
Chunk chunk to small packages by chunk size
rpcpackage.go:517
↓ 4 callers
Method
CompressType
(compressType int32)
rpcpackage.go:208
↓ 4 callers
Method
GetRequest
()
pb_data.go:69
↓ 4 callers
Method
RegisterName
RegisterName register publishes in the server with specified name for its set of methods of the receiver value that satisfy the following conditions:
server.go:698
↓ 4 callers
Method
SendReceive
(rpcDataPackage *RpcDataPackage)
connection.go:37
↓ 4 callers
Method
String
()
pb_data.go:46
↓ 4 callers
Function
Warningf
Warningf logs to the WARNING and INFO logs. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.
log.go:42
↓ 4 callers
Function
getHeaderAsInt64
(req *http.Request, key string)
httpserver.go:179
↓ 4 callers
Function
sendHttpRequest
(urlpath, method, body string, paramters, headers map[string]string)
httpserver_test.go:114
↓ 4 callers
Function
startRpcServerWithHttpMode
startRpcServer start rpc server and register echo service as default rpc service
client_test.go:235
↓ 4 callers
Function
stopRpcServer
(rpcServer *baidurpc.TcpServer)
example/server_example_test.go:201
↓ 3 callers
Method
Accept
()
nettool/customizelistener.go:50
↓ 3 callers
Method
Close
Close close connection
connection.go:181
↓ 3 callers
Method
Get
()
client.go:391
↓ 3 callers
Method
GetData
()
rpcpackage.go:335
↓ 3 callers
Method
GetMessageSize
()
header.go:109
↓ 3 callers
Method
GetMetaSize
()
header.go:117
↓ 3 callers
Method
GetRequestRpcDataPackage
GetRequestRpcDataPackage
client.go:149
↓ 3 callers
Function
Int
Int convert to pointer type of int
server_test.go:191
↓ 3 callers
Function
NewCustomListenerSelectorByListener
NewCustomListenerSelectorByListener
nettool/customizelistener.go:89
↓ 3 callers
Method
NewParameter
()
server.go:228
↓ 3 callers
Method
ReadIO
* Read byte array and initialize RpcPackage */
rpcpackage.go:428
↓ 3 callers
Method
SendRpcRequestWithTimeout
SendRpcRequest send rpc request to remote server
client.go:308
↓ 3 callers
Method
SetAttachment
(Attachment []byte)
rpcpackage.go:189
↓ 3 callers
Function
TimetookInSeconds
get time took in seconds
utility.go:25
↓ 3 callers
Function
WriteReaderWithRealData
WriteReaderWithRealData
rpcpackage_test.go:97
↓ 3 callers
Method
borrowObject
()
connectionpool.go:91
↓ 3 callers
Function
doInit
(r *RpcDataPackage)
rpcpackage.go:315
↓ 3 callers
Function
file_go_proto_rawDescGZIP
()
pb_status.go:249
↓ 3 callers
Function
initHeader
(r *RpcDataPackage)
rpcpackage.go:129
↓ 3 callers
Function
initResponse
(r *RpcDataPackage)
rpcpackage.go:158
↓ 3 callers
Function
int64ToString
(i int64)
httpserver.go:189
↓ 3 callers
Function
isMessageType
Is this type implements from proto.Message
server.go:874
↓ 3 callers
Function
parseMetaString
(meta string)
server.go:164
↓ 2 callers
Method
Authenticate
Authenticate do auth action if return true auth success
server.go:234
↓ 2 callers
Method
ChuckInfo
(streamId int64, chunkId int64)
rpcpackage.go:306
↓ 2 callers
Method
CorrelationId
(correlationId int64)
rpcpackage.go:201
↓ 2 callers
Method
DoService
* RPC service call back method. message : parameter in from RPC client or 'nil' if has no parameter attachment : attachment content from R
server.go:225
↓ 2 callers
Method
EnableHttp
EnableHttp
server.go:439
↓ 2 callers
Function
Errorf
Errorf logs to the ERROR, WARNING, and INFO logs. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.
log.go:54
↓ 2 callers
Method
GetChunkStreamId
GetChunkStreamId
rpcpackage.go:566
↓ 2 callers
Method
GetCompressType
()
pb_data.go:83
↓ 2 callers
Method
GetLogId
()
pb_data.go:179
↓ 2 callers
Method
GetParentSpanId
()
rpcpackage.go:256
↓ 2 callers
Method
GetServiceName
()
pb_data.go:165
↓ 2 callers
Method
LogId
(logId int64)
rpcpackage.go:215
↓ 2 callers
Method
MagicCode
(magicCode string)
rpcpackage.go:113
↓ 2 callers
Method
MethodName
(methodName string)
rpcpackage.go:176
↓ 2 callers
Method
NewCodec
(rw io.ReadWriter)
codec.go:233
↓ 2 callers
Function
NewCustomListenerSelector
NewCustomListenerSelector new a CustomListenerSelector
nettool/customizelistener.go:74
↓ 2 callers
Function
NewCustomListenerSelectorByAddr
NewCustomListenerSelectorByAddr new a CustomListenerSelector by address string
nettool/customizelistener.go:79
↓ 2 callers
Function
NewRpcDataPackageProtocol
NewRpcDataPackageProtocol create a RpcDataPackageProtocol and start timewheel
codec.go:222
↓ 2 callers
Method
ParentSpanId
(parentSpanId int64)
rpcpackage.go:250
↓ 2 callers
Method
Read
(b []byte)
rpcpackage.go:504
↓ 2 callers
Method
RegisterDefaultListener
RegisterDefaultListener
nettool/customizelistener.go:113
↓ 2 callers
Method
RegisterListener
RegisterListener
nettool/customizelistener.go:103
↓ 2 callers
Method
RegisterRpc
RegisterRpc register Rpc direct
server.go:901
↓ 2 callers
Method
RpcRequestMetaExt
(ext map[string]string)
rpcpackage.go:261
↓ 2 callers
Method
ServiceName
(serviceName string)
rpcpackage.go:168
↓ 2 callers
Method
SetMagicCode
(MagicCode []byte)
header.go:94
↓ 2 callers
Method
SetTraceService
SetTraceService set trace service
server.go:449
↓ 2 callers
Method
SpanId
(spanId int64)
rpcpackage.go:239
next →
1–100 of 380, ranked by callers