go-zero/rpcx/internal/mock/deposit.proto

15 lines
210 B
Protocol Buffer
Raw Normal View History

2020-08-26 14:19:16 +08:00
syntax = "proto3";
package mock;
message DepositRequest {
float amount = 1;
}
message DepositResponse {
bool ok = 1;
}
service DepositService {
rpc Deposit(DepositRequest) returns (DepositResponse);
}