client

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

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 7 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
}

func NewClient

func NewClient(url string) (*Client, error)

func (*Client) AddKey

func (c *Client) AddKey(secret string) (uint64, error)

func (*Client) GetKey

func (c *Client) GetKey(id uint64) (*keys.Key, error)

func (*Client) GetKeyToken

func (c *Client) GetKeyToken(id uint64) (string, error)

func (*Client) ListKeys

func (c *Client) ListKeys() ([]uint64, error)

func (*Client) Test

func (c *Client) Test(params []interface{}) []interface{}

Jump to

Keyboard shortcuts

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