block-accounting/backend/internal/pkg/config/config.go
2024-05-18 11:22:53 +03:00

35 lines
451 B
Go

package config
type Config struct {
Common CommonConfig
Rest RestConfig
DB DBConfig
Eth EthConfig
}
type CommonConfig struct {
LogLevel string
LogLocal bool
LogFile string
LogAddSource bool
JWTSecret []byte
}
type RestConfig struct {
Address string
TLS bool
}
type DBConfig struct {
Host string
EnableSSL bool
Database string
User string
Secret string
}
type EthConfig struct {
// todo
}