protoc-gen-go-micro/examples/time/proto/time.proto

12 lines
265 B
Protocol Buffer
Raw Normal View History

2017-06-08 17:40:52 +03:00
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){}
}