*: gRPC + HTTP on the same port
We use cmux to do this since we want to do http+https on the same port in the near future too.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
// Create client using `clientv3.New`:
|
||||
//
|
||||
// cli, err := clientv3.New(clientv3.Config{
|
||||
// Endpoints: []string{"localhost:12378", "localhost:22378", "localhost:32378"},
|
||||
// Endpoints: []string{"localhost:2379", "localhost:22379", "localhost:32379"},
|
||||
// DialTimeout: 5 * time.Second,
|
||||
// })
|
||||
// if err != nil {
|
||||
|
Reference in New Issue
Block a user