slack

package
v0.0.0-...-041f5a1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slack

type Slack struct {
	Token           string
	Channel         string `toml:"channel"`
	ResponseTimeout helpers.Duration
}

func (*Slack) Description

func (s *Slack) Description() string

func (*Slack) Init

func (s *Slack) Init() error

func (*Slack) Notify

func (s *Slack) Notify(check, time, output, status string) error

func (*Slack) SampleConfig

func (s *Slack) SampleConfig() string

func (*Slack) SubConfig

func (s *Slack) SubConfig() string

Jump to

Keyboard shortcuts

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