storage

package
v1.5.15 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 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 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, pWorkSize uint64) (IKVStorage, error)

pSettings.Hashing always = true

type ISettings added in v1.5.9

type ISettings interface {
	GetPath() string
	GetHashing() bool
	GetCipherKey() []byte
}

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