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

Function FromContext

store/scope/context.go:42–45  ·  view source on GitHub ↗

FromContext returns the requested current store scope and its parent website scope from a context. This scope is only valid for the current context in a request. A scope gets set via HTTP form, cookie, JSON Web Token or GeoIP or other fancy features.

(ctx context.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ctxScopeKeyTypeAlias · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected