动态

列表
创建 时间

Go之原生RPC (基礎)

一, 服務器1 package main import ( "log" "net" "net/http" "net/rpc" ) type RpcServer struct { } type RpcRequest struct { NumO int Num1 int } type RpcResponse struct { Num int }