registry

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFunc

func RegisterFunc[T pkg.Input](config *pkg.HookConfig, f pkg.HookFunc[T]) bool

Types

type HookRegistry

type HookRegistry struct {
	// contains filtered or unexported fields
}

func Registry

func Registry() *HookRegistry

Registry returns singleton instance, it is used it only in controller

func (*HookRegistry) ApplicationHooks added in v0.7.0

func (h *HookRegistry) ApplicationHooks() []pkg.Hook[*pkg.ApplicationHookInput]

func (*HookRegistry) ModuleHooks added in v0.7.0

func (h *HookRegistry) ModuleHooks() []pkg.Hook[*pkg.HookInput]

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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