Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GracePeriod time.Duration `mapstructure:"grace-period"` Addr string Token string `mapstructure:"token"` ExcludedFields []string `mapstructure:"excluded-fields"` }
Config holds all config values
type Logger ¶
type Logger interface { Debug(string) Debugf(string, ...interface{}) Info(string) Infof(string, ...interface{}) Warn(string) Warnf(string, ...interface{}) Error(string) Errorf(string, ...interface{}) }
Logger defines simple methods for info and debugging messages that could be of interest for the outside
func NewNullLogger ¶
func NewNullLogger() Logger
NewNullLogger returns a new instance of a logger that does nothing
Click to show internal directories.
Click to hide internal directories.