envoy: Initial changes

This commit is contained in:
Travis Groth 2020-05-18 16:34:31 -04:00
parent 8f78497e99
commit 99e788a9b4
107 changed files with 2542 additions and 3322 deletions

View file

@ -116,7 +116,7 @@ func New(o *Options) (*Store, error) {
if err != nil {
return nil, err
}
serverOpts := &httputil.ServerOptions{Addr: o.Addr, Insecure: true, Service: Name}
serverOpts := &httputil.ServerOptions{Addr: o.Addr}
var wg sync.WaitGroup
s.srv, err = httputil.NewServer(serverOpts, metrics.HTTPMetricsHandler("groupcache")(QueryParamToCtx(s.cluster)), &wg)
if err != nil {