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

Method ProcessAllowed

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

ProcessAllowed enables to adjust the ResponseWriter based on the new store ID. The variable newStoreID contains the new ID, which can also be 0. The code is guaranteed to be not empty, a valid store code, and always points to an existing active store. The ResponseWriter and Request variables can be

(runMode scope.TypeID, oldStoreID, newStoreID int64, newStoreCode string, 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