slack

package
v0.0.0-...-87875e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL