notify

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 4 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 {
	Channel  string `json:"channel"`
	URL      string `json:"-"`
	IconURL  string `json:"icon_url"`
	UserName string `json:"username"`
	Title    string `json:"title"`
	Color    string `json:"color"`
}

Slack has configurations for notifying to Slack

func (Slack) Notify

func (s Slack) Notify(message string) error

Notify notifies BigQuery query results to Slack

Jump to

Keyboard shortcuts

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