mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
18 lines
242 B
Protocol Buffer
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);
|
|
}
|