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

Function NewService

config/service.go:99–135  ·  view source on GitHub ↗

NewService creates the main new configuration for all scopes: default, website and store. Default Storage is a simple map[string]interface{}. A new go routine will be startet for the publish and subscribe feature. Level2 is the required underlying data holding provider.

(level2 Storager, o Options, fns ...LoadDataOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MustNewServiceFunction · 0.70

Calls 9

newTrieRouteFunction · 0.85
newPubSubFunction · 0.85
setupEnvMethod · 0.80
WithMethod · 0.80
publishMethod · 0.80
loadDataMethod · 0.80
shouldEnableHotReloadMethod · 0.80
CloseMethod · 0.65
BoolMethod · 0.45

Tested by

no test coverage detected