Documentation
¶
Overview ¶
Package config provides a configuration for the API
Index ¶
Constants ¶
View Source
const ( DatabaseDefaultTxTimeout = 15 * time.Second EnvironmentDevelopment = "development" EnvironmentKey = "API_ENVIRONMENT" EnvironmentProduction = "production" EnvironmentStaging = "staging" HealthRequestPath = "health" HTTPRequestReadTimeout = 15 * time.Second HTTPRequestWriteTimeout = 15 * time.Second ServiceModeAPI = "api" )
Config constants used for optimization and value testing
Variables ¶
View Source
var Values appConfig
Values global configuration (config.Values)
Functions ¶
func GetCurrentDir ¶ added in v0.0.3
func GetCurrentDir() string
GetCurrentDir gets the current directory for all operating systems
Types ¶
type SchedulerConfig ¶
SchedulerConfig is our cron task wrapper
Click to show internal directories.
Click to hide internal directories.