env

package
v0.0.0-...-61fb7ef Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	HomeDir      string `properties:"homeDir,default=/home"`
	RootDir      string `properties:"rootDir,default=/root/quorum-maker"`
	NodeDir      string `properties:"nodeDir,default=/home/node"`
	ContractsDir string `properties:"contractsDir,default=/home/node/contracts"`
	GethLogs     string `properties:"gethLogs,default=/home/node/qdata/gethLogs"`
	PrivacyLogs  string `properties:"privacyLogs,default=/home/node/qdata/constellationLogs"`
}

func GetAppConfig

func GetAppConfig(refresh ...bool) AppConfig

type SetupConf

type SetupConf struct {
	ContextPath           string `properties:"CONTEXT_PATH,default=/qm"`
	CurrentIp             string `properties:"CURRENT_IP,default="`
	RpcPort               string `properties:"RPC_PORT,default="`
	WhisperPort           string `properties:"WHISPER_PORT,default="`
	ConstellationPort     string `properties:"CONSTELLATION_PORT,default="`
	RaftPort              string `properties:"RAFT_PORT,default="`
	ThisNodemanagerPort   string `properties:"THIS_NODEMANAGER_PORT,default="`
	WsPort                string `properties:"WS_PORT,default="`
	NetworkId             string `properties:"NETWORK_ID,default="`
	RaftId                string `properties:"RAFT_ID,default="`
	Nodename              string `properties:"NODENAME,default="`
	Mode                  string `properties:"MODE,default="`
	State                 string `properties:"STATE,default="`
	PubKey                string `properties:"PUBKEY,default="`
	ContractAdd           string `properties:"CONTRACT_ADD,default="`
	Registered            string `properties:"REGISTERED,default="`
	Role                  string `properties:"ROLE,default="`
	RecipientList         string `properties:"RECIPIENTLIST,default="`
	AutoAcceptJoinRequest string `properties:"AUTO_ACCEPT_JOIN_REQUEST,default="`
}

func GetSetupConf

func GetSetupConf(refresh ...bool) SetupConf

Jump to

Keyboard shortcuts

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