registry

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProtoRegistry added in v0.2.0

func BuildProtoRegistry(verbose bool, srcDir string) (*protoregistry.Files, error)

BuildProtoRegistry walks through every file in the proto folder to build up a protoregistry.Files array with every single file in here. TODO: use a user-defined filter on the paths walked to improve performance TODO: don't use protoc

func MakeDynamicMessage

func MakeDynamicMessage(verbose bool, registry *protoregistry.Files, protoPackage string, msgName protoreflect.Name) (proto.Message, error)

MakeDynamicMessage creates an unhydrated proto message using the registry information

Types

This section is empty.

Jump to

Keyboard shortcuts

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