Documentation ¶ Index ¶ Variables type Client func New(cc conn.Conn, config config.Config) *Client func (c *Client) Close(ctx context.Context) error func (c *Client) Discover(ctx context.Context) (endpoints []endpoint.Endpoint, err error) func (c *Client) WhoAmI(ctx context.Context) (whoAmI *discovery.WhoAmI, err error) Constants ¶ This section is empty. Variables ¶ View Source var DefaultDiscoveryInterval = time.Minute Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ func New( cc conn.Conn, config config.Config, ) *Client func (*Client) Close ¶ func (c *Client) Close(ctx context.Context) error func (*Client) Discover ¶ func (c *Client) Discover(ctx context.Context) (endpoints []endpoint.Endpoint, err error) Discover cluster endpoints func (*Client) WhoAmI ¶ func (c *Client) WhoAmI(ctx context.Context) (whoAmI *discovery.WhoAmI, err error) Source Files ¶ View all Source files discovery.go Directories ¶ Show internal Expand all Path Synopsis config Click to show internal directories. Click to hide internal directories.