protoc-gen-go-micro/examples/time/proto/time.proto
2017-06-08 16:40:52 +02:00

12 lines
265 B
Protocol Buffer

syntax = "proto3";
package foo;
import "google/protobuf/timestamp.proto";
message GetFooRequest { google.protobuf.Timestamp timestamp = 1;}
message GetFooResponse { string result = 1;}
service foosvc {
rpc GetFoo (GetFooRequest) returns (GetFooResponse){}
}