goroute应用-模拟远程调用RPC

go语言简单模拟RPC,详见个人新博客:www.dlgde.cn 代码如下: package main import ( "errors" "fmt" "time" ) func RPCClient(ch chan string, req string) (string, error) { ch <
posted @ 2019-04-19 22:40  qstudy  阅读(206)  评论(0编辑  收藏  举报