incentives

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(reg *hooks.Registry, opts Options) error

Register registers incentive plugins for each provided factory.

Types

type Factory

type Factory func(broker *hooks.PluginBroker) error

Factory installs incentive hooks into the broker.

type Options

type Options struct {
	Factories map[string]Factory
}

Options configure incentive plugin registration.

Jump to

Keyboard shortcuts

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