event

package
v1.6.10 Latest Latest
Warning

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

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

Documentation

Overview

Package event is the catalog layer over the `events` collection.

An Event entry binds (tenant, name) to a default template + routing preferences + a rate limit. The Send pipeline reads the catalog when SendRequest.Event is set, applies the policy, then proceeds.

No external state — this package is a thin wrapper over base record operations to keep the routes layer readable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

func Resolve(app core.App, tenant, name string) (*core.Record, error)

Resolve loads the enabled event row for (tenant, name) and returns nil (not an error) when no match exists. Empty name short-circuits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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