modifiers

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package modifiers provides the event modifier plugin system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(e Event) Event

Apply applies all relevant modifiers.

func Register

func Register(name string, f EventModifier)

Register registers an event modifier.

Types

type EventModifier

type EventModifier func(Event) Event

An EventModifier returns a new modified event or returns the original event unmodified.

Jump to

Keyboard shortcuts

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