migrating rpc client examples to their own package.
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user