connor

package
v0.4.31 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, cfg *Config, log *zap.Logger) (*engine, error)

func NewBackends added in v0.4.13

func NewBackends(cfg *Config) *backends

func NewState added in v0.4.12

func NewState(log *zap.Logger) *state

Types

type Config

type Config struct {
	Node          nodeConfig         `yaml:"node"`
	Eth           accounts.EthConfig `yaml:"ethereum"`
	Market        marketConfig       `yaml:"market"`
	Container     containerConfig    `yaml:"container"`
	Log           logging.Config     `yaml:"log"`
	Engine        engineConfig       `yaml:"engine"`
	BenchmarkList benchmarks.Config  `yaml:"benchmarks"`
	AntiFraud     antifraud.Config   `yaml:"antifraud"`
	PriceSource   price.SourceConfig `yaml:"price_source"`

	Metrics string `yaml:"metrics" default:"127.0.0.1:14005"`
}

func NewConfig

func NewConfig(path string) (*Config, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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