File: foo.proto

package info (click to toggle)
protobuild 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: makefile: 4
file content (16 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";

package protobuild.example.foo;

import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/containerd/protobuild/examples/foo/;foo";

service Foo {
	rpc Do(DoRequest) returns (google.protobuf.Empty);
}

message DoRequest {
	google.protobuf.Timestamp timestamp = 3;
}