notifications

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CollectionName = "notifications"

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, app core.App, input CreateInput) (*core.Record, bool, error)

func Register

func Register(app core.App)

func RunDue

func RunDue(ctx context.Context, app core.App, now time.Time) error

func Update

func Update(ctx context.Context, app core.App, dedupeKey string, input CreateInput) (*core.Record, error)

Types

type CreateInput

type CreateInput struct {
	RecipientID string
	Type        string
	Title       string
	Body        string
	Data        map[string]any
	DedupeKey   string
}

Jump to

Keyboard shortcuts

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