protohelper

package
v0.0.0-...-963ac0d Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsEmptyMessageJSON

func AsEmptyMessageJSON(in proto.Message) string

Types

type DummyMessage

type DummyMessage struct {
	// contains filtered or unexported fields
}

func (*DummyMessage) Marshal

func (dm *DummyMessage) Marshal() ([]byte, error)

func (*DummyMessage) ProtoMessage

func (dm *DummyMessage) ProtoMessage()

func (*DummyMessage) Reset

func (dm *DummyMessage) Reset()

func (*DummyMessage) String

func (dm *DummyMessage) String() string

func (*DummyMessage) Unmarshal

func (dm *DummyMessage) Unmarshal(in []byte) error

type EmptyAnyResolver

type EmptyAnyResolver struct{}

func (EmptyAnyResolver) Resolve

func (EmptyAnyResolver) Resolve(typeURL string) (proto.Message, error)

type WrappedAnyResolver

type WrappedAnyResolver struct {
	jsonpb.AnyResolver
}

func (WrappedAnyResolver) Resolve

func (w WrappedAnyResolver) Resolve(typeURL string) (proto.Message, error)

Jump to

Keyboard shortcuts

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