store

package
v0.0.0-...-4b69c5b Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

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

func (*Store) Close

func (s *Store) Close()

func (*Store) Delete

func (s *Store) Delete(bucket, key string) error

func (*Store) Get

func (s *Store) Get(bucket, key string, val interface{}) error

func (*Store) Keys

func (s *Store) Keys(bucket string) ([]string, error)

func (*Store) Put

func (s *Store) Put(bucket, key string, val interface{}) error

Jump to

Keyboard shortcuts

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