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