You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
210 B
Protocol Buffer
15 lines
210 B
Protocol Buffer
4 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package mock;
|
||
|
|
||
|
message DepositRequest {
|
||
|
float amount = 1;
|
||
|
}
|
||
|
|
||
|
message DepositResponse {
|
||
|
bool ok = 1;
|
||
|
}
|
||
|
|
||
|
service DepositService {
|
||
|
rpc Deposit(DepositRequest) returns (DepositResponse);
|
||
|
}
|