engine

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

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

Go to latest
Published: Dec 18, 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 BoltDBStore

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

func (*BoltDBStore) Close

func (s *BoltDBStore) Close() error

func (*BoltDBStore) CreateBucket

func (s *BoltDBStore) CreateBucket(bucket string) error

func (*BoltDBStore) Delete

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

func (*BoltDBStore) ForEach

func (s *BoltDBStore) ForEach(bucket string, fn func(k string, v []byte) error) error

func (*BoltDBStore) Get

func (s *BoltDBStore) Get(bucket string, key string) ([]byte, error)

func (*BoltDBStore) GetSwap

func (s *BoltDBStore) GetSwap(bucket string, key string, fn func([]byte) ([]byte, error)) error

func (*BoltDBStore) Open

func (s *BoltDBStore) Open() error

func (*BoltDBStore) Put

func (s *BoltDBStore) Put(bucket string, key string, value []byte) error

type BoltDBStoreBuilder

type BoltDBStoreBuilder struct {
}

func (*BoltDBStoreBuilder) Build

func (b *BoltDBStoreBuilder) Build() (store.Storer, error)

func (*BoltDBStoreBuilder) Name

func (b *BoltDBStoreBuilder) Name() string

Jump to

Keyboard shortcuts

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