MCPcopy
hub / github.com/pocketbase/pocketbase / Tagger

Interface Tagger

tools/hook/tagged.go:9–13  ·  view source on GitHub ↗

Tagger defines an interface for event data structs that support tags/groups/categories/etc. Usually used together with TaggedHook.

Source from the content-addressed store, hash-verified

7// Tagger defines an interface for event data structs that support tags/groups/categories/etc.
8// Usually used together with TaggedHook.
9type Tagger interface {
10 Resolver
11
12 Tags() []string
13}
14
15// wrapped local Hook embedded struct to limit the public API surface.
16type mainHook[T Tagger] struct {

Callers 2

BindMethod · 0.65
BindFuncMethod · 0.65

Implementers 4

mockTagsEventtools/hook/tagged_test.go
baseModelEventDatacore/events.go
baseRecordEventDatacore/events.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…