client

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps all talking endpoints

func New

func New(ctx context.Context) (*Client, error)

New creates a new client

func (*Client) Connect

func (c *Client) Connect(ctx context.Context) error

Connect attempts to connect to all enabled endpoints

func (*Client) Disconnect

func (c *Client) Disconnect(ctx context.Context) error

Disconnect attempts to gracefully disconnect all enabled endpoints

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL