Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = &SConfig{
DBUrl: "sqlite:///tmp/sqlite.db3",
MQUrl: "inmemory://localhost",
}
Functions ¶
Types ¶
type SConfig ¶
type SConfig struct { Address string `mapstructure:"ADDR"` PoolSize int `mapstructure:"POOL_SIZE"` ExecTimeOut time.Duration `mapstructure:"EXEC_TIMEOUT"` RelativePath string `mapstructure:"RELATIVE_PATH"` RootDir string `mapstructure:"ROOT_DIR"` DBUrl string `mapstructure:"DB_URL"` MQUrl string `mapstructure:"MQ_URL"` SelfUpdateURL string `mapstructure:"SELF_URL"` LogOutput string `mapstructure:"LOG_OUTPUT"` LogLevel string `mapstructure:"LOG_LEVEL"` DataCenterID int64 `mapstructure:"DATA_CENTER_ID"` NodeName string `mapstructure:"NODE_NAME"` NodeID int64 `mapstructure:"NODE_ID"` }
Click to show internal directories.
Click to hide internal directories.