boltdb

package
v0.0.0-...-a4fd4ee Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: MIT Imports: 5 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) Create

func (s *Store) Create(key string, value []byte, ttl int64) (*store.KVPair, error)

func (*Store) Delete

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

func (*Store) Get

func (s *Store) Get(key string) (*store.KVPair, error)

func (*Store) Put

func (s *Store) Put(key string, value []byte, ttl int64) (*store.KVPair, error)

Jump to

Keyboard shortcuts

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