Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MrthnConfig ¶
type MrthnConfig struct { Server serverConfig DBConnectionString string Fitbit platformConfig Google platformConfig Strava platformConfig Callback string // This will be the callback for all services. If we need multiple, this may need to change ClientTimeout time.Duration // The timeout for the client that is used to make requests for mrthn MrthnWebsiteURL string // We will only accept client SignUp requests if it comes from the mrthn website }
MrthnConfig is the overall structure that will contain our environment configs for the mrthn service
func ReadEnvFile ¶
func ReadEnvFile(env string) (*MrthnConfig, error)
ReadEnvFile takes the environment variables, and puts them all into an EnvironmentConfig struct
Click to show internal directories.
Click to hide internal directories.