Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigFlag = &cli.StringFlag{ Name: "config", Aliases: []string{"c"}, Value: "config.json", Usage: "Load configuration from `file`", } DryRunFlag = &cli.BoolFlag{ Name: "dry-run", Value: false, Usage: "dry run.", } AfterFlag = &cli.StringFlag{ Name: "after", Usage: "the history after this time, eg. 2006-01-02T15:04:05.000-07:00", } BeforeFlag = &cli.StringFlag{ Name: "before", Usage: "the history before this time, eg. 2006-01-02T15:04:05.000-07:00", } )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Network string `json:"network"` Manager string `json:"manager"` Server Server `json:"server"` Mongo MongoConf `json:"mongo"` Interval string `json:"interval"` Listen string `json:"listen"` Notify string `json:"notify"` Withdraw Withdraw }
func ParseConfig ¶
type CryptoLions ¶
type CryptoLions struct {
Server string `json:"server"`
}
type Server ¶
type Server struct { ServerType string `json:"serverType"` // dfuse cryptolions Dfuse Dfuse `json:"dfuse"` CryptoLions CryptoLions `json:"cryptolions"` }
Click to show internal directories.
Click to hide internal directories.