Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedGinMode = errors.New("unexpected gin mode")
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { ServiceName string `env:"SERVICE_NAME, default=tsyst"` ServiceHTTPPort int `env:"SERVICE_HTTP_PORT, default=7784"` LogLevel string `env:"LOG_LEVEL, default=debug"` LogFormat string `env:"LOG_FORMAT, default=console"` GinMode string `env:"GIN_MODE, default=release"` MongoHost string `env:"MONGO_HOST, required"` }
Click to show internal directories.
Click to hide internal directories.