MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / MetaKey

Function MetaKey

monitoring/meta.go:31–33  ·  view source on GitHub ↗

MetaKey formats a metadata key with the standard prefix.

(key string)

Source from the content-addressed store, hash-verified

29
30// MetaKey formats a metadata key with the standard prefix.
31func MetaKey(key string) string {
32 return MetaPrefix + strings.ToLower(strings.ReplaceAll(key, " ", "_"))
33}
34
35// MetaURLOrigin extracts the origin (scheme + host) from a URL for metadata purposes.
36func MetaURLOrigin(fullURL string) string {

Callers 1

startMonitoringSpanMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected