config¶
github.com/gamidoc/backend/config
Types¶
Config¶
type Config struct {
Functions¶
Config.MailerProviderNormalized¶
func (c Config) MailerProviderNormalized() string {
Config.ObjectStorageProviderNormalized¶
func (c Config) ObjectStorageProviderNormalized() string {
Config.PostgresDSN¶
func (c Config) PostgresDSN() string {
Config.PostgresURL¶
func (c Config) PostgresURL() string {
Config.RedisAddr¶
func (c Config) RedisAddr() string {
Config.SafeSummary¶
func (c Config) SafeSummary() map[string]any {
Config.Validate¶
func (c Config) Validate() error {
Config.ValidateCore¶
func (c Config) ValidateCore() error {
Config.ValidateMailer¶
func (c Config) ValidateMailer() error {
Config.ValidateObjectStorage¶
func (c Config) ValidateObjectStorage() error {
Load¶
func Load() Config {