package
0.0.0-20221211150325-2f2c2f34bedd
Repository: https://github.com/fengleng/mars.git
Documentation: pkg.go.dev
# README
encoding
msgpack
go get -u github.com/fengleng/mars/contrib/encoding/msgpack
# Functions
GetCodec gets a registered Codec by content-subtype, or nil if no Codec is registered for the content-subtype.
RegisterCodec registers the provided Codec for use with all Transport clients and servers.
# Interfaces
Codec defines the interface Transport uses to encode and decode messages.