Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEV = "dev" STAGING = "staging" PROD = "prod" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { General GeneralConfig SentryConfig SentryConfig }
Config is a service that is designed to provide various configuration to the rest of the application.
type GeneralConfig ¶
type GeneralConfig struct {
AppEnv string // the environment that the application is running in (dev, prod, etc)
}
GeneralConfig contains general information that the service needs to run.
type SentryConfig ¶
type SentryConfig struct {
DSN string
}
SentryConfig contains information that allows us to interact with the Sentry API
Click to show internal directories.
Click to hide internal directories.