feat(exchange): add exchange rate handling and scheduled updates
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
package types
|
||||
|
||||
const (
|
||||
// ForthwithGetCountry forthwith country get
|
||||
ForthwithGetCountry = "forthwith:country:get"
|
||||
)
|
||||
|
||||
type GetNodeCountry struct {
|
||||
Protocol string `json:"protocol"`
|
||||
ServerAddr string `json:"server_addr"`
|
||||
}
|
||||
@@ -6,4 +6,7 @@ const (
|
||||
|
||||
// ForthwithQuotaTask create quota task immediately
|
||||
ForthwithQuotaTask = "forthwith:quota:task"
|
||||
|
||||
// SchedulerExchangeRate fetch exchange rate task
|
||||
SchedulerExchangeRate = "scheduler:exchange:rate"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user