reader

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PbDeclarationKindUnknown = iota
	PbTypeKindMessage
	PbTypeKindEnum
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PbTypeDef

type PbTypeDef struct {
	Name       string
	Kind       PbTypeKind
	Definition string
}

type PbTypeKind

type PbTypeKind int

type ProtoReader

type ProtoReader interface {
	ExtractTypeDefs(protoDir string, pbTypeNames []string) ([]*PbTypeDef, error) // extract protobuf type definitions
}

func New

func New(pbPkgName string) ProtoReader

type RecursiveChecker

type RecursiveChecker struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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