gRPC: Uptime runtime to v2 (#590)

* Upgrade to gRPC v2 runtime

* Fix tests

* Update docs

* Win/Linus/macOS path friendliness

* Swagger/docs update
This commit is contained in:
Adrian Gallagher
2020-11-09 15:53:23 +11:00
committed by GitHub
parent f050c13daa
commit 7b9b68558c
12 changed files with 3799 additions and 3514 deletions

View File

@@ -3,7 +3,7 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
package gctrpc;
option go_package = ".;gctrpc";
option go_package = "github.com/thrasher-corp/gocryptotrader/gctrpc";
message GetInfoRequest {}
@@ -799,8 +799,8 @@ message WebsocketSetURLRequest {
}
message FindMissingCandlePeriodsRequest {
string exchangeName = 1;
string assetType = 2;
string exchange_name = 1;
string asset_type = 2;
CurrencyPair pair = 3;
int64 interval = 4;
string start = 5;
@@ -808,18 +808,18 @@ message FindMissingCandlePeriodsRequest {
}
message FindMissingTradePeriodsRequest {
string exchangeName = 1;
string assetType = 2;
string exchange_name = 1;
string asset_type = 2;
CurrencyPair pair = 3;
string start = 4;
string end = 5;
}
message FindMissingIntervalsResponse {
string exchangeName = 1;
string assetType = 2;
string exchange_name = 1;
string asset_type = 2;
CurrencyPair pair = 3;
repeated string missingPeriods = 4;
repeated string missing_periods = 4;
string status = 5;
}