hook

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuditLogModels = make(map[string]bool)

AuditLogModels Registry for audit-log-enabled models

Functions

func RegisterModel

func RegisterModel(key string)

RegisterModel Register the model for audit logging

func WatchAndInjectHooks added in v0.1.5

func WatchAndInjectHooks(ctx context.Context, rootDir string) error

WatchAndInjectHooks finds structs with hookie.Inject and calls their hooks

func WatchAndRegister added in v0.1.29

func WatchAndRegister(ctx context.Context, dir string) error

WatchAndRegister finds structs with hookie.Inject and calls their hooks

Types

This section is empty.

Jump to

Keyboard shortcuts

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