marshaler

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 13 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