Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IKVDatabase ¶ added in v1.5.10
type IKVDatabase interface { types.ICloser Push(message.IMessage) error Load(string) (message.IMessage, error) Hashes() ([]string, error) Settings() ISettings GetOriginal() database.IKVDatabase }
func NewKeyValueDB ¶
func NewKeyValueDB(pSett ISettings) (IKVDatabase, error)
func NewVoidKeyValueDB ¶ added in v1.5.13
func NewVoidKeyValueDB(pSett ISettings) IKVDatabase
type ISettings ¶
type ISettings interface { GetPath() string GetCapacity() uint64 GetMessageSizeBytes() uint64 GetWorkSizeBits() uint64 }
func NewSettings ¶
type IWrapperDB ¶ added in v1.5.6
type IWrapperDB interface { types.ICloser Get() IKVDatabase Set(IKVDatabase) IWrapperDB }
func NewWrapperDB ¶ added in v1.5.6
func NewWrapperDB() IWrapperDB
Click to show internal directories.
Click to hide internal directories.