config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Config *domain.Config
	// contains filtered or unexported fields
}

func New

func New(configPath string, version string) *AppConfig

func (*AppConfig) DynamicReload

func (c *AppConfig) DynamicReload(log logger.Logger)

func (*AppConfig) UpdateConfig

func (c *AppConfig) UpdateConfig() error

type Config

type Config interface {
	UpdateConfig() error
	DynamicReload(log logger.Logger)
}

Jump to

Keyboard shortcuts

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