config

package
v0.0.0-...-dcefb82 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_SNAPSHOT_PERIOD = 12
)

Variables

View Source
var (
	BadgerOptions         badger.Options
	BadgerCleanUpInterval time.Duration
)
View Source
var (
	AppConfig = viper.New()
)

Functions

func ConfigureBadger

func ConfigureBadger()

func Start

func Start()

TODO: Refactor it further

PRECEDENCE (Higher number overrides the others): 1. default 2. key/value store 3. config 4. env 5. flag 6. explicit call to Set

Types

This section is empty.

Jump to

Keyboard shortcuts

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