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