-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5beb34
commit df9dc68
Showing
14 changed files
with
1,300 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
version: v1 | ||
directories: | ||
- testpb |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
syntax="proto3"; | ||
|
||
option go_package = "github.com/cosmos/cosmos-proto/testpb"; | ||
|
||
message ImportedMessage { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax="proto3"; | ||
|
||
import "google/api/annotations.proto"; | ||
import "cosmos_proto/cosmos.proto"; | ||
|
||
option go_package = "github.com/cosmos/cosmos-proto/testpb"; | ||
|
||
// Query defines the gRPC querier service. | ||
service Query { | ||
// CounterQuery queries a counter. | ||
rpc CounterQuery(QueryCounter) returns (CounterQueryResponse) { | ||
option (google.api.http).get = "/counter"; | ||
option (cosmos_proto.method_added_since) = "v1.0.1"; | ||
} | ||
} | ||
|
||
// QueryCounter defines the request type used to query the counter. | ||
message QueryCounter {} | ||
|
||
// CounterQueryResponse defines the response type for querying the counter. | ||
message CounterQueryResponse { | ||
uint64 counter = 1 [(cosmos_proto.field_added_since) = "v1.0.1"]; | ||
} |
Oops, something went wrong.