client

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2018 License: MIT 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 is a agent client

func New

func New(dir string) *Client

New creates a new client

func (*Client) Passphrase

func (c *Client) Passphrase(ctx context.Context, key, reason string) (string, error)

Passphrase asks for a passphrase from the agent

func (*Client) Ping

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

Ping checks connectivity to the agent

func (*Client) Remove

func (c *Client) Remove(ctx context.Context, key string) error

Remove un-caches a single key

Jump to

Keyboard shortcuts

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