*: 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:
@ -49,7 +49,7 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
RootCmd.PersistentFlags().StringSliceVar(&endpoints, "endpoints", []string{"127.0.0.1:2378"}, "gRPC endpoints")
|
||||
RootCmd.PersistentFlags().StringSliceVar(&endpoints, "endpoints", []string{"127.0.0.1:2379"}, "gRPC endpoints")
|
||||
RootCmd.PersistentFlags().UintVar(&totalConns, "conns", 1, "Total number of gRPC connections")
|
||||
RootCmd.PersistentFlags().UintVar(&totalClients, "clients", 1, "Total number of gRPC clients")
|
||||
|
||||
|
Reference in New Issue
Block a user