Skip to content

Commit

Permalink
Add empty.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Aug 24, 2022
1 parent b9411a5 commit addf172
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions types/known/emptypb/empty.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// Copyright 2022 Teppei Fukuda. All rights reserved.
// https://developers.google.com/protocol-buffers/

syntax = "proto3";

package emptyppb;

option go_package = "github.com/knqyf263/go-plugin/types/known/emptypb";

// A generic empty message that you can re-use to avoid defining duplicated
// empty messages in your APIs. A typical example is to use it as the request
// or the response type of an API method. For instance:
//
// service Foo {
// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
// }
//
message Empty {}

0 comments on commit addf172

Please sign in to comment.