sodb

package
v0.0.0-...-d9d0c30 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SoDB

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

func NewSoDB

func NewSoDB(cancelCtx context.Context, path string) (sd *SoDB)

func (*SoDB) Get

func (sd *SoDB) Get(k string) ([]byte, bool)

Get key value

func (*SoDB) Range

func (sd *SoDB) Range(f func(k string, v []byte) bool)

Range each item

func (*SoDB) Set

func (sd *SoDB) Set(k string, v []byte)

Set value

Jump to

Keyboard shortcuts

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