notify

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Msg

type Msg = map[string]any

Msg is a map of string to any.

type Notify

type Notify interface {
	// Send sends a notification.
	Send(ctx context.Context, msg Msg) error
	// Type returns the type of the notification service.
	Type() string
	// Hash returns the hash of the notification service.
	Hash() string
}

Notify is a notification service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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