Engine improvements

This commit is contained in:
Adrian Gallagher
2019-06-10 20:02:09 +10:00
parent 04c7c4895f
commit f777e68716
88 changed files with 2037 additions and 1413 deletions

View File

@@ -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"