proxy

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Overview

Package proxy generates RPC service proxy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFile

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

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

Types

type Config

type Config struct {
	Standalone bool
}

Config represents a protoc-gen-grpcproxy config.

type Method

type Method struct {
	GoName            string
	IsStreamingClient bool
	IsStreamingServer 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