config

package
v0.0.0-...-fdc8e6b Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CACHE_LIST    = "{bolt|badger|migrate}"
	CACHE_DEFAULT = "bolt"
)

Variables

This section is empty.

Functions

func NewCache

func NewCache(cfg *Config) (cache.Cache, error)

Types

type Config

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(f *flag.FlagSet, cacheID string)

Jump to

Keyboard shortcuts

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