Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Name string `env-required:"true" yaml:"name" env:"APP_NAME"`
Version string `env-required:"true" yaml:"version" env:"APP_VERSION"`
}
App -.
type Config ¶
type Config struct {
App `yaml:"app"`
HTTP `yaml:"http"`
Log `yaml:"logger"`
PG `yaml:"postgres"`
RMQ `yaml:"rabbitmq"`
Minio `yaml:"minio"`
}
Config -.
type HTTP ¶
type HTTP struct {
Port string `env-required:"true" yaml:"port" env:"HTTP_PORT"`
}
HTTP -.
type Log ¶
type Log struct {
Level string `env-required:"true" yaml:"log_level" env:"LOG_LEVEL"`
}
Log -.
type Minio ¶
type Minio struct {
Endpoint string `env-required:"true" yaml:"endpoint" env:"MINIO_ENDPOINT"`
AccessKeyID string `env-required:"true" yaml:"accessKeyID" env:"MINIO_ID"`
SecretAccessKey string `env-required:"true" yaml:"secretAccessKey" env:"MINIO_SECRET"`
UseSSL bool `env-required:"true" yaml:"useSSL" env:"MINIO_SSL"`
}
Click to show internal directories.
Click to hide internal directories.