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

Function DeregisterWithJSON

config/observer/json.go:195–217  ·  view source on GitHub ↗

DeregisterWithJSON reads all JSON byte data from r into memory, parses it, removes the appropriate observers which matches the route and the event. The data in io.Reader must have the structure of type `Configurations`.

(or config.ObserverRegisterer, r io.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestDeregisterObserversFunction · 0.85

Calls 5

UnmarshalJSONMethod · 0.95
NewConfigurationsFunction · 0.85
MakeEventRouteMethod · 0.80
NewMethod · 0.65
DeregisterObserverMethod · 0.65

Tested by 1

TestDeregisterObserversFunction · 0.68