MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / RegisterHook

Method RegisterHook

internal/hooks/types.go:66–66  ·  view source on GitHub ↗
(ctx context.Context, hook *Hook)

Source from the content-addressed store, hash-verified

64// HookManager defines the interface for managing hooks.
65type HookManager interface {
66 RegisterHook(ctx context.Context, hook *Hook) error
67 UpdateHook(ctx context.Context, hookID string, hook *Hook) error
68 DeleteHook(ctx context.Context, hookID string) error
69 GetHook(ctx context.Context, hookID string) (*Hook, error)

Callers 1

RegisterHookMethod · 0.65

Implementers 1

redisHookManagerinternal/hooks/manager.go

Calls

no outgoing calls

Tested by

no test coverage detected