conf

package
v0.0.0-...-7ede18c Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(filePath string) error

Types

type EKTConf

type EKTConf struct {
	Version              string          `json:"version"`
	DBPath               string          `json:"dbPath"`
	LogPath              string          `json:"logPath"`
	Debug                bool            `json:"debug"`
	Node                 types.Peer      `json:"node"`
	BlockchainManagePwd  string          `json:"blockchainManagePwd"`
	GenesisBlockAccounts []types.Account `json:"genesisBlock"`
	PrivateKey           types.HexBytes  `json:"privateKey"`
	Env                  string          `json:"env"`
}
var EKTConfig *EKTConf

func (EKTConf) GetPrivateKey

func (conf EKTConf) GetPrivateKey() []byte

Jump to

Keyboard shortcuts

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