register

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTypesInImportedFile

func RegisterTypesInImportedFile(file protoreflect.FileDescriptor, reg *protoregistry.Types, includeMessages bool)

RegisterTypesInImportedFile registers types (extensions and messages) in the given file as well as those in its public imports. So if another file imports the given file, this adds all types made visible to that importing file.

func RegisterTypesVisibleToFile

func RegisterTypesVisibleToFile(file protoreflect.FileDescriptor, reg *protoregistry.Types, includeMessages bool)

RegisterTypesVisibleToFile registers types (extensions and messages) that are visible to the given file. This includes types defined in file as well as types defined in the files that it imports (and any public imports thereof, etc).

Types

This section is empty.

Jump to

Keyboard shortcuts

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