serializehelper

package
v0.0.0-...-dc73762 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonDeSerialize

func JsonDeSerialize(body []byte, data interface{}) error

func JsonSerialize

func JsonSerialize(t interface{}) ([]byte, error)

func MsgPackDeSerialize

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

func MsgPackSerialize

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

func ProtoDeSerialize

func ProtoDeSerialize(body []byte, data proto.Message) error

func ProtoSerialize

func ProtoSerialize(obj proto.Message) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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