config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShardsDir  = "shards"
	ShardsData = "data"
)
View Source
const (
	DATADIR   = "data"
	SHARDSDIR = "shards"
)

Variables

View Source
var Template = `` /* 332-byte string literal not displayed */

Functions

func GetConfig

func GetConfig(agconf *viper.Viper) (conf *viper.Viper)

func LoadDefaultAngineConfig

func LoadDefaultAngineConfig(datadir, chainID string, conf map[string]interface{}) (*viper.Viper, error)

LoadDefaultShardConfig should only be called after initAnnChainRuntime

func SetDefaults

func SetDefaults(runtime string, conf *viper.Viper) *viper.Viper

Types

This section is empty.

Jump to

Keyboard shortcuts

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