blockmeta

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartupAborted = fmt.Errorf("blockmeta start aborted by terminating signal")

Functions

This section is empty.

Types

type App

type App struct {
	*shutter.Shutter

	ReadyFunc func()
	// contains filtered or unexported fields
}

func New

func New(config *Config, db blockmeta.BlockmetaDB) *App

func (*App) IsReady

func (a *App) IsReady() bool

func (*App) OnReady

func (a *App) OnReady(f func())

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	KVDBDSN                 string
	BlocksStoreURL          string
	BlockStreamAddr         string
	GRPCListenAddr          string
	Protocol                pbbstream.Protocol
	LiveSource              bool
	EOSAPIUpstreamAddresses []string
	EOSAPIExtraAddresses    []string
}

Jump to

Keyboard shortcuts

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