mirror of
https://github.com/netscrawler/protoss.git
synced 2026-09-05 16:19:35 +00:00
v0.0.1
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
package cnvrt;
|
||||
option go_package = "netscrawler.cnvrt.v1;cnvrtv1";
|
||||
|
||||
|
||||
|
||||
message ConvertRequest {
|
||||
uint32 amount = 1;
|
||||
string target_currency = 2;
|
||||
}
|
||||
|
||||
message ConvertResponse {
|
||||
uint32 base_amount = 1;
|
||||
uint32 converted_amount = 2;
|
||||
string converted_currency = 3;
|
||||
float rate = 4;
|
||||
}
|
||||
|
||||
service Converter {
|
||||
|
||||
rpc Convert(ConvertRequest) returns (ConvertResponse) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user