Documentation
¶
Index ¶
Constants ¶
View Source
const (
ConfigChangeEvent = "config_change"
)
Variables ¶
This section is empty.
Functions ¶
func ValidateConfigKeys ¶
func ValidateConfigKeys(providerName, fileName, embeddedContent, confDir string)
ValidateConfigKeys compares keys in the embedded default YAML with the on-disk config file. For any key present in embedded but missing on disk, a yellow warning is printed. Missing keys are reported at the shallowest level only (e.g. report "server.tls" not all its children).
Types ¶
type ConfServiceProvider ¶
type ConfServiceProvider struct {
// contains filtered or unexported fields
}
func (*ConfServiceProvider) Boot ¶
func (i *ConfServiceProvider) Boot()
func (*ConfServiceProvider) Conf ¶
func (i *ConfServiceProvider) Conf() map[string]string
func (*ConfServiceProvider) Description ¶
func (i *ConfServiceProvider) Description() string
func (*ConfServiceProvider) Register ¶
func (i *ConfServiceProvider) Register()
type Configure ¶
type Configure struct {
// contains filtered or unexported fields
}
func NewConfigure ¶
func NewConfigure(app foundation.Application, bus EventBus.Bus) *Configure
Source Files
¶
- conf_service_provider.go
- event.go
- load.go
- validate.go
Click to show internal directories.
Click to hide internal directories.