Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigPath = "config" VoteMode = "vote-mode" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigType ¶
type ConfigType struct { Title string `json:"title"` Validator struct { OperatorAddr string `json:"operatorAddr"` } Feeder struct { Name string `json:"name"` Password string `json:"password"` } APIs struct { Luna struct { Krw struct { Coinone string `json:"coinone"` Bithumb string `json:"bithumb"` } Usd struct { Binance string `json:"binance"` } } Stables struct { Currencylayer string `json:"currencylayer"` } Sdr struct { Imf string `json:"imf"` } Band struct { Active bool `json:"active"` Band string `json:"band"` } } Options struct { Interval struct { Luna time.Duration `json:"luna"` Stables time.Duration `json:"stables"` } } }
var (
Config ConfigType
)
Click to show internal directories.
Click to hide internal directories.