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

Method FromRequest

store/code.go:40–40  ·  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

nothing calls this directly

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected