Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
HTTPAddress string
LogLevel string
LogFormat LogFormat
Ntfy ntfy
Handlers map[string]handler
}
func ReadConfig ¶
type HandlerType ¶
type HandlerType int
const ( HandlerFlux HandlerType = iota + 1 HandlerDiscordEmbed HandlerAlertmanager )
func (HandlerType) String ¶
func (h HandlerType) String() string
Click to show internal directories.
Click to hide internal directories.