Versions in this module Expand all Collapse all v0 v0.2.2 May 29, 2022 Changes in this version + const EnvDev + const EnvLT + const EnvLocal + const EnvProd + const EnvQA + const EnvStaging + const EnvTest + const LvlDbg + const LvlErr + const LvlInfo + const LvlWarn + const StorageDynamoDB + const StorageLocal + func SwitchEnvironment(env Environment) + type AWS struct + AWSCfg aws.Config + AccessKeyID string + Endpoint string + Region string + Secret string + type App struct + Environment Environment + LogLevel LogLevel + Name string + Storage Storage + Timeout time.Duration + type Config struct + func New() (Config, error) + type DynamoDB struct + ItemTable string + type Environment string + type HTTP struct + Hostname string + IdleTimeout time.Duration + Port uint16 + ReadTimeout time.Duration + TLS struct{ ... } + WriteTimeout time.Duration + type LogLevel string + type Metrics struct + Addr string + BufLen int + Enabled bool + type Storage string