Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpBinary ¶
func DumpBinary(binary_path string, options *DumpOptions) (err error)
Types ¶
type DumpOptions ¶
type DumpOptions struct {
// The directory to output decompiled definitions to
Output string
// The Go package path to prepend to Protocol Buffers packages
// when generating "go_package" attribute
GoPrefix string
// If true, output additional .json files to assist in ensuring accurate .proto decompilation
JSON bool
// If true, don't output descriptors that are in the google/ path
IgnoreGoogle bool
}
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Read
func OpenBinary ¶
func (*Reader) ReadDescriptor ¶
func (reader *Reader) ReadDescriptor() (file_descriptor *descriptorpb.FileDescriptorProto, err error)
func (*Reader) ReadDescriptorBytes ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.