factories

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBleveIndex added in v1.12.0

func NewBleveIndex(dir, name string, mapping blevemapping.IndexMapping) bleve.Index

func NewEchoRender

func NewEchoRender(version string, cfg *viper.Viper,
	server *echo.Echo, repo *repos.BooksLevelBleve, logger zerolog.Logger,
) (echo.Renderer, error)

func NewEchoServer

func NewEchoServer(version string, libs entities.Libraries, cfg *viper.Viper, logger zerolog.Logger,
	repoInfo *repos.BooksLevelBleve, repoBooks *repos.LibraryFs,
) (*echo.Echo, error)

func NewLevelDB added in v1.14.0

func NewLevelDB(dir string, name string) *leveldb.DB

https://github.com/syndtr/goleveldb

func NewViperCfg

func NewViperCfg(cfgPath string, prefix string) *viper.Viper

func NewZerolog added in v1.13.1

func NewZerolog(cfg *viper.Viper, writer io.Writer) zerolog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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