Documentation
¶
Overview ¶
Package env contains all about environment variables, that can be used by current application.
Index ¶
Constants ¶
View Source
const ( // ListenAddr is IP address for listening. ListenAddr envVariable = "LISTEN_ADDR" // ListenPort is port number for listening. ListenPort envVariable = "LISTEN_PORT" // ResourcesDir is a directory with resources. ResourcesDir envVariable = "RESOURCES_DIR" // ConfigPath is a path to the configuration file. ConfigPath envVariable = "CONFIG_PATH" // CachingEngine is a caching engine name (like "redis", "memory" or something else). CachingEngine envVariable = "CACHING_ENGINE" // CacheTTL is a cache items life time. CacheTTL envVariable = "CACHE_TTL" // RedisDSN is URL-like redis connection string <https://redis.uptrace.dev/#connecting-to-redis-server>. RedisDSN envVariable = "REDIS_DSN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.