Files
isp-config-service/conf/local.go
T
txix 7ee7b6749f
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2025-12-01 16:45:09: merge [main:8101f9a8c84d0c8c7bd462ac374f4db79dbc5d21];
2025-12-01 16:45:09 +03:00

23 lines
537 B
Go

package conf
import (
"isp-config-service/service/rqlite"
"github.com/rqlite/rqlite/v9/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"`
}