config

package
v0.0.0-...-48972bb Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Genesis GenesisInfo
	DB      DBInfo
	Log     LogInfo
}

func New

func New() *Config

func (*Config) Init

func (p *Config) Init(cfgFile string) error

type DBInfo

type DBInfo struct {
	Type string // sqlite3
	Path string // root/.tentermint/data
}

type GenesisInfo

type GenesisInfo struct {
	Account string
	Amount  string
}

type LogInfo

type LogInfo struct {
	Env  string
	Path string
}

Jump to

Keyboard shortcuts

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