Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotifier ¶
NewNotifier function returns new instance of Slack. The destination channel is fixed when initialize.
Types ¶
type API ¶
type API interface {
PostMessage(string, string, libSlack.PostMessageParameters) (string, string, error)
}
API interface defines slack's API behavior. API interface defined to wrap the library: github.com/nlopes/slack
Click to show internal directories.
Click to hide internal directories.