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

Method ProcessAllowed

net/runmode/code.go:163–176  ·  view source on GitHub ↗

ProcessAllowed deletes the store code cookie if found and stores are equal or sets a store code cookie if the stores differ. Implements interface store.CodeProcessor.

(_ 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

Calls 3

fromCookieMethod · 0.95
deleteStoreCookieMethod · 0.95
setStoreCookieMethod · 0.95

Tested by 1