protolator

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepMarshalJSON

func DeepMarshalJSON(w io.Writer, msg proto.Message) error

func DeepUnmarshalJSON

func DeepUnmarshalJSON(r io.Reader, msg proto.Message) error

func MostlyDeterministicMarshal

func MostlyDeterministicMarshal(msg proto.Message) ([]byte, error)

Types

type DecoratedProto

type DecoratedProto interface {
	Underlying() proto.Message
}

type DynamicFieldProto

type DynamicFieldProto interface {
	DynamicFields() []string

	DynamicFieldProto(name string, underlying proto.Message) (proto.Message, error)
}

type DynamicMapFieldProto

type DynamicMapFieldProto interface {
	DynamicMapFields() []string

	DynamicMapFieldProto(name string, key string, underlying proto.Message) (proto.Message, error)
}

type DynamicSliceFieldProto

type DynamicSliceFieldProto interface {
	DynamicSliceFields() []string

	DynamicSliceFieldProto(name string, index int, underlying proto.Message) (proto.Message, error)
}

type StaticallyOpaqueFieldProto

type StaticallyOpaqueFieldProto interface {
	StaticallyOpaqueFields() []string

	StaticallyOpaqueFieldProto(name string) (proto.Message, error)
}

type StaticallyOpaqueMapFieldProto

type StaticallyOpaqueMapFieldProto interface {
	StaticallyOpaqueMapFields() []string

	StaticallyOpaqueMapFieldProto(name string, key string) (proto.Message, error)
}

type StaticallyOpaqueSliceFieldProto

type StaticallyOpaqueSliceFieldProto interface {
	StaticallyOpaqueSliceFields() []string

	StaticallyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)
}

type VariablyOpaqueFieldProto

type VariablyOpaqueFieldProto interface {
	VariablyOpaqueFields() []string

	VariablyOpaqueFieldProto(name string) (proto.Message, error)
}

type VariablyOpaqueMapFieldProto

type VariablyOpaqueMapFieldProto interface {
	VariablyOpaqueMapFields() []string

	VariablyOpaqueMapFieldProto(name string, key string) (proto.Message, error)
}

type VariablyOpaqueSliceFieldProto

type VariablyOpaqueSliceFieldProto interface {
	VariablyOpaqueSliceFields() []string

	VariablyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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