Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvPath ¶
func GetEnvPath() string
Types ¶
type AppCredentials ¶
type AppCredentials struct { Debug bool `yaml:"debug"` SigningKey string `yaml:"signing_key"` Port uint16 `yaml:"port"` }
Create Fiber Server struct
type Env ¶
type Env struct { App AppCredentials `yaml:"app"` PostgresDb PostgresCredentials `yaml:"postgresql"` SmtpBroker SmtpCredentials `yaml:"smtp_broker"` }
Create Configuration struct
type PostgresCredentials ¶
type PostgresCredentials struct { Host string `yaml:"host"` Port uint16 `yaml:"port"` Username string `yaml:"username"` Password string `yaml:"password"` Database string `yaml:"database"` SslMode string `yaml:"sslmode"` TimeZone string `yaml:"timezone"` }
Create Database Credentials struct
Click to show internal directories.
Click to hide internal directories.