Documentation ¶
Overview ¶
Package config load and process application configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTPPort string `envconfig:"PORT" default:"8080"` AppVersion string `envconfig:"GAE_VERSION"` BuildID string `envconfig:"BUILD_ID"` CommitSHAFull string `envconfig:"COMMIT_SHA"` CommitSHAShort string `envconfig:"SHORT_SHA"` GoogleCloudProject string `envconfig:"GOOGLE_CLOUD_PROJECT"` RunningOnAppEngine bool GitHubRepositoryURL string `envconfig:"GITHUB_REPOSITORY" default:"https://github.com/shahariaazam/openapi-ninja"` APIRequestLimitPerMinute int `envconfig:"API_REQUEST_LIMIT_PER_MINUTE" default:"10"` }
Config store configuration for application
Click to show internal directories.
Click to hide internal directories.