udwKvdbV2

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KvdbV2

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

func NewKvdbV2

func NewKvdbV2(req NewKvdbV2Request) *KvdbV2

func (*KvdbV2) Clear

func (this *KvdbV2) Clear()

func (*KvdbV2) CloneInnerMap

func (this *KvdbV2) CloneInnerMap() (m map[string]string)

func (*KvdbV2) Delete

func (this *KvdbV2) Delete(k string)

func (*KvdbV2) FlushAndWaitDiskIO

func (this *KvdbV2) FlushAndWaitDiskIO() (err error)

func (*KvdbV2) Get

func (this *KvdbV2) Get(k string) (v string)

func (*KvdbV2) GetLength

func (this *KvdbV2) GetLength() int

func (*KvdbV2) Set

func (this *KvdbV2) Set(k string, v string)

type KvdbWriteHistory

type KvdbWriteHistory struct {
	IsSnapshot bool
	SetMap     map[string]string
}

type NewKvdbV2Request

type NewKvdbV2Request struct {
	DataDirPath string
	PskString   string
	OutputLogFn func(s string)
}

Jump to

Keyboard shortcuts

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