vault

package
v0.0.0-...-90dc41d Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dico

type Dico map[string]string

type FileVault

type FileVault struct {
	Name string
	// contains filtered or unexported fields
}

func (*FileVault) Read

func (fv *FileVault) Read(key string) (string, error)

func (*FileVault) Write

func (fv *FileVault) Write(key string, value string) error

type Vault

type Vault interface {
	Write(key string, value string) error

	Read(key string) (string, error)
}

func CreateVault

func CreateVault(name string) (Vault, error)

Jump to

Keyboard shortcuts

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