Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu-golang/pbrpc
/ functions
Functions
380 in github.com/baidu-golang/pbrpc
⨍
Functions
380
◇
Types & classes
63
↓ 2 callers
Method
StartServer
StartServer start server with net.Listener
server.go:347
↓ 2 callers
Method
String
()
example/pb_example_test.go:55
↓ 2 callers
Method
Trace
(service, name string, traceInfo *TraceInfo)
server.go:246
↓ 2 callers
Method
TraceId
(traceId int64)
rpcpackage.go:228
↓ 2 callers
Method
WriteIO
* Convert RpcPackage to byte array */
rpcpackage.go:346
↓ 2 callers
Method
asyncRequest
asyncRequest
client.go:241
↓ 2 callers
Method
connect
(url URL, timeout *time.Duration, sendChanSize int)
connection.go:70
↓ 2 callers
Function
doConnect
(address string, protocol *RpcDataPackageProtocol[*RpcDataPackage, *RpcDataPackage], timeout *time.Duration, s
connection.go:98
↓ 2 callers
Function
doHaSimpleRPCInvokeWithSignatureWithConvey
doSimpleRPCInvokeWithSignatureWithConvey send rpc request
haclient_test.go:63
↓ 2 callers
Function
doReceive
(session *link.Session[*RpcDataPackage, *RpcDataPackage])
connection.go:166
↓ 2 callers
Method
doSendReceive
(rpcDataPackage *RpcDataPackage, ch <-chan *RpcDataPackage)
client.go:287
↓ 2 callers
Method
doServiceInvoke
(c *ErrorContext, msg proto.Message, sname, method string, attachment []byte, logid int64, service Service)
server.go:592
↓ 2 callers
Function
getHeaderAsByte
(req *http.Request, key string)
httpserver.go:171
↓ 2 callers
Function
intToBytes
(i int32)
header.go:75
↓ 2 callers
Function
isContextType
Is this type implements from context.Context
server.go:890
↓ 2 callers
Function
parsePbMetaFromType
(t reflect.Type)
server.go:127
↓ 2 callers
Method
registerServiceType
Register register RPC service
server.go:646
↓ 2 callers
Function
sendRpc
(host string, port int, serviceName, methodName string, parameterIn, parameterOut proto.Message)
status_test.go:81
↓ 2 callers
Function
suitableMethods
suitableMethods returns suitable Rpc methods of typ, it will report error using log if reportErr is true.
server.go:801
↓ 2 callers
Function
validateRpcDataPackage
(t *testing.T, r2 baidurpc.RpcDataPackage)
rpcpackage_test.go:64
↓ 1 callers
Method
Addr
()
nettool/customizelistener.go:59
↓ 1 callers
Function
Attachement
Attachment utility function to get attachemnt from context
server.go:920
↓ 1 callers
Method
AuthenticationData
(authenticationData []byte)
rpcpackage.go:194
↓ 1 callers
Function
BindAttachement
BindAttachement add attachement value to the context
server.go:930
↓ 1 callers
Function
BindLogId
BindError add error value to the context
server.go:940
↓ 1 callers
Method
ClearChunkStatus
()
rpcpackage.go:587
↓ 1 callers
Method
Close
()
connectionpool.go:142
↓ 1 callers
Method
Close
Close do close all listeners
nettool/customizelistener.go:171
↓ 1 callers
Function
Errors
BindError add error value to the context
server.go:945
↓ 1 callers
Function
GUNZIP
GUNZIP do unzip action by gzip package
compress.go:26
↓ 1 callers
Function
GZIP
GZIP do gzip action by gzip package
compress.go:10
↓ 1 callers
Method
GetAttachment
()
rpcpackage.go:339
↓ 1 callers
Method
GetAttachmentSize
()
pb_data.go:97
↓ 1 callers
Method
GetChunkId
()
pb_data.go:324
↓ 1 callers
Method
GetCorrelationId
()
pb_data.go:90
↓ 1 callers
Method
GetErr
()
client.go:399
↓ 1 callers
Method
GetErrorCode
()
pb_data.go:262
↓ 1 callers
Method
GetErrorText
()
pb_data.go:269
↓ 1 callers
Method
GetMethodName
()
pb_data.go:172
↓ 1 callers
Method
GetParentSpanId
()
pb_data.go:200
↓ 1 callers
Method
GetRpcDataPackage
()
client.go:395
↓ 1 callers
Method
GetRpcRequestMetaExt
()
rpcpackage.go:272
↓ 1 callers
Method
GetRpcRequestMetaExt
()
pb_data.go:207
↓ 1 callers
Method
GetSpanId
()
pb_data.go:193
↓ 1 callers
Method
GetStreamId
()
pb_data.go:317
↓ 1 callers
Method
GetTraceId
()
rpcpackage.go:234
↓ 1 callers
Method
GetTraceId
()
pb_data.go:186
↓ 1 callers
Function
Info
Info logs to the INFO log. Arguments are handled in the manner of fmt.Print; a newline is appended if missing.
log.go:24
↓ 1 callers
Method
IsChunkPackage
IsChunkPackage
rpcpackage.go:578
↓ 1 callers
Method
IsFinalPackage
IsFinalPackage
rpcpackage.go:583
↓ 1 callers
Function
NewHaRpcCientWithTimewheelSetting
NewHaRpcCient
haclient.go:77
↓ 1 callers
Function
NewRPCRequestStatus
NewRPCRequestStatus
status.go:114
↓ 1 callers
Function
NewRpcCient
NewRpcCient new rpc client
client.go:100
↓ 1 callers
Function
NewRpcCientWithTimeWheelSetting
NewRpcCientWithTimeWheelSetting new rpc client with set timewheel settings
client.go:105
↓ 1 callers
Function
NewRpcDataPackage
()
rpcpackage.go:104
↓ 1 callers
Function
NewSimpleService
NewSimpleService create RPC service
server_test.go:123
↓ 1 callers
Function
NewTCPConnection
* Create a new TCPConnection and try to connect to target server by URL. */
connection.go:59
↓ 1 callers
Function
NewTCPConnectionPool
(url URL, timeout *time.Duration, config *pool.ObjectPoolConfig)
connectionpool.go:54
↓ 1 callers
Method
ParsePbMeta
ParsePbMeta parse pb tag string
server.go:115
↓ 1 callers
Method
Read
Read read byte array
header.go:82
↓ 1 callers
Method
Reconnect
()
connection.go:41
↓ 1 callers
Method
Register
(service *Service)
server.go:280
↓ 1 callers
Method
RequestIn
RequestIn
status.go:178
↓ 1 callers
Method
Reset
()
pb_data.go:37
↓ 1 callers
Method
SendRpcRequest
SendRpcRequest send rpc request by elect one client
haclient.go:111
↓ 1 callers
Method
SendRpcRequestAsyc
SendRpcRequestAsyc send rpc request to remote server in asynchronous way
client.go:404
↓ 1 callers
Method
SetMessageSize
(MessageSize int32)
header.go:105
↓ 1 callers
Method
SetMetaSize
(MetaSize int32)
header.go:113
↓ 1 callers
Method
SetReadDeadline
SetReadDeadline sets the deadline for future Read calls and any currently-blocked Read call. A zero value for t means Read will not time out.
nettool/customizelistener.go:278
↓ 1 callers
Method
SetWriteDeadline
SetWriteDeadline sets the deadline for future Write calls and any currently-blocked Write call. Even if write times out, it may return n > 0, indicati
nettool/customizelistener.go:287
↓ 1 callers
Method
Start
()
server.go:394
↓ 1 callers
Method
Stop
Stop do stop rpc server
server.go:619
↓ 1 callers
Method
TestConnection
()
connection.go:45
↓ 1 callers
Function
UnescapeUnicode
UnescapeUnicode
httpserver.go:214
↓ 1 callers
Method
Write
* Convert Header struct to byte array */
header.go:66
↓ 1 callers
Method
Write
* Convert RpcPackage to byte array */
rpcpackage.go:364
↓ 1 callers
Method
asyncRequest
asyncRequest
haclient.go:153
↓ 1 callers
Method
connect
(url URL, timeout *time.Duration, sendChanSize int)
connectionpool.go:72
↓ 1 callers
Function
convertRpcDataPackage
(msg interface{}, isPtr bool)
codec.go:106
↓ 1 callers
Function
createPooledConnectionClient
createClient
client_test.go:280
↓ 1 callers
Function
createRpcServerWithChunkSize
createRpcServer create rpc server by port and localhost
client_test.go:222
↓ 1 callers
Method
doHandleProcess
(session *link.Session[*RpcDataPackage, *RpcDataPackage], r *RpcDataPackage)
server.go:476
↓ 1 callers
Method
doReceive
(conn io.ReadWriter)
codec.go:132
↓ 1 callers
Function
doSimpleRPCInvokeWithSignature
doSimpleRPCInvokeWithSignature send rpc request
benchmark_test.go:65
↓ 1 callers
Method
electClient
electClient
haclient.go:97
↓ 1 callers
Function
equalRpcDataPackage
(r baidurpc.RpcDataPackage, t *testing.T)
rpcpackage_test.go:51
↓ 1 callers
Method
expire
expire remove qps data after time expire
status.go:189
↓ 1 callers
Function
file_DataMessage_proto_init
()
datamessage_test.go:106
↓ 1 callers
Function
file_DataMessage_proto_init
()
example/pb_example_test.go:121
↓ 1 callers
Function
file_DataMessage_proto_rawDescGZIP
()
datamessage_test.go:86
↓ 1 callers
Function
file_DataMessage_proto_rawDescGZIP
()
example/pb_example_test.go:101
↓ 1 callers
Function
file_brpc_meta_proto_init
()
pb_data.go:478
↓ 1 callers
Function
file_go_proto_init
()
pb_status.go:274
↓ 1 callers
Method
getChunkId
getChunkId
rpcpackage.go:572
↓ 1 callers
Function
getServiceMethod
(path string)
httpserver.go:202
↓ 1 callers
Function
handleConn
(conn net.Conn, quitString string)
nettool/customizelistener_test.go:97
↓ 1 callers
Method
init
(serviceName, methodName *string)
client.go:133
↓ 1 callers
Function
initChuckInfo
(r *RpcDataPackage)
rpcpackage.go:141
↓ 1 callers
Method
registerWithMethodMapping
registerWithMethodMapping call RegisterName with method name mapping map
server.go:703
↓ 1 callers
Method
safeReceive
()
client.go:231
← previous
next →
101–200 of 380, ranked by callers