MCPcopy
hub / github.com/nocalhost/nocalhost / JSONSnappyEncoding

Struct JSONSnappyEncoding

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

JSONSnappyEncoding

Source from the content-addressed store, hash-verified

181
182// JSONSnappyEncoding
183type JSONSnappyEncoding struct{}
184
185// Marshal 序列化
186func (s JSONSnappyEncoding) Marshal(v interface{}) (data []byte, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected