client

package
v0.0.0-...-9cec3b7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDistKey

func GetDistKey(client *Client) (string, error)

Types

type Client

type Client struct {
	API  pb.PublicClient
	Addr string
	// contains filtered or unexported fields
}

func New

func New(address string) (*Client, error)

func (*Client) Close

func (c *Client) Close()

type Randomness

type Randomness struct {
	Index int
	Value []byte
}

func GetRandomness

func GetRandomness(client *Client, distKey string) (*Randomness, error)

Jump to

Keyboard shortcuts

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