client

package
v0.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type Client

type Client struct {
	Fraud  fraud.API
	Header header.API
	State  state.API
	Share  share.API
	DAS    das.API
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, addr string) (*Client, error)

NewClient creates a new Client with one connection per namespace.

func (*Client) Close

func (c *Client) Close()

Close closes the connections to all namespaces registered on the client.

Jump to

Keyboard shortcuts

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