Documentation ¶
Index ¶
- func Inform(notifier Notifier, name string, result *parser.ParseResult, errResult error, ...) error
- func NewConsole(name string, cfg *config.ConsoleConfig) *console
- func NewFile(name string, cfg *config.FileStorageField) *fileNotifier
- func NewHttpNotifier(name string, cfg *config.HttpConfig) *httpNotifier
- func NewRedis(name string, cfg *config.RedisNotifierConfig) *redisNotifier
- func NewTelegramBot(name string, cfg *config.TelegramBotConfig) (*telegramBot, error)
- func ShouldInform(cfg *config.NotifierConfig, result builder.Interfacable) (bool, error)
- type Notifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsole ¶ added in v0.0.13
func NewConsole(name string, cfg *config.ConsoleConfig) *console
func NewFile ¶ added in v1.0.1
func NewFile(name string, cfg *config.FileStorageField) *fileNotifier
func NewHttpNotifier ¶ added in v0.0.39
func NewHttpNotifier(name string, cfg *config.HttpConfig) *httpNotifier
func NewRedis ¶ added in v0.0.39
func NewRedis(name string, cfg *config.RedisNotifierConfig) *redisNotifier
func NewTelegramBot ¶ added in v0.0.13
func NewTelegramBot(name string, cfg *config.TelegramBotConfig) (*telegramBot, error)
func ShouldInform ¶ added in v0.0.39
func ShouldInform(cfg *config.NotifierConfig, result builder.Interfacable) (bool, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.