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
Method
ProtoReflect
()
example/pb_example_test.go:61
Method
QpsDataStatus
(c context.Context, method *RPCMethod)
status.go:75
Method
Read
Read reads data from the connection. Read can be made to time out and return an error after a fixed time limit; see SetDeadline and SetReadDeadline.
nettool/customizelistener.go:194
Method
Receive
Receive
connectionpool.go:132
Method
Receive
receive serialized data to target server by connection IO return param: 1. RpcDataPackage unserialized from connection io. or nil if exception found 2
codec.go:119
Method
Receive
Receive data from connection
connection.go:158
Method
Reconnect
Reconnect do connect by saved info
connectionpool.go:160
Method
Reconnect
Reconnect do connect by saved info
connection.go:194
Method
Register
Register register RPC service
server.go:641
Method
RemoteAddr
RemoteAddr returns the remote network address.
nettool/customizelistener.go:246
Method
Reset
()
pb_status.go:34
Method
Reset
()
pb_status.go:105
Method
Reset
()
pb_status.go:173
Method
Reset
()
datamessage_test.go:31
Method
Reset
()
pb_data.go:133
Method
Reset
()
pb_data.go:230
Method
Reset
()
pb_data.go:285
Method
Reset
()
pb_data.go:340
Method
Reset
()
example/pb_example_test.go:46
Method
Send
Send
connectionpool.go:120
Method
Send
Here begin to implements link module Codec interface for RpcDataPackageCodec * type Codec[S, R any] interface { Receive() (R, error) Send(S) error
codec.go:62
Method
Send
Send data to connection
connection.go:148
Method
SendReceive
(rpcDataPackage *RpcDataPackage)
connectionpool.go:108
Method
SendReceive
SendReceive send data to connect and block wait data recevie
connection.go:132
Method
SendRpcRequestWithTimeout
SendRpcRequest send rpc request by elect one client with timeout feature
haclient.go:136
Method
ServeHTTP
ServeHTTP to serve http reqeust and response to process http rpc handle
httpserver.go:61
Method
SetDeadline
SetDeadline sets the read and write deadlines associated with the connection. It is equivalent to calling both SetReadDeadline and SetWriteDeadline.
nettool/customizelistener.go:271
Method
SetTimeout
set connection io read and write dead line
codec.go:200
Method
Start
Start
status.go:129
Method
StartAndBlock
()
server.go:421
Method
Status
(c context.Context)
status.go:37
Method
Stop
Stop
status.go:197
Method
Stop
Stop
codec.go:248
Method
String
()
pb_status.go:43
Method
String
()
pb_status.go:114
Method
String
()
pb_status.go:182
Method
String
()
datamessage_test.go:40
Method
String
()
pb_data.go:142
Method
String
()
pb_data.go:239
Method
String
()
pb_data.go:294
Method
String
()
pb_data.go:349
Function
TestChunk
TestChunk
rpcpackage_test.go:164
Function
TestCodecReceive
TestCodecReceive
codec_test.go:55
Function
TestCodecSend
TestCodecSend
codec_test.go:32
Method
TestConnection
()
connection.go:112
Function
TestEqualModeWay
(t *testing.T)
nettool/customizelistener_test.go:55
Function
TestHaClient
TestHaClient test ha client
haclient_test.go:33
Function
TestHttpRpcServer
TestHttpRpcServer
httpserver_test.go:61
Function
TestHttpRpcServerWithAuthenticate
TestHttpRpcServerWithAuthenticate
httpserver_test.go:84
Function
TestHttpRpcServerWithPath
TestHttpRpcServerWithPath
httpserver_test.go:23
Function
TestNewCustomListenerSelector
(t *testing.T)
nettool/customizelistener_test.go:26
Function
TestPooledTcpConnectionClient
TestPooledTcpConnectionClient
client_test.go:165
Function
TestPropertySetAndGet
TestPropertySetAndGet
request.pb_test.go:33
Function
TestRpcDataWriteReader
TestRpcDataWriteReader test head read and write
header_test.go:32
Function
TestRpcRequestStatus
TestRpcRequestStatus
status_test.go:65
Function
TestRpcStatus
TestRpcStatus
status_test.go:44
Function
TestServerWithAuthenticate
TestServerWithAuthenticate
server_test.go:54
Function
TestServerWithOldRegisterWay
TestServerWithOldRegisterWay
server_test.go:168
Function
TestServerWithPublishMethods
TestServerWithPublishMethods
server_test.go:80
Function
TestServerWithoutPublishMethods
TestServerWithoutPublishMethods
server_test.go:68
Function
TestSingleTcpConnectionClient
TestSingleTcpConnectionClient
client_test.go:55
Function
TestSingleTcpConnectionClientAndServerWithChunk
TestSingleTcpConnectionClientAndServerWithChunk
client_test.go:111
Function
TestSingleTcpConnectionClientByAsync
TestSingleTcpConnectionClientByAsync
client_test.go:183
Function
TestSingleTcpConnectionClientWithAuthenticate
TestSingleTcpConnectionClientWithAuthenticate
client_test.go:73
Function
TestSingleTcpConnectionClientWithBadChunkCase
TestSingleTcpConnectionClientWithBadChunkCase
client_test.go:130
Function
TestSingleTcpConnectionClientWithChunk
TestSingleTcpConnectionClientWithChunk
client_test.go:92
Function
TestTimetookInSeconds
(t *testing.T)
utility_test.go:25
Function
TestWriteReaderWithGZIP
TestWriteReaderWithGZIP
rpcpackage_test.go:140
Function
TestWriteReaderWithMockData
TestWriteReaderWithMockData
rpcpackage_test.go:74
Function
TestWriteReaderWithRealData
TestWriteReaderWithRealData
rpcpackage_test.go:130
Function
TestWriteReaderWithSNAPPY
TestWriteReaderWithSNAPPY
rpcpackage_test.go:151
Method
Trace
Trace
client_test.go:47
Method
ValidateObject
(ctx context.Context, object *pool.PooledObject)
connectionpool.go:194
Function
Warning
Warning logs to the WARNING and INFO logs. Arguments are handled in the manner of fmt.Print; a newline is appended if missing.
log.go:36
Method
Write
Write writes data to the connection. Write can be made to time out and return an error after a fixed time limit; see SetDeadline and SetWriteDeadline.
nettool/customizelistener.go:230
Method
handleResponse
(session *link.Session[*RpcDataPackage, *RpcDataPackage])
server.go:453
Function
init
()
pb_status.go:273
Function
init
()
datamessage_test.go:105
Function
init
()
pb_data.go:477
Function
init
()
example/pb_example_test.go:120
← previous
301–380 of 380, ranked by callers