Versions in this module Expand all Collapse all v0 v0.0.1 Apr 13, 2022 Changes in this version + func DefaultConfigDirectory() string + func DefaultConfigFile() string + type ClientConfig struct + Host string + type Config struct + Client *ClientConfig + Db *DatabaseConfig + Http *Http + Storage *StorageConfig + func LoadConfigFromViper() (*Config, error) + func NewConfig() *Config + func (c *Config) Validate() error + type DatabaseConfig struct + Postgres *PostgresDatabaseConfig + Type string + type Http struct + Host string + Port int + SiteData string + type PostgresDatabaseConfig struct + Database string + Host string + Password string + Port uint16 + SslMode string + Username string + type S3StorageConfig struct + BucketName string + DisableSSL *bool + Endpoint *string + ForcePathStyle *bool + Region *string + type StorageConfig struct + S3 *S3StorageConfig + Type string