摘要: 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 阅读(209) 评论(0) 推荐(0) 编辑