MCPcopy
hub / github.com/nocalhost/nocalhost / JSONGzipEncoding

Struct JSONGzipEncoding

pkg/nocalhost-api/pkg/cache/encoding.go:107–107  ·  view source on GitHub ↗

JSONGzipEncoding json and gzip

Source from the content-addressed store, hash-verified

105
106// JSONGzipEncoding json and gzip
107type JSONGzipEncoding struct{}
108
109// Marshal json encode and gzip
110func (jz JSONGzipEncoding) Marshal(v interface{}) ([]byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected