Server is a type used to implement health checks for the proxy.
type Server struct {
// contains filtered or unexported fields
}
func NewServer(c *proxy.Client, port string, staticInst []string) (*Server, error)
NewServer initializes a Server and exposes HTTP endpoints used to communicate proxy health.
func (s *Server) Close(ctx context.Context) error
Close gracefully shuts down the HTTP server belonging to the Server.
func (s *Server) NotifyStarted()
NotifyStarted tells the Server that the proxy has finished startup.