pdparser

package
v0.0.0-...-4c29529 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSet

func ParseSet(data []byte) (*metadata.Metadata, error)

Types

type Parser

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

func NewParser

func NewParser() *Parser

func (*Parser) AddFile

func (p *Parser) AddFile(file *descriptor.FileDescriptorProto) error

func (*Parser) CollectRoutes

func (p *Parser) CollectRoutes() ([]*metadata.Route, error)

func (*Parser) Resolve

func (p *Parser) Resolve()

func (*Parser) SetExtraHandler

func (p *Parser) SetExtraHandler(fn func(msg *metadata.Message, md *descriptor.DescriptorProto))

Jump to

Keyboard shortcuts

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