MCPcopy Create free account
hub / github.com/corestoreio/pkg / RegisterObserver

Method RegisterObserver

config/service.go:281–291  ·  view source on GitHub ↗

RegisterObserver appends a blocking observer for a route or route prefix. Multiple observers can be added to a route. Event argument is one of the constants starting with `EventOn...`.

(event uint8, route string, eo Observer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

LockMethod · 0.80
PutEventMethod · 0.80

Tested by

no test coverage detected