ruspet_portal_back/core/config/config-load-options.go

18 lines
469 B
Go

package configcore
// ExposedServiceOptions определяет, какие сервисы нужно загружать
type ExposedServiceOptions struct {
TelegramService bool
RESTBaseService bool
}
// ConfigLoadOptions определяет, какие группы конфигурации нужно загружать
type ConfigLoadOptions struct {
Redis bool
Database bool
Bitrix bool
Secrets bool
Telegram bool
Server ExposedServiceOptions
}