doryClient

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleClientAuth

func HandleClientAuth(goldory DoryClient, axn string)

Types

type DoryClient

type DoryClient struct {
	BaseUrl       string
	Backend       string //local-auth
	Key           string
	Value         []byte
	Token         string
	KeyTTL        int //seconds, usable in cache mode only i.e. when persist is false
	Persist       bool
	ReadNotDelete bool
}

func (*DoryClient) Del

func (dory *DoryClient) Del() (err error)

func (*DoryClient) FetchSecret

func (dory *DoryClient) FetchSecret() (value []byte, err error)

func (*DoryClient) Get

func (dory *DoryClient) Get() (err error)

func (*DoryClient) List

func (dory *DoryClient) List() (err error)

func (*DoryClient) Ping

func (dory *DoryClient) Ping() (err error)

func (*DoryClient) PurgeAll

func (dory *DoryClient) PurgeAll() (err error)

func (*DoryClient) PurgeOne

func (dory *DoryClient) PurgeOne() (err error)

func (*DoryClient) PurgeSecret

func (dory *DoryClient) PurgeSecret() (err error)

func (*DoryClient) RefreshSecret

func (dory *DoryClient) RefreshSecret() (value []byte, err error)

func (*DoryClient) Set

func (dory *DoryClient) Set() (err error)

func (*DoryClient) ShareSecret

func (dory *DoryClient) ShareSecret(value []byte) (err error)

func (*DoryClient) ShareSecretFromFile

func (dory *DoryClient) ShareSecretFromFile(filepath string) (err error)

Jump to

Keyboard shortcuts

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