code: func (p *Plugin) AfterInit() (err error) {
  	if p.disabled {
  		return nil
  	}
  
  	if p.Deps.HTTP != nil {
  		p.Log.Infof("exposing GRPC services via HTTP (port %v) on: /service",
  			strconv.Itoa(p.Deps.HTTP.GetPort()))
  		p.Deps.HTTP.RegisterHTTPHandler("/service", func(formatter *render.Render) http.HandlerFunc {
  			return p.grpcServer.ServeHTTP
  		}, "GET", "PUT", "POST")
  	} else {
  		p.Log.Infof("HTTP not set, skip exposing GRPC services")
  	}
  
  	// Start GRPC listener
  	p.netListener, err = ListenAndServe(p.Config, p.grpcServer)
  	if err != nil {
  		return err
  	}
  	p.Log.Infof("Listening GRPC on: %v", p.Config.Endpoint)
  
  	return nil
  }
docs: // AfterInit starts the HTTP netListener.