fsd

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

func (*Config) Validate

func (c *Config) Validate() error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL