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
↓ 1 callers
Method
serverHttp
(l net.Listener)
httpserver.go:43
↓ 1 callers
Method
shutdown
shutdown do shutdown action to close http server
httpserver.go:165
↓ 1 callers
Method
startLoopReceive
()
client.go:190
Method
ActivateObject
(ctx context.Context, object *pool.PooledObject)
connectionpool.go:206
Method
Authenticate
Authenticate
server_test.go:49
Method
Authenticate
Authenticate
client_test.go:36
Function
BenchmarkTestLocalConnectionPerformance
BenchmarkTestLocalConnectionPerformance bench mark test
benchmark_test.go:37
Function
BindError
BindError add error value to the context
server.go:935
Method
Close
do close connection io return non-nil if any error ocurred while doing close
codec.go:191
Method
Close
Close do close all client
haclient.go:211
Method
Close
define client methods Close close client with time wheel
client.go:183
Method
Close
()
nettool/customizelistener.go:55
Method
Close
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
nettool/customizelistener.go:236
Function
CloseBatchConnection
CloseBatchConnection close batch connections
haclient.go:65
Method
Descriptor
Deprecated: Use RPCStatus.ProtoReflect.Descriptor instead.
pb_status.go:62
Method
Descriptor
Deprecated: Use RPCMethod.ProtoReflect.Descriptor instead.
pb_status.go:133
Method
Descriptor
Deprecated: Use QpsData.ProtoReflect.Descriptor instead.
pb_status.go:201
Method
Descriptor
Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
datamessage_test.go:59
Method
Descriptor
Deprecated: Use RpcMeta.ProtoReflect.Descriptor instead.
pb_data.go:65
Method
Descriptor
Deprecated: Use Request.ProtoReflect.Descriptor instead.
pb_data.go:161
Method
Descriptor
Deprecated: Use Response.ProtoReflect.Descriptor instead.
pb_data.go:258
Method
Descriptor
Deprecated: Use ChunkInfo.ProtoReflect.Descriptor instead.
pb_data.go:313
Method
Descriptor
Deprecated: Use RpcRequestMetaExtField.ProtoReflect.Descriptor instead.
pb_data.go:368
Method
Descriptor
Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
example/pb_example_test.go:74
Method
DestroyObject
(ctx context.Context, object *pool.PooledObject)
connectionpool.go:184
Function
DoRPCServer
()
example/server_example_test.go:182
Method
DoService
DoService do call back function on RPC invocation
server.go:258
Method
DoService
(msg proto.Message, attachment []byte, logId *int64)
server_test.go:128
Method
Echo
Echo test publish method with return type has context argument
echoservice_test.go:41
Method
Echo
Echo test publish method with return type has context argument
example/server_example_test.go:154
Method
EchoSlowTest
Echo test publish method with return type has context argument
echoservice_test.go:118
Method
EchoWithAttchement
Echo test publish method with return type has context argument
echoservice_test.go:61
Method
EchoWithCustomizedError
Echo test publish method with return type has context argument
echoservice_test.go:84
Method
EchoWithoutContext
Echo test publish method with return type has context argument
echoservice_test.go:102
Function
EmptyHead
EmptyHead return a empty head with default value
header.go:55
Function
ExampleHaTcpClient
ExampleTcpClient
example/haclient_example_test.go:32
Function
ExamplePooledTcpClient
ExampleTcpClient
example/client_example_test.go:84
Function
ExampleRpcServer
ExampleRpcServer
example/server_example_test.go:48
Function
ExampleRpcServerRegisterWithCallback
ExampleRpcServerWithListener
example/server_example_test.go:111
Function
ExampleRpcServerWithHttp
()
example/server_example_test.go:67
Function
ExampleRpcServerWithListener
ExampleRpcServerWithListener
example/server_example_test.go:89
Function
ExampleTcpClient
ExampleTcpClient
example/client_example_test.go:33
Method
ExtraParams
(extraParams []byte)
rpcpackage.go:298
Method
GetAuthenticationData
()
pb_data.go:111
Method
GetChuckInfo
()
pb_data.go:104
Method
GetExtraParam
()
pb_data.go:214
Method
GetHead
()
rpcpackage.go:321
Method
GetHost
()
pb_status.go:66
Method
GetId
()
connection.go:123
Method
GetInTypeMeta
()
pb_status.go:151
Method
GetKey
()
pb_data.go:372
Method
GetLogId
()
rpcpackage.go:223
Method
GetMagicCode
()
rpcpackage.go:123
Method
GetMethod
()
pb_status.go:144
Method
GetMethodName
GetMethodName get method name
server.go:263
Method
GetMethodName
()
server_test.go:158
Method
GetMethods
()
pb_status.go:87
Method
GetName
()
datamessage_test.go:63
Method
GetName
()
example/pb_example_test.go:78
Method
GetNumActive
()
connectionpool.go:151
Method
GetPort
()
pb_status.go:73
Method
GetQpsinfo
()
pb_status.go:205
Method
GetReturnTypeMeta
()
pb_status.go:158
Method
GetService
()
pb_status.go:137
Method
GetServiceName
GetServiceName get service name
server.go:273
Method
GetServiceName
()
server_test.go:154
Method
GetSpanId
()
rpcpackage.go:245
Method
GetTimeout
()
pb_status.go:80
Method
GetValue
()
pb_data.go:379
Method
Hello
(request string, reply *string)
example/server_example_test.go:177
Method
LocalAddr
LocalAddr returns the local network address.
nettool/customizelistener.go:241
Function
LogID
(context context.Context)
server.go:911
Method
MakeObject
(ctx context.Context)
connectionpool.go:170
Function
NewBatchTCPConnection
NewBatchTCPConnection to create batch connection
haclient.go:46
Function
NewDefaultTCPConnectionPool
(url URL, timeout *time.Duration)
connectionpool.go:50
Function
NewHaRpcCient
NewHaRpcCient
haclient.go:72
Method
NewParameter
NewParameter no long will be used
server.go:268
Method
NewParameter
()
server_test.go:162
Function
NewRpcInvocation
NewRpcInvocation create RpcInvocation with service name and method name
client.go:126
Function
NewTpcServer
NewTpcServer
server.go:320
Method
PassivateObject
(ctx context.Context, object *pool.PooledObject)
connectionpool.go:210
Method
ProtoMessage
()
pb_status.go:47
Method
ProtoMessage
()
pb_status.go:118
Method
ProtoMessage
()
pb_status.go:186
Method
ProtoMessage
()
datamessage_test.go:44
Method
ProtoMessage
()
pb_data.go:50
Method
ProtoMessage
()
pb_data.go:146
Method
ProtoMessage
()
pb_data.go:243
Method
ProtoMessage
()
pb_data.go:298
Method
ProtoMessage
()
pb_data.go:353
Method
ProtoMessage
()
example/pb_example_test.go:59
Method
ProtoReflect
()
pb_status.go:49
Method
ProtoReflect
()
pb_status.go:120
Method
ProtoReflect
()
pb_status.go:188
Method
ProtoReflect
()
datamessage_test.go:46
Method
ProtoReflect
()
pb_data.go:52
Method
ProtoReflect
()
pb_data.go:148
Method
ProtoReflect
()
pb_data.go:245
Method
ProtoReflect
()
pb_data.go:300
Method
ProtoReflect
()
pb_data.go:355
← previous
next →
201–300 of 380, ranked by callers