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.
18 lines
242 B
Protocol Buffer
18 lines
242 B
Protocol Buffer
4 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package mock;
|
||
|
|
||
3 years ago
|
option go_package = ".;mock";
|
||
|
|
||
4 years ago
|
message DepositRequest {
|
||
|
float amount = 1;
|
||
|
}
|
||
|
|
||
|
message DepositResponse {
|
||
|
bool ok = 1;
|
||
|
}
|
||
|
|
||
|
service DepositService {
|
||
|
rpc Deposit(DepositRequest) returns (DepositResponse);
|
||
3 years ago
|
}
|