package
Version:
v1.0.0-rc
Opens a new window with list of versions in this module.
Published: May 24, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package conf Define the configuration
Debug Return the switch of debug.
ListenAddr return the address of listen.
SchedulerAddr Return the address of scheduler.
SoldierAddr return the address of soldier.
type Conf struct {
Debug bool `env:"DEBUG" default:"false"`
EnableEss bool `env:"ENABLE_ESS" default:"false"`
ListenAddr string `env:"LISTEN_ADDR" default:":9027"`
SoldierAddr string `env:"SOLDIER_ADDR"`
SchedulerAddr string `env:"SCHEDULER_ADDR"`
}
Conf Define the configuration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.