Directories
¶
| Path | Synopsis |
|---|---|
|
Package codec contains a reader/write type that assists with encoding and decoding protobuf's binary representation.
|
Package codec contains a reader/write type that assists with encoding and decoding protobuf's binary representation. |
|
Package desc contains "rich descriptors" for protocol buffers.
|
Package desc contains "rich descriptors" for protocol buffers. |
|
builder
Package builder contains a means of building and modifying proto descriptors programmatically.
|
Package builder contains a means of building and modifying proto descriptors programmatically. |
|
protoparse
Package protoparse provides functionality for parsing *.proto source files into descriptors that can be used with other protoreflect packages, like dynamic messages and dynamic GRPC clients.
|
Package protoparse provides functionality for parsing *.proto source files into descriptors that can be used with other protoreflect packages, like dynamic messages and dynamic GRPC clients. |
|
protoparse/ast
Package ast defines types for modeling the AST (Abstract Syntax Tree) for the protocol buffers source language.
|
Package ast defines types for modeling the AST (Abstract Syntax Tree) for the protocol buffers source language. |
|
protoparse/internal/protocompile
Package protocompile provides the entry point for a high performance native Go protobuf compiler.
|
Package protocompile provides the entry point for a high performance native Go protobuf compiler. |
|
protoparse/internal/protocompile/ast
Package ast defines types for modeling the AST (Abstract Syntax Tree) for the Protocol Buffers interface definition language.
|
Package ast defines types for modeling the AST (Abstract Syntax Tree) for the Protocol Buffers interface definition language. |
|
protoparse/internal/protocompile/internal/cases
Package cases provides functions for inter-converting between different case styles.
|
Package cases provides functions for inter-converting between different case styles. |
|
protoparse/internal/protocompile/internal/editions
Package editions contains helpers related to resolving features for Protobuf editions.
|
Package editions contains helpers related to resolving features for Protobuf editions. |
|
protoparse/internal/protocompile/internal/ext/unsafex
Package unsafex contains extensions to Go's package unsafe.
|
Package unsafex contains extensions to Go's package unsafe. |
|
protoparse/internal/protocompile/internal/featuresext
Package featuresext provides file descriptors for the "google/protobuf/cpp_features.proto" and "google/protobuf/java_features.proto" standard import files.
|
Package featuresext provides file descriptors for the "google/protobuf/cpp_features.proto" and "google/protobuf/java_features.proto" standard import files. |
|
protoparse/internal/protocompile/linker
Package linker contains logic and APIs related to linking a protobuf file.
|
Package linker contains logic and APIs related to linking a protobuf file. |
|
protoparse/internal/protocompile/options
Package options contains the logic for interpreting options.
|
Package options contains the logic for interpreting options. |
|
protoparse/internal/protocompile/parser
Package parser contains the logic for parsing protobuf source code into an AST (abstract syntax tree) and also for converting an AST into a descriptor proto.
|
Package parser contains the logic for parsing protobuf source code into an AST (abstract syntax tree) and also for converting an AST into a descriptor proto. |
|
protoparse/internal/protocompile/protoutil
Package protoutil contains useful functions for interacting with descriptors.
|
Package protoutil contains useful functions for interacting with descriptors. |
|
protoparse/internal/protocompile/reporter
Package reporter contains the types used for reporting errors from protocompile operations.
|
Package reporter contains the types used for reporting errors from protocompile operations. |
|
protoparse/internal/protocompile/sourceinfo
Package sourceinfo contains the logic for computing source code info for a file descriptor.
|
Package sourceinfo contains the logic for computing source code info for a file descriptor. |
|
protoparse/internal/protocompile/walk
Package walk provides helper functions for traversing all elements in a protobuf file descriptor.
|
Package walk provides helper functions for traversing all elements in a protobuf file descriptor. |
|
protoprint
Package protoprint provides a mechanism to generate protobuf source code from descriptors.
|
Package protoprint provides a mechanism to generate protobuf source code from descriptors. |
|
sourceinfo
Package sourceinfo provides the ability to register and query source code info for file descriptors that are compiled into the binary.
|
Package sourceinfo provides the ability to register and query source code info for file descriptors that are compiled into the binary. |
|
sourceinfo/cmd/protoc-gen-gosrcinfo
command
Command protoc-gen-gosrcinfo is a protoc plugin.
|
Command protoc-gen-gosrcinfo is a protoc plugin. |
|
Package dynamic provides an implementation for a dynamic protobuf message.
|
Package dynamic provides an implementation for a dynamic protobuf message. |
|
grpcdynamic
Package grpcdynamic provides a dynamic RPC stub.
|
Package grpcdynamic provides a dynamic RPC stub. |
|
msgregistry
Package msgregistry contains a registry of known message and enum types.
|
Package msgregistry contains a registry of known message and enum types. |
|
Package grpcreflect provides GRPC-specific extensions to protobuf reflection.
|
Package grpcreflect provides GRPC-specific extensions to protobuf reflection. |
|
Package internal contains some code that should not be exported but needs to be shared across more than one of the protoreflect sub-packages.
|
Package internal contains some code that should not be exported but needs to be shared across more than one of the protoreflect sub-packages. |
Click to show internal directories.
Click to hide internal directories.