payloadcodec

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Json

type Json struct{}

func (Json) IsNull

func (c Json) IsNull(data []byte) bool

func (Json) Marshal

func (c Json) Marshal(v any) ([]byte, error)

func (Json) Name

func (c Json) Name() string

func (Json) Unmarshal

func (c Json) Unmarshal(data []byte, v any) error

type MsgPack

type MsgPack struct{}

func (MsgPack) IsNull

func (c MsgPack) IsNull(data []byte) bool

func (MsgPack) Marshal

func (c MsgPack) Marshal(v any) ([]byte, error)

func (MsgPack) Name

func (c MsgPack) Name() string

func (MsgPack) Unmarshal

func (c MsgPack) Unmarshal(data []byte, v any) error

type Text

type Text struct{}

func (Text) IsNull

func (c Text) IsNull(data []byte) bool

func (Text) Marshal

func (c Text) Marshal(v any) ([]byte, error)

func (Text) Name

func (c Text) Name() string

func (Text) Unmarshal

func (c Text) Unmarshal(data []byte, v any) error

Jump to

Keyboard shortcuts

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