mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 15:10:44 +00:00
Engine improvements
This commit is contained in:
@@ -28,6 +28,10 @@ message GetExchangesResponse {
|
||||
string exchanges = 1;
|
||||
}
|
||||
|
||||
message GetExchangeOTPReponse {
|
||||
string otp_code = 1;
|
||||
}
|
||||
|
||||
message DisableExchangeRequest {
|
||||
string exchange = 1;
|
||||
}
|
||||
@@ -412,6 +416,12 @@ service GoCryptoTrader {
|
||||
};
|
||||
}
|
||||
|
||||
rpc GetExchangeOTPCode (GenericExchangeNameRequest) returns (GetExchangeOTPReponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v1/getexchangeotp"
|
||||
};
|
||||
}
|
||||
|
||||
rpc EnableExchange (GenericExchangeNameRequest) returns (GenericExchangeNameResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/enableexchange"
|
||||
|
||||
Reference in New Issue
Block a user