bufreflect

package
v0.0.0-...-ad79e7e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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