Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daizuozhuo/rpc-example
/ functions
Functions
14 in github.com/daizuozhuo/rpc-example
⨍
Functions
14
◇
Types & classes
3
↓ 6 callers
Function
TimeoutCoder
(f func(interface{}) error, e interface{}, msg string)
server.go:29
↓ 3 callers
Method
Close
()
server.go:74
↓ 1 callers
Method
Close
()
client.go:37
↓ 1 callers
Function
ListenRPC
()
server.go:83
↓ 1 callers
Function
NewWorker
()
server.go:18
↓ 1 callers
Function
call
(srv string, rpcname string, args interface{}, reply interface{})
client.go:41
Method
DoJob
(task string, reply *string)
server.go:22
Method
ReadRequestBody
(body interface{})
server.go:52
Method
ReadRequestHeader
(r *rpc.Request)
server.go:48
Method
ReadResponseBody
(body interface{})
client.go:33
Method
ReadResponseHeader
(r *rpc.Response)
client.go:29
Method
WriteRequest
(r *rpc.Request, body interface{})
client.go:19
Method
WriteResponse
(r *rpc.Response, body interface{})
server.go:56
Function
main
()
server.go:114