Versions in this module Expand all Collapse all v1 v1.4.9 Jul 5, 2021 v1.4.5 Jul 5, 2021 Changes in this version + type APIHealthArgs struct + type APIHealthReply struct + Checks map[string]health.Result + Healthy bool + type Client struct + func NewClient(uri string, requestTimeout time.Duration) *Client + func (c *Client) AwaitHealthy(checks int, interval time.Duration) (bool, error) + func (c *Client) GetLiveness() (*APIHealthReply, error) + func (c *Client) Health() (*APIHealthReply, error) + type Service interface + Handler func() (*common.HTTPHandler, error) + func NewNoOpService() Service + func NewService(checkFreq time.Duration, log logging.Logger, namespace string, ...) (Service, error)