Files
old-backend/config/models.go

26 lines
477 B
Go
Raw Normal View History

2023-09-05 11:37:03 +02:00
package config
// Config stores application configuration
type Config struct {
2023-09-18 12:27:40 +02:00
Service Service
AdminService Service
Database Database
2023-09-05 11:37:03 +02:00
}
// Service contains configuration for service
type Service struct {
2023-09-18 12:27:40 +02:00
Port string
Environment string
WebPageURL string
BlockchainSecret string
2023-09-05 11:37:03 +02:00
}
// Database configuration
type Database struct {
2023-09-18 12:27:40 +02:00
UserName string
Password string
DatabaseName string
HostName string
Port string
2023-09-05 11:37:03 +02:00
}