modulepackage
0.0.0-20200318161714-74190987e8c8
Repository: https://github.com/dfense/protobufmodels.git
Documentation: pkg.go.dev
# README
protobufModels
Storage of protobuf .proto files that generate *.go files independent of the implementation projects. Helps keep the requirement out of the other projects build.
prerequisites
to assure that the tools are already installed for protobufs, i recommend
- using go 1.12+
- unset GOPATH from environment variables
- go get -u google.golang.org/grpc
- go get -u github.com/golang/protobuf/protoc-gen-go
- add the newly compiled go plugin to your path export PATH=$PATH:~/go/bin //default install on OSX
modify .proto files
anytime you modify the protobuf definition files, just regen all the native go files
protoc -I . helloProto.proto --go_out=plugins=grpc:.
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
The echo request.
The response message containing the greetings.
The request message containing the user's name.
No description provided by the author
No description provided by the author
UnimplementedEchoServer can be embedded to have forward compatible implementations.
UnimplementedGreeterServer can be embedded to have forward compatible implementations.
# Interfaces
No description provided by the author
No description provided by the author
EchoClient is the client API for Echo service.
EchoServer is the server API for Echo service.
GreeterClient is the client API for Greeter service.
GreeterServer is the server API for Greeter service.