Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `yaml:"log_level"` Server string `yaml:"server"` Pprof string `yaml:"pprof"` BlockchainDb utils.DbSettings `yaml:"blockchain_db"` Network string `yaml:"network"` Workers int `yaml:"workers"` ProcessBlocks int `yaml:"process_blocks"` ResultBlocks int `yaml:"result_blocks"` JobLifetime time.Duration `yaml:"job_lifetime"` }
func MakeDefaultConfig ¶ added in v0.1.4
func MakeDefaultConfig() Config
type MetricsConfig ¶ added in v0.1.11
type MetricsConfig struct { Graphite *utils.GraphiteSettings `json:"graphite"` Hostname string `json:"metrics-hostname"` }
func (*MetricsConfig) Validate ¶ added in v0.1.11
func (c *MetricsConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.