tebakaja's picture
feat: Crafting Load Balancer Proxy
542878f
raw
history blame
747 Bytes
package national_currency
type ApiResponse struct {
Message string `json:"message"`
StatusCode int `json:"status_code"`
Data interface{} `json:"data"`
}
type PredictionRequest struct {
Days int `json:"days"`
Currency string `json:"currency"`
}
type PredictionResponse struct {
Message string `json:"message"`
StatusCode int `json:"status_code"`
Data struct {
Currency string `json:"currency"`
Predictions struct {
Actuals []struct {
Date string `json:"date"`
Price float64 `json:"price"`
} `json:"actuals"`
Predictions []struct {
Date string `json:"date"`
Price float64 `json:"price"`
} `json:"predictions"`
} `json:"predictions"`
} `json:"data"`
}