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

Method FromRequest

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

FromRequest returns the valid non-empty store code. Returns an empty store code on all other cases.

(runMode scope.TypeID, req *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