slacknotifier

package
v1.39.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByTitle added in v1.0.0

type ByTitle []Field

func (ByTitle) Len added in v1.0.0

func (a ByTitle) Len() int

func (ByTitle) Less added in v1.0.0

func (a ByTitle) Less(i, j int) bool

func (ByTitle) Swap added in v1.0.0

func (a ByTitle) Swap(i, j int)

type Field

type Field struct {
	Title string `json:"title"`
	Value string `json:"value"`
	Short bool   `json:"short"`
}

type Notifier

type Notifier struct {
	SlackWebhookURL string
	// contains filtered or unexported fields
}

func (*Notifier) Notify

func (c *Notifier) Notify(diff notifier.DiffCache) error

Jump to

Keyboard shortcuts

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