Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHandler ¶
type MessageHandler struct {
// contains filtered or unexported fields
}
MessageHandler handles methods for slack messages
func Setup ¶
func Setup(userName, readTokenPath, writeTokenPath string, channels []config.Channel, dryrun bool) (*MessageHandler, error)
Setup creates the necessary setup to make calls to work with slack
func (*MessageHandler) SendAlert ¶
func (smh *MessageHandler) SendAlert(testName, summary string) error
SendAlert will send alert for performance regression to the slack channel(s)
Click to show internal directories.
Click to hide internal directories.