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

Method ProcessDenied

net/runmode/code_processor.go:47–47  ·  view source on GitHub ↗

ProcessDenied gets called in the middleware WithRunMode whenever a store ID isn't allowed to proceed. The variable newStoreID reflects the denied store ID. The ResponseWriter and Request variables can be used for additional information writing and extracting. The error Handler will always be called

(runMode scope.TypeID, oldStoreID, newStoreID int64, w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

WithRunModeFunction · 0.65

Implementers 2

ProcessStoreCodeCookienet/runmode/code.go
nullCodeProcessornet/runmode/code.go

Calls

no outgoing calls

Tested by

no test coverage detected