An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/hashicorp/go-msgpack/codec : v0.5.4

High Performance, Feature-Rich Idiomatic Go encoding library for msgpack and binc . Supported Serialization formats are: To install: The idiomatic Go support is as seen in other encoding packages in the standard library (ie json, xml, gob, etc). Rich Feature Set includes: Users can register a function to handle the encoding or decoding of their custom types. There are no restrictions on what the custom type can be. Some examples: As an illustration, MyStructWithUnexportedFields would normally be encoded as an empty map because it has no exported fields, while UUID would be encoded as a string. However, with extension support, you can encode any of these however you like. RPC Client and Server Codecs are implemented, so the codecs can be used with the standard net/rpc package. Typical usage model: Run the benchmark suite using: To run full benchmark suite (including against vmsgpack and bson), see notes in ext_dep_test.go Msgpack-c implementation powers the c, c++, python, ruby, etc libraries. We need to maintain compatibility with it and how it encodes integer values without caring about the type. For compatibility with behaviour of msgpack-c reference implementation:

Registry - Documentation - Download - JSON
purl: pkg:golang/github.com/hashicorp/go-msgpack/[email protected]
Published:
Indexed:

    Loading...
    Readme
    Loading...