Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name string = "slack" Description string = "Send a message to Slack" Permissions string = "" Example string = `` /* 273-byte string literal not displayed */ )
View Source
const ( Red string = "#e20b0b" Green string = "#23ba47" Grey string = "#a4a8b1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Notifier ¶
type Notifier struct{}
func (Notifier) Information ¶
func (n Notifier) Information() models.Information
func (Notifier) Parameters ¶
func (n Notifier) Parameters() models.Parameters
type Parameters ¶
type Parameters struct { WebhookURL string `field:"webhook_url" validate:"required"` Icon string `field:"icon" default:"https://upload.wikimedia.org/wikipedia/commons/2/26/Circaetus_gallicus_claw.jpg"` Username string `field:"username" default:"Falco Talon"` Format string `field:"format" default:"long"` }
Click to show internal directories.
Click to hide internal directories.