package
Version:
v0.0.0-...-0b33e26
Opens a new window with list of versions in this module.
Published: Jan 25, 2016
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
¶
ConfigPath is a file path of config.toml
type Payload struct {
Channel string `json:"channel"`
UserName string `json:"username" toml:"username"`
Text string `json:"text"`
IconEmoji string `json:"icon_emoji"`
LinkNames int `json:"link_names"`
}
Payload includes `payload` slack parameters
Slack has webhook parameters
NewSlack returns a initialized Slack struct by config.toml
Post submits post request to slack
Source Files
¶
Click to show internal directories.
Click to hide internal directories.