Versions in this module Expand all Collapse all v0 v0.1.11 Oct 3, 2023 v0.1.10 Oct 2, 2023 Changes in this version + const DefaultFlagSetName + type App struct + func New(name string, version string, optionalOptions ...Option) *App + func (a *App) AdditionalConfigs() map[string]*configuration.Configuration + func (a *App) AdditionalFlagSets() map[string]*flag.FlagSet + func (a *App) Config() *configuration.Configuration + func (a *App) Daemon() daemon.Daemon + func (a *App) FlagSet() *flag.FlagSet + func (a *App) ForEachCoreComponent(f CoreComponentForEachFunc) + func (a *App) ForEachPlugin(f PluginForEachFunc) + func (a *App) Info() *Info + func (a *App) IsPluginSkipped(plugin *Plugin) bool + func (a *App) LogDebug(args ...interface{}) + func (a *App) LogDebugf(template string, args ...interface{}) + func (a *App) LogError(args ...interface{}) + func (a *App) LogErrorAndExit(args ...interface{}) + func (a *App) LogErrorf(template string, args ...interface{}) + func (a *App) LogErrorfAndExit(template string, args ...interface{}) + func (a *App) LogFatalAndExit(args ...interface{}) + func (a *App) LogFatalfAndExit(template string, args ...interface{}) + func (a *App) LogInfo(args ...interface{}) + func (a *App) LogInfof(template string, args ...interface{}) + func (a *App) LogPanic(args ...interface{}) + func (a *App) LogPanicf(template string, args ...interface{}) + func (a *App) LogWarn(args ...interface{}) + func (a *App) LogWarnf(template string, args ...interface{}) + func (a *App) NewLogger(name string) *logger.Logger + func (a *App) Parameters() *ParametersApp + func (a *App) Run() + func (a *App) Shutdown() + func (a *App) Start() + type Callback func() error + type Component struct + Configure Callback + DepsFunc interface{} + InitConfigPars InitConfigParsFunc + Name string + Params *ComponentParams + PreProvide PreProvideFunc + Provide ProvideFunc + Run Callback + func (c *Component) App() *App + func (c *Component) Daemon() daemon.Daemon + func (c *Component) Identifier() string + func (c *Component) LogDebug(args ...interface{}) + func (c *Component) LogDebugf(template string, args ...interface{}) + func (c *Component) LogError(args ...interface{}) + func (c *Component) LogErrorAndExit(args ...interface{}) + func (c *Component) LogErrorf(template string, args ...interface{}) + func (c *Component) LogErrorfAndExit(template string, args ...interface{}) + func (c *Component) LogFatalAndExit(args ...interface{}) + func (c *Component) LogFatalfAndExit(template string, args ...interface{}) + func (c *Component) LogInfo(args ...interface{}) + func (c *Component) LogInfof(template string, args ...interface{}) + func (c *Component) LogPanic(args ...interface{}) + func (c *Component) LogPanicf(template string, args ...interface{}) + func (c *Component) LogWarn(args ...interface{}) + func (c *Component) LogWarnf(template string, args ...interface{}) + func (c *Component) Logger() *logger.Logger + type ComponentParams struct + AdditionalParams map[string]map[string]any + Masked []string + Params map[string]any + type ConfigurationSet struct + func NewConfigurationSet(configName string, filePathFlagName string, filePathFlagProvideName string, ...) *ConfigurationSet + type ConfigurationSets []*ConfigurationSet + func (c ConfigurationSets) ConfigsMap() map[string]*configuration.Configuration + func (c ConfigurationSets) FlagSets() []*flag.FlagSet + func (c ConfigurationSets) FlagSetsMap() map[string]*flag.FlagSet + type CoreComponent struct + type CoreComponentForEachFunc func(coreComponent *CoreComponent) bool + type Info struct + LatestGitHubVersion string + Name string + Version string + type InitComponent struct + AdditionalConfigs []*ConfigurationSet + Init InitFunc + NonHiddenFlags []string + type InitConfig struct + func (ic *InitConfig) ForceDisableComponent(identifier string) + type InitConfigParsFunc func(c *dig.Container) error + type InitFunc func(application *App) error + type IsEnabledFunc func() bool + type Option func(opts *Options) + func WithCoreComponents(coreComponents ...*CoreComponent) Option + func WithDaemon(d daemon.Daemon) Option + func WithInitComponent(initComponent *InitComponent) Option + func WithPlugins(plugins ...*Plugin) Option + func WithUsageText(usageText string) Option + func WithVersionCheck(owner string, repository string) Option + type Options struct + type ParametersApp struct + CheckForUpdates bool + type Plugin struct + IsEnabled IsEnabledFunc + type PluginForEachFunc func(plugin *Plugin) bool + type PreProvideFunc func(c *dig.Container, application *App, initConf *InitConfig) error + type ProvideFunc func(c *dig.Container) error