Versions in this module Expand all Collapse all v1 v1.21.0 Jan 12, 2024 Changes in this version + var ErrEnvNotExists error = errors.New(".env file is not exists") + type AppConfig struct + AdminUser struct{ ... } + Env string + Host string + Port int + type Config struct + App AppConfig + Logger LoggerConfig + MySQL MySQLConfig + SMTP SMTPConfig + Session SessionConfig + TLS TLSConfig + func New() (*Config, error) + type LoggerConfig struct + Compress bool + LogFilePath string + LogLevel string + MaxAge int + MaxBackups int + MaxSize int + type MySQLConfig struct + DSN string + Driver string + type SMTPConfig struct + Host string + Password string + Port int + Sender string + Username string + type SessionConfig struct + Secret string + type TLSConfig struct + CertPath string + KeyPath string v1.1.0 Jan 12, 2024