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

Function WithLoadJSON

config/storage/json.go:32–39  ·  view source on GitHub ↗

WithLoadJSON reads the configuration values from a JSON file and applies it to the config.service. "testdata/example.json" provides an example JSON file. Loads all data into RAM before processing it. Can be refactored internally for stream based processing.

(opts ...option)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

WithUseStorageLevelMethod · 0.80

Tested by

no test coverage detected