Azugo framework core.
- Structured logger go.uber.org/zap
- Extendable configuration viper and command line cobra support
- Caching using memory or Redis
- Logger based on zap with output compatible with ECS
ENVIRONMENT
- An App environment setting (allowed values areDevelopment
,Staging
andProduction
).LOG_LEVEL
- Minimal log level (defaults toinfo
, allowed values aredebug
,info
,warn
,error
,fatal
,panic
).
CACHE_TYPE
- Cache type to use in service (defaults tomemory
, allowed values arememory
,redis
,redis-cluster
).CACHE_TTL
- Duration on how long to keep items in cache. Defaults to 0 meaning to never expire.CACHE_KEY_PREFIX
- Prefix all cache keys with specified value.CACHE_CONNECTION
- If other than memory cache is used specifies connection string on how to connect to cache storage.CACHE_PASSWORD
- Password to use in connection string.CACHE_PASSWORD_FILE
- File to read value forCACHE_PASSWORD
from.