filevault

package
v0.0.0-...-3ad5edb Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vault

type Vault struct {
	// contains filtered or unexported fields
}

func New

func New(storagePath string) *Vault

func (*Vault) Close

func (v *Vault) Close() error

func (*Vault) DeleteKey

func (v *Vault) DeleteKey(key []byte) error

func (*Vault) GetKey

func (v *Vault) GetKey(key []byte) ([]byte, error)

func (*Vault) GetTestKey

func (v *Vault) GetTestKey() ([]byte, error)

func (*Vault) ListKeys

func (v *Vault) ListKeys() ([][]byte, error)

func (*Vault) SetKey

func (v *Vault) SetKey(key []byte, value []byte) error

func (*Vault) SetTestKey

func (v *Vault) SetTestKey(value []byte) error

Jump to

Keyboard shortcuts

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