msgpack

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrUnmarshalMsgpack = "msgpack.unmarshal_msgpack"
	ErrMarshalMsgpack   = "msgpack.marshal_msgpack"
)

Variables

This section is empty.

Functions

func ErrorMarshalMsgpack added in v0.4.0

func ErrorMarshalMsgpack() error

func ErrorUnmarshalMsgpack added in v0.4.0

func ErrorUnmarshalMsgpack() error

func Marshal

func Marshal(obj interface{}) ([]byte, error)

func MustMarshal

func MustMarshal(obj interface{}) []byte

func Unmarshal

func Unmarshal(b []byte, obj interface{}) error

func UnmarshalToInterface

func UnmarshalToInterface(b []byte) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL