Documentation
¶
Overview ¶
protoc-gen-go-restate is a plugin for the Google protocol buffer compiler to generate Restate servers and clients. Install it by building this program and making it accessible within your PATH with the name:
protoc-gen-go-restate
The 'go-restate' suffix becomes part of the argument for the protocol compiler, such that it can be invoked as:
protoc --go-restate_out=. path/to/file.proto
This generates Restate service definitions for the protocol buffer defined by file.proto. With that input, the output will be written to:
path/to/file_restate.pb.go
Lots of code copied from protoc-gen-go-grpc: https://github.com/grpc/grpc-go/tree/master/cmd/protoc-gen-go-grpc ! License Apache-2.0
Click to show internal directories.
Click to hide internal directories.