Documentation ¶
Index ¶
Constants ¶
View Source
const (
StatusAvailable = "available"
)
Response constants
View Source
const (
V1APIPathPrefix = "/api/v1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthZResponse ¶
type HealthZResponse struct { Status string `json:"status" yaml:"status"` Oracle struct { LastSync string `json:"last_sync"` } `json:"oracle"` }
HealthZResponse defines the response type for the healthy API handler.
type PricesResponse ¶
PricesResponse defines the response type for getting the latest exchange rates from the oracle.
Click to show internal directories.
Click to hide internal directories.