client

package
v0.2201.6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package client implements a client for Oasis sentry nodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	api.Backend
	// contains filtered or unexported fields
}

Client is a sentry client for querying sentry nodes for their address(es).

func New

func New(sentryAddress node.TLSAddress, identity *identity.Identity) (*Client, error)

New creates a new sentry client.

func (*Client) Close

func (c *Client) Close()

Close closes the sentry client.

Jump to

Keyboard shortcuts

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