Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. Logger micrologger.Logger SlackClient slackspec.Client // Settings. Flag *flag.Flag Viper *viper.Viper Type spec.NotifierType }
Config represents the configuration used to create a Notifier.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig provides a default configuration to create a new Notifier service by best effort.
Click to show internal directories.
Click to hide internal directories.