migrating rpc client examples to their own package.

This commit is contained in:
greg stone
2023-02-25 21:21:34 +00:00
parent 27eca4e0b7
commit a9b43ed961

View File

@@ -13,8 +13,6 @@ func TunnelHello(ctx context.Context) {
var err error
var conn *grpc.ClientConn
//conn, err = Dial("unix:///tmp/indra.sock")
conn, err = rpc.DialContext(ctx,
"noise://0.0.0.0:18222",
rpc.WithPrivateKey("Aj9CfbE1pXEVxPfjSaTwdY3B4kYHbwsTSyT3nrc34ATN"),