Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide( New, )
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct { Env string `envconfig:"ENV" default:"production" required:"true"` HTTPPort string `envconfig:"PORT" default:"8000" required:"true"` LogLevel string `envconfig:"LOG_LEVEL" default:"INFO" required:"true"` LogEncType string `envconfig:"LOG_ENC_TYPE" default:"pretty" required:"true"` PostgresDSN string `envconfig:"DATABASE_URL" required:"true"` SentryDSN string `envconfig:"SENTRY_DSN"` SentryENV string `envconfig:"SENTRY_ENVIRONMENT"` }
Click to show internal directories.
Click to hide internal directories.