notify

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: Apache-2.0 Imports: 7 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 {
	URL             string `json:"-"`
	Title           string `json:"title"`
	Color           string `json:"color"`
	UploadChannelID string `json:"-" yaml:"upload_channel_id"`
}

Slack has configurations for notifying to Slack Fields that have `json:"-"` are not included in the payload to Slack

func (Slack) Notify

func (s Slack) Notify(message string) error

Notify notifies BigQuery query results to Slack

func (Slack) Upload added in v0.8.0

func (s Slack) Upload(csvBuffer *bytes.Buffer) error

Jump to

Keyboard shortcuts

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