bufreflect

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessage

func NewMessage(
	ctx context.Context,
	image bufimage.Image,
	typeName string,
) (proto.Message, error)

NewMessage returns a new dynamic proto.Message for the fully qualified typeName in the bufimage.Image.

func ValidateTypeName

func ValidateTypeName(typeName string) error

ValidateTypeName validates that the typeName is well-formed, such that it has one or more '.'-delimited package components and no '/' elements.

Types

This section is empty.

Jump to

Keyboard shortcuts

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