compat

package
v0.0.0-...-31f28a4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Import this package to enable gogoproto compatibility features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFileDescriptor

func DecodeFileDescriptor(element string, fdb []byte) (*dpb.FileDescriptorProto, error)

DecodeFileDescriptor decodes the bytes of a registered file descriptor. Registered file descriptors are first "proto encoded" (e.g. binary format for the descriptor protos) and then gzipped. So this function gunzips and then unmarshals into a descriptor proto.

func LoadGogoFileDescriptor

func LoadGogoFileDescriptor(filename string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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