Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelpRequested ¶
func HelpRequested() (help bool)
Types ¶
type Config ¶
type Config struct { AppName string `env:"APP_NAME" default:"realy"` Root string `env:"ROOT_DIR" usage:"root path for all other path configurations (defaults OS user home if empty)"` Profile string `env:"PROFILE" default:".realy" usage:"name of directory in root path to store relay state data and database"` Listen string `env:"LISTEN" default:"0.0.0.0" usage:"network listen address"` Port int `env:"PORT" default:"3334" usage:"port to listen on"` LogLevel string `env:"LOGLEVEL" default:"info" usage:"debug level: fatal error warn info debug trace"` }
Click to show internal directories.
Click to hide internal directories.