package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 18, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Post a message to a Slack incoming webhook.
PostCustom posts a message to Slack while allowing to overwrite the webhook defaults and http.Post.
type Data struct {
Text string `json:"text"`
Username string `json:"username,omitempty"`
Channel string `json:"channel,omitempty"`
IconEmoji string `json:"icon_emoji,omitempty"`
}
Data is sent to Slack as JSON.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.