Documentation ¶
Index ¶
- func Register(r interface{}, collectors ...func() (statKey string, stats interface{})) error
- func RegisterHealthcheck(r interface{}, collectors ...func() (statKey string, stats interface{})) error
- func RegisterPing(r interface{}) error
- func ServeHealthcheck(collectors ...func() (statKey string, stats interface{})) func() interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHealthcheck ¶
func RegisterHealthcheck(r interface{}, collectors ...func() (statKey string, stats interface{})) error
RegisterHealthcheck registers healthcheck endpoint
func ServeHealthcheck ¶
func ServeHealthcheck(collectors ...func() (statKey string, stats interface{})) func() interface{}
ServeHealthcheck serves healthcheck
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.