Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Exiting = false
Exiting is a flag indicating that the server is exiting
View Source
var WaitGroup sync.WaitGroup
WaitGroup is the wait group to synchronize slack rtm shutdowns
Functions ¶
func ListenForMessages ¶ added in v1.1.0
ListenForMessages opens an RTM connection to slack and listens for any messages in the configured channel which matches any of the regexps and sends the message to the mapped channel
func MentionsRegexp ¶ added in v1.1.0
MentionsRegexp returns a regexp matching messages which mention the configured user
func PostLogMessage ¶
PostLogMessage posts a formatted log message to slack
Types ¶
Click to show internal directories.
Click to hide internal directories.