Open gebn opened 3 years ago
Include .pb.go file(s) so no requirement to run protoc locally. Something like:
.pb.go
protoc
syntax = "proto3"; import "google/protobuf/timestamp.proto"; import "google/protobuf/duration.proto"; message Lifetime { google.protobuf.Timestamp created = 1; google.protobuf.Duration ttl = 2; } message PeerLoadRequest { string cache = 1; string key = 2; } message PeerLoadReply { bytes value = 1; Lifetime lifetime = 2; } service PeerLoader { rpc PeerLoad(PeerLoadRequest) returns (PeerLoadReply) {} }
This should be extended to the public interface for #1.
Include
.pb.go
file(s) so no requirement to runprotoc
locally. Something like: