vault

package
v0.0.0-...-636f430 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keygen

type Keygen struct {
	Vault_path   string
	Vault_record map[string]interface{}
}

type Vault_Server

type Vault_Server struct{ Client *api.Client }

func (*Vault_Server) GetKeygen

func (c *Vault_Server) GetKeygen(key Keygen) (*api.Secret, error)

func (*Vault_Server) SaveKeygen

func (c *Vault_Server) SaveKeygen(collection Keygen) (*api.Secret, error)

type Vault_Services

type Vault_Services interface {
	SaveKeygen(collection Keygen) (*api.Secret, error)
	GetKeygen(key Keygen) (*api.Secret, error)
}

func NewClient

func NewClient(client *api.Client) Vault_Services

Jump to

Keyboard shortcuts

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