Files
isp-config-service/conf/local.go
T
txix 137eaaa07f
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2026-07-07 15:31:10: merge [main:3b99380a623e70022ec99376377acdde8134a7c9];
2026-07-07 15:31:10 +03:00

23 lines
538 B
Go

package conf
import (
"isp-config-service/service/rqlite"
"github.com/rqlite/rqlite/v10/auth"
"github.com/txix-open/isp-kit/bootstrap"
)
type Local struct {
ConfigServiceAddress bootstrap.ConfigServiceAddr
MaintenanceMode bool
Credentials []auth.Credential
KeepConfigVersions int `validate:"required"`
InternalClientCredential string `validate:"required"`
Rqlite Rqlite
Backup rqlite.Backup
}
type Rqlite struct {
NodeId string `validate:"required"`
}