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 )
Click to show internal directories.
Click to hide internal directories.