marshaler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(t Type, msg proto.Message) ([]byte, error)

Marshal marshals the given payload.

Types

type Type

type Type int

Type defines the marshaler type.

const (
	JSONV3 Type = iota
	Protobuf
	ProtobufJSON
)

Marshaler types.

Jump to

Keyboard shortcuts

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