embed

package
v0.2.134 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbedDatastore

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

func NewEmbedDatastore

func NewEmbedDatastore(dbDirectory string) (*EmbedDatastore, error)

func (*EmbedDatastore) AddPrefix

func (m *EmbedDatastore) AddPrefix(prefix string) datastore.Datastore

func (*EmbedDatastore) Apply

func (ds *EmbedDatastore) Apply(key string, pb proto.Message) error

func (*EmbedDatastore) Close

func (ds *EmbedDatastore) Close() error

func (*EmbedDatastore) Delete

func (ds *EmbedDatastore) Delete(key string) error

func (EmbedDatastore) Get

func (ds EmbedDatastore) Get(key string, pb proto.Message) error

func (*EmbedDatastore) IsLocked

func (ds *EmbedDatastore) IsLocked(key string) bool

func (EmbedDatastore) List

func (ds EmbedDatastore) List(f func(length int) []proto.Message) error

func (*EmbedDatastore) Lock

func (ds *EmbedDatastore) Lock(key string) bool

func (*EmbedDatastore) Unlock

func (ds *EmbedDatastore) Unlock(key string) bool

Jump to

Keyboard shortcuts

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