Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthCheckServer ¶
func NewHealthCheckServer(healthCheckPort string, checkFunction func() (bool, error), options ...Options)
NewHealthCheckServer starts a health check server with the given port. It exposes a Check function that is compatible with consul The check function will call the 'checkFunction' that is passed and will return accordingly
Types ¶
Click to show internal directories.
Click to hide internal directories.