badger

package
v0.0.0-...-5c72b2d Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func New

func New() *Factory

func (*Factory) Close

func (f *Factory) Close() error

func (*Factory) Delete

func (f *Factory) Delete(name string) error

func (*Factory) Get

func (f *Factory) Get(name string) (dictionaries []byte, err error)

func (*Factory) Initialize

func (f *Factory) Initialize(conf *config.AppConfig, logger logger.DefaultLogger) error

func (*Factory) RegisterDictionary

func (f *Factory) RegisterDictionary() (registerModel []dictionary.RegisterModel, err error)

func (*Factory) Save

func (f *Factory) Save(name string, dictionaries []byte) error

type Options

type Options struct {
}

Jump to

Keyboard shortcuts

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