conf

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigChangeEvent = "config_change"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfServiceProvider

type ConfServiceProvider struct {
	// contains filtered or unexported fields
}

func (*ConfServiceProvider) Boot

func (i *ConfServiceProvider) Boot()

func (*ConfServiceProvider) Conf added in v1.3.0

func (i *ConfServiceProvider) Conf() map[string]string

func (*ConfServiceProvider) Description added in v1.3.0

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

func (*Configure) GetConfig

func (i *Configure) GetConfig(key string, v any) error

func (*Configure) SaveConfig

func (i *Configure) SaveConfig(fileName string, key string, value any)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL