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

Function WithContextRunMode

net/runmode/context_runmode.go:72–77  ·  view source on GitHub ↗

TODO(CYS) remove context function as the scope.TypeID does not belong into a context. See also Merovious WithContextRunMode sets the main run mode for the current request. It panics when called multiple times for the current context. This function is used in net/runmode together with function RunMod

(ctx context.Context, runMode scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

WithRunModeFunction · 0.85

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected