package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConfigPrefix defines the configuration prefix
type Health interface {
Start()
Stop() error
}
Health represents the Health interface
New creates a new Health instance
Option represents a Health option
Logger returns logger option
Route returns route option
type Options struct {
Logger logger.Logger `ignored:"true" json:"-"`
Port int `default:"8080" envconfig:"PORT"`
Route string `default:"/health" envconfig:"ROUTE"`
}
Options represents the Health options
Source Files
¶
Click to show internal directories.
Click to hide internal directories.