generater

package
v0.0.0-...-bf04ae1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceMethodRestAPIOption

func GetServiceMethodRestAPIOption(m *descriptor.MethodDescriptorProto) *http.Entry

Types

type Generater

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

func NewGenerator

func NewGenerator(gen *protogen.Plugin, file *protogen.File) *Generater

func (*Generater) GenerateFile

func (m *Generater) GenerateFile()

GenerateFile generates a _grpc.pb.go file containing gRPC service definitions.

Jump to

Keyboard shortcuts

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