Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GRPC GRPC `yaml:"grpc" env-required:"true"` PostgreSQL PostgreSQL `yaml:"postgresql" env-required:"true"` Migrations Migrations `yaml:"migrations" env-required:"true"` }
func MustLoadConfig ¶
type Migrations ¶
type Migrations struct {
Path string `yaml:"path" env-required:"true"`
}
type PostgreSQL ¶
type PostgreSQL struct { Host string `yaml:"host" env-required:"true"` Port uint16 `yaml:"port" env-required:"true"` User string `yaml:"user" env-required:"true"` Password string `yaml:"password" env-required:"true"` DBName string `yaml:"dbname" env-required:"true"` SSLMode string `yaml:"sslmode" env-required:"true"` }
Click to show internal directories.
Click to hide internal directories.