*: 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:
Xiang Li
2016-03-21 14:21:09 -07:00
parent adebd91114
commit d3809abe42
12 changed files with 47 additions and 52 deletions

View File

@ -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 {