modules

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	User    *database.User
	Payload *database.Payload
	Event   *database.Event
}

type Notifier

type Notifier interface {
	Name() string

	// Notify is called every time payload event happens.
	Notify(context.Context, *Notification) error
}

Notifier must be implemented by all modules, which are going to notify users about payload events.

Directories

Path Synopsis
api
apimodels
Package apimodels holds the request payload types for the api HTTP API.
Package apimodels holds the request payload types for the api HTTP API.

Jump to

Keyboard shortcuts

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