Documentation ¶
Index ¶
Constants ¶
View Source
const ( UP health = "UP" DOWN health = "DOWN" )
Variables ¶
View Source
var ErrInternal = errors.New("internal server error")
Functions ¶
This section is empty.
Types ¶
type NamedMonitor ¶
type Option ¶
type Option func(*Server)
func WithContext ¶
func WithLogger ¶
func WithMetricsHandler ¶ added in v0.2.1
func WithNamedMonitors ¶
func WithNamedMonitors(monitors ...NamedMonitor) Option
Click to show internal directories.
Click to hide internal directories.