sqlite

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqliteSaver

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

func New

func New(path string) (*SqliteSaver, error)

func (SqliteSaver) Close

func (sl SqliteSaver) Close() error

func (SqliteSaver) Delete

func (s SqliteSaver) Delete(k persist.Key) error

func (SqliteSaver) Get

func (s SqliteSaver) Get(key persist.Key) ([]byte, error)

func (SqliteSaver) List

func (s SqliteSaver) List() ([]persist.Key, error)

func (SqliteSaver) Put

func (s SqliteSaver) Put(key persist.Key, data []byte) error

func (SqliteSaver) PutMultiple added in v0.4.0

func (s SqliteSaver) PutMultiple(values []persist.KeyValuePair) error

Jump to

Keyboard shortcuts

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