# Functions
Branding accepts a message and returns a function that concatenates that message with version information.
New is a factory function that produces a new Config object based on user provided flag and config file values.
Usage is a custom override for the default Help text provided by the flag package.
Version emits application name, version and repo location.
# Constants
AuthTypeBasic indicates Basic Authentication (username/password).
AuthTypeOAuth2ClientCreds indicates OAuth2 Client Credentials flow.
Flag names.
Flag names.
LogLevelDebug maps to zerolog.DebugLevel logging level.
LogLevelDisabled maps to zerolog.Disabled logging level.
LogLevelError maps to zerolog.ErrorLevel logging level.
LogLevelFatal maps to zerolog.FatalLevel logging level.
LogLevelInfo maps to zerolog.InfoLevel logging level.
LogLevelPanic maps to zerolog.PanicLevel logging level.
LogLevelTrace maps to zerolog.TraceLevel logging level.
LogLevelWarn maps to zerolog.WarnLevel logging level.
# Variables
ErrAppTypeNotSpecified indicates that a tool in this project failed to specify a valid application type.
ErrConfigNotInitialized indicates that the configuration is not in a usable state and application execution can not successfully proceed.
ErrHelpRequested indicates that the user requested application help/usage information.
ErrInvalidAuthType indicates that an invalid or unsupported authentication type was specified.
ErrVersionRequested indicates that the user requested application version information.
# Structs
AppType represents the type of application that is being configured/initialized.
Config represents the application configuration as specified via command-line flags.
FetcherOAuth2TokenSettings is the collection of OAuth2 token "fetcher" settings.
MailAccount represents an email account.
OAuth2ClientCredentialsFlow is a collection of OAuth2 settings used to obtain a token via OAuth2 Client Credentials flow.