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

Function newScopedConfig

net/signed/scopedConfig.go:71–86  ·  view source on GitHub ↗

newScopedConfig creates a new object with the minimum needed configuration. Acts also as WithDefaultConfig() Default settings: InTrailer activated, Content-HMAC header with sha256, allowed HTTP methods set to POST, PUT, PATCH and password for the HMAC SHA 256 from a cryptographically random source w

(target, parent scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

withDefaultConfigFunction · 0.70
findScopedConfigMethod · 0.70

Calls 4

hashPoolInitMethod · 0.95
NewContentHMACFunction · 0.85
newScopedConfigGenericFunction · 0.70
ReadMethod · 0.45

Tested by

no test coverage detected