refactor rpcx, export WithDialOption and WithTimeout

This commit is contained in:
kevin
2020-08-11 14:33:10 +08:00
parent 95226762ba
commit 08fa64d553
7 changed files with 27 additions and 20 deletions

View File

@@ -15,7 +15,7 @@ import (
var (
configFile = flag.String("f", "config.json", "the config file")
client *rpcx.RpcClient
client rpcx.Client
)
func handle(w http.ResponseWriter, r *http.Request) {