Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceWorker ¶
type BalanceWorker struct { WaitResponseTimeout int64 `yaml:"wait_response_timeout"` // in seconds ScrapingTime int64 `yaml:"scraping_time"` // in seconds }
BalanceWorker represents worker options described in "workers.balance" section of the config yaml file.
type Consumer ¶
type Consumer struct { ID string `yaml:"id"` ExtID string `yaml:"ext_id"` Host string `yaml:"host"` }
Consumer represents config used for registration of node.
type Handler ¶
type Handler struct { RateLimit float64 `yaml:"rate_limit"` // per second Log LogHandler `yaml:"log"` }
Handler represents config options for handlers.
type LogHandler ¶
type LogHandler struct {
BufLength int64 `yaml:"buf_length"` // in kilobytes
}
LogHandler represents config options described in "handler.log" section of the config yaml file.
Click to show internal directories.
Click to hide internal directories.