Documentation ¶
Index ¶
Constants ¶
View Source
const ( MINING_SENDER = "THE BLOCKCHAIN" MINING_REWARD = 1.0 // Reward of 1.0 worth of crypto currency )
Variables ¶
View Source
var (
MINING_DIFFICULTY = 3
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Home string `env:"HOME"` MiningDifficulty int `env:"FRAGMOS_MINING_DIFFICULTY"` Port int `env:"PORT" envDefault:"3030"` Password string `env:"PASSWORD,unset"` IsProduction bool `env:"PRODUCTION"` Hosts []string `env:"HOSTS" envSeparator:":"` Duration time.Duration `env:"DURATION"` TempFolder string `env:"TEMP_FOLDER" envDefault:"${HOME}/tmp" envExpand:"true"` }
Click to show internal directories.
Click to hide internal directories.