gengonetrpc

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFileContent

func GenerateFileContent(gen *protogen.Plugin, file *protogen.File, g *protogen.GeneratedFile)

GenerateFileContent generates the gRPC service definitions, excluding the package statement.

Types

type ServiceMethodSpec

type ServiceMethodSpec struct {
	MethodName     string
	InputTypeName  string
	OutputTypeName string
}

type ServiceSpec

type ServiceSpec struct {
	ServiceName string
	MethodList  []ServiceMethodSpec
}

Jump to

Keyboard shortcuts

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