slacknotifier

package
v1.0.0-dev-2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByTitle

type ByTitle []Field

ByTitle implements sort.Interface for []Field based on the Title field.

func (ByTitle) Len

func (a ByTitle) Len() int

func (ByTitle) Less

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

func (ByTitle) Swap

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

type Field

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

Field is the representation of a field in a slack message.

type Notifier

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

Notifier is the component in charge of sending flag changes to Slack.

func (*Notifier) Notify

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

Notify is the notifying all the changes to the notifier.

Jump to

Keyboard shortcuts

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