mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00

This is the quasi-standard and fixes the error below: ``` $ go get -u github.com/planetmint/planetmint-go@v0.1.0 go: github.com/planetmint/planetmint-go@v0.1.0: parsing go.mod: module declares its path as: planetmint-go but was required as: github.com/planetmint/planetmint-go ``` Signed-off-by: Julian Strobl <jmastr@mailbox.org>
26 lines
872 B
Protocol Buffer
26 lines
872 B
Protocol Buffer
syntax = "proto3";
|
|
package planetmintgo.asset;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/api/annotations.proto";
|
|
import "cosmos/base/query/v1beta1/pagination.proto";
|
|
import "planetmintgo/asset/params.proto";
|
|
|
|
option go_package = "github.com/planetmint/planetmint-go/x/asset/types";
|
|
|
|
// Query defines the gRPC querier service.
|
|
service Query {
|
|
// Parameters queries the parameters of the module.
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
option (google.api.http).get = "/github.com/planetmint/planetmint-go/asset/params";
|
|
}
|
|
}
|
|
|
|
// QueryParamsRequest is request type for the Query/Params RPC method.
|
|
message QueryParamsRequest {}
|
|
|
|
// QueryParamsResponse is response type for the Query/Params RPC method.
|
|
message QueryParamsResponse {
|
|
// params holds all the parameters of this module.
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
} |