Documentation ¶ Index ¶ func NewNotifier(notifierConfig map[string]string) types.Notifier type Notifier func (wh *Notifier) Name() string func (wh *Notifier) Payload(e types.InteractionEvent) ([]byte, error) func (wh *Notifier) Send(event types.InteractionEvent) error type POSTData Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewNotifier ¶ func NewNotifier(notifierConfig map[string]string) types.Notifier Types ¶ type Notifier ¶ type Notifier struct { *webhook.Notifier Channel string User string Icon string } func (*Notifier) Name ¶ func (wh *Notifier) Name() string func (*Notifier) Payload ¶ func (wh *Notifier) Payload(e types.InteractionEvent) ([]byte, error) func (*Notifier) Send ¶ func (wh *Notifier) Send(event types.InteractionEvent) error type POSTData ¶ type POSTData struct { Channel string `json:"channel"` Username string `json:"username"` IconEmoji string `json:"icon_emoji"` Text string `json:"text"` } Source Files ¶ View all Source files logging.gonotifier.go Click to show internal directories. Click to hide internal directories.