package
1.12.6
Repository: https://github.com/go-dev-frame/sponge.git
Documentation: pkg.go.dev

# Packages

Package json is a JSON encoding and decoding.
Package proto is a protobuf encoding and decoding.

# Functions

GetCodec gets a registered Codec by content-subtype, or nil if no Codec is registered for the content-subtype.
GzipDecode decode.
GzipEncode encoding.
Marshal encode data.
RegisterCodec registers the provided Codec for use with all transport clients and servers.
Unmarshal decode data.

# Variables

ErrNotAPointer .

# Structs

GobEncoding gob encode.
JSONEncoding json format.
JSONGzipEncoding json and gzip.
JSONSnappyEncoding json format and snappy compression.
MsgPackEncoding msgpack format.

# Interfaces

Codec defines the interface gRPC uses to encode and decode messages.
Encoding definition of coding interfaces.