Documentation ¶
Overview ¶
Package env implements environment-related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Addr holds the value of the ADDR environment variable. Addr string // APIKey holds the value of the API_KEY environment variable. APIKey string // PurgeryID holds the value of the PURGERY_ID environment value. PurgeryID string // Redis holds a reference to the Redis connection pool. Redis *redis.Pool // VarnishAddr holds the value of the VARNISH_ADDR environment value. VarnishAddr string }
Config wraps
Click to show internal directories.
Click to hide internal directories.