cli

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: MIT Imports: 2 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{}

Client is pinentry CLI drop-in

func New

func New() (*Client, error)

New creates a new client

func (*Client) Close

func (c *Client) Close()

Close is a no-op

func (*Client) Confirm

func (c *Client) Confirm() bool

Confirm is a no-op

func (*Client) GetPin

func (c *Client) GetPin() ([]byte, error)

GetPin prompts for the pin in the termnial and returns the output

func (*Client) Option

func (c *Client) Option(string) error

Option is a no-op

func (*Client) Set

func (c *Client) Set(string, string) error

Set is a no-op

Jump to

Keyboard shortcuts

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