core

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeartbeatInterval = 5 * time.Second
	TelemetryInterval = 30 * time.Second
)
View Source
const TokenFile = "token.dat"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Eth2stats      Eth2statsConfig
	BeaconNodeType string
	BeaconNodeAddr string
	DataFolder     string
}

type Core

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

func New

func New(config Config) *Core

func (*Core) Close

func (c *Core) Close()

func (*Core) Run

func (c *Core) Run()

type Eth2statsConfig

type Eth2statsConfig struct {
	ServerAddr string
	TLS        bool
	NodeName   string
}

Jump to

Keyboard shortcuts

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