protoc-gen-grpc-go-service

command module
v0.0.0-...-db8b2aa Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

README

Golang Service Struct Generator (gRPC)

Use this protoc plugin to generate a go struct that satisfies the corresponding generated gRPC interface.

# Install
go get github.com/nstogner/protoc-gen-grpc-go-service

# How example/grpcd/service.go was generated...

cd $GOPATH/github.com/nstogner/protoc-gen-grpc-go-service/example
# This assumes that $GOPATH/bin is a part of $PATH
protoc --grpc-go-service_out=GoPrefix=protos,GoPackageName=services,GoImport=\"master/protos\":./services/ protos/task.proto

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package example is a generated protocol buffer package.
Package example is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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