storage

package
v1.5.20 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 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 IKVStorage added in v1.5.10

type IKVStorage interface {
	GetSettings() ISettings

	Set([]byte, []byte) error
	Get([]byte) ([]byte, error)
	Del([]byte) error
}

func NewCryptoStorage

func NewCryptoStorage(pSettings ISettings) (IKVStorage, error)

type ISettings added in v1.5.9

type ISettings interface {
	GetPath() string
	GetWorkSize() uint64
	GetPassword() string
}

func NewSettings added in v1.5.9

func NewSettings(pSett *SSettings) ISettings

type SSettings added in v1.5.9

type SSettings sSettings

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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