mdb

package
v0.0.0-...-37e2758 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineDB

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

func NewMachineDB

func NewMachineDB(storePath string) (*MachineDB, error)

func (*MachineDB) Get

func (m *MachineDB) Get(machineFP string, keyID string) ([]byte, error)

func (*MachineDB) IsMachineExists

func (m *MachineDB) IsMachineExists(machineFP string) bool

func (*MachineDB) List

func (m *MachineDB) List() ([]string, error)

func (*MachineDB) Put

func (m *MachineDB) Put(machineFP string, keyID string, data []byte) error

Jump to

Keyboard shortcuts

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