Versions in this module Expand all Collapse all v0 v0.0.3 Apr 30, 2023 v0.0.1 Apr 27, 2023 Changes in this version + type Client struct + func NewClient(nc *nats.Conn, liveCycle time.Duration) (*Client, error) + func (c *Client) KeepAlive(ctx context.Context, getNode func() discovery.Node) error + type Discovery interface + KeepAlive func(ctx context.Context, getNode func() discovery.Node) error + type NodeStateChangeCallback func(req discovery.Request)