core

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 10 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 {
	BestBlockTracker         bestblock.Config
	TaskManager              taskmanager.Config
	Scraper                  scraper.Config
	PostgresConnectionString string
	API                      api.Config
	Features                 Features
}

type Core

type Core struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) *Core

func (*Core) Close

func (c *Core) Close() error

func (*Core) Run

func (c *Core) Run()

type FeatureLag

type FeatureLag struct {
	Enabled bool
	Value   int64
}

type Features

type Features struct {
	Backfill    bool
	Lag         FeatureLag
	Automigrate bool
	Uncles      bool
}

Jump to

Keyboard shortcuts

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