Versions in this module Expand all Collapse all v0 v0.0.9 Oct 4, 2026 Changes in this version + type Hook struct + Description string + Name string + Scripts []*Script + type Registry struct + func NewRegistry() *Registry + func (r *Registry) AddScript(hookName string, script *Script) error + func (r *Registry) Clear() + func (r *Registry) Count() int + func (r *Registry) GetAllHooks() []*Hook + func (r *Registry) GetHook(name string) (*Hook, error) + func (r *Registry) GetScripts(hookName string) []*Script + func (r *Registry) ListHooks() []string + func (r *Registry) RegisterHook(name, description string) error + func (r *Registry) RemoveScript(hookName, scriptName string) error + func (r *Registry) ScriptCount() int + type Script struct + Author string + Critical bool + Description string + Enabled bool + Hook string + ID uint32 + Name string + Priority int + Source string + Version int