Skip to content

Commit

Permalink
remove gogo.. using message response body
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed May 9, 2024
1 parent 8206990 commit 6e14b4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions cashu.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ service Mint {
get: "/v1/keys"
response_body: "message"
additional_bindings {
body: "*"
response_body: "message"
}
};
Expand Down
9 changes: 5 additions & 4 deletions mint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "message.proto";
import "signature.proto";
package cashu.v1;
option go_package = "gen/go/cashurpc";
import "google/protobuf/wrappers.proto";


enum UnitType {
Expand All @@ -18,10 +19,10 @@ message PostMintQuoteBolt11Request {
}

message PostMintQuoteBolt11Response {
string quote = 1;
string request = 2;
bool paid = 3 ;
sint64 expiry = 4;
google.protobuf.StringValue quote = 1;
google.protobuf.StringValue request = 2;
google.protobuf.BoolValue paid = 3;
google.protobuf.UInt64Value expiry = 4;
}


Expand Down

0 comments on commit 6e14b4c

Please sign in to comment.