database

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCfgStore

func NewCfgStore() (store.Driver, error)

NewCfgStore New a cfg store for database driver

func TranslateConfig

func TranslateConfig(config map[string]interface{}) ([]models.ConfigEntry, error)

TranslateConfig Translate configuration from int, bool, float64 to string

func WrapperConfig

func WrapperConfig(configEntries []*models.ConfigEntry) (map[string]interface{}, error)

WrapperConfig Wrapper the configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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