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

18 lines
242 B
Protocol Buffer

syntax = "proto3";
package mock;
option go_package = ".;mock";
message DepositRequest {
float amount = 1;
}
message DepositResponse {
bool ok = 1;
}
service DepositService {
rpc Deposit(DepositRequest) returns (DepositResponse);
}