httpserver

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthMux

func NewHealthMux(handlers map[string]http.Handler) *http.ServeMux

NewHealthMux makes a new *http.ServeMux

Types

type HTTPServer

type HTTPServer interface {
	Start()
	Stop()
}

HTTPServer serving probes and metrics

func NewHTTPServer

func NewHTTPServer(probes health.Probes, metricStore metricsstore.MetricStore, apiPort int32, debugServer debugger.DebugServer) HTTPServer

NewHTTPServer creates a new API server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL