Documentation ¶
Index ¶
- func LoadApp()
- func LoadConfig() error
- func LoadDB()
- func LoadEmailService()
- func LoadMinio()
- func LoadPathMapping()
- func LoadPaymentGateway()
- func LoadRabbitMQ()
- func PathMappingCfg() map[string]string
- type AMQP
- type Application
- type Database
- type EmailServiceCfg
- type LogLevel
- type MinioCfg
- type PathMapping
- type PaymentGatewayCfg
- type RabbitMQCfg
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEmailService ¶
func LoadEmailService()
func LoadPathMapping ¶
func LoadPathMapping()
func LoadPaymentGateway ¶
func LoadPaymentGateway()
func LoadRabbitMQ ¶
func LoadRabbitMQ()
func PathMappingCfg ¶
Types ¶
type Application ¶
type Application struct { Base string Port int LogLevel LogLevel BackendUrl string FrontStoreUrl string DashboardUrl string JWTKey string }
Application holds the application configuration
type Database ¶
type Database struct { Host string Port int Username string Password string Name string MaxOpenConnections int MaxIdleConnections int MaxConnectionLifetime time.Duration }
Database holds the database configuration
type EmailServiceCfg ¶
type EmailServiceCfg struct { SMTPHost string SMTPPort int SMTPUsername string SMTPPassword string FromEmailAddress string }
func EmailService ¶
func EmailService() EmailServiceCfg
type MinioCfg ¶
type PathMapping ¶
type PaymentGatewayCfg ¶
func PaymentGateway ¶
func PaymentGateway() PaymentGatewayCfg
type RabbitMQCfg ¶
type RabbitMQCfg struct { Broker string DefaultQueue string ResultBackend string AMQP AMQP Worker Worker }
func RabbitMQ ¶
func RabbitMQ() RabbitMQCfg
Click to show internal directories.
Click to hide internal directories.