methodname

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package methodname generates gRPC full method name constants.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFile

func GenerateFile(p *protogen.Plugin, f *protogen.File) *protogen.GeneratedFile

GenerateFile generates RPC service proxy from .pb.go types.

Types

type Method

type Method struct {
	GoName      string
	IsStreaming bool
}

Method represents a generated RPC method.

Jump to

Keyboard shortcuts

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