fileconfig

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileConfigHandler

func NewFileConfigHandler(filePath string, defaults interface{}, errorCatcher errors.ErrorCatcher, errorDefer errors.ErrorDefer, subscriptions eventsmanager.Subscriptions, publisher eventsmanager.Publisher, filechangeNotifier disk.FileChangedNotifier) configuration.ConfigHandler

NewFileConfigHandler returns a ConfigHandler

Types

type FileConfigHandlerError

type FileConfigHandlerError interface {
	errors.CustomError
	GetErrorType() FileConfigHandlerErrorType
}

FileConfigHandlerError is the struct of an error occurs in FileConfigHandler object

type FileConfigHandlerErrorType

type FileConfigHandlerErrorType uint8

FileConfigHandlerErrorType is the type of the errors of FileConfigHandler

const (
	UnexpectedError FileConfigHandlerErrorType = iota
	OldConfigNilError
)

Directories

Path Synopsis
ioc

Jump to

Keyboard shortcuts

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