zindexer

package module
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

zindexer - Common Components

License CircleCI

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGlobalLogger added in v0.0.2

func InitGlobalLogger() *zap.Logger

func RunCLI added in v0.0.2

func RunCLI(rootCommand *cobra.Command)

func SetupCloseHandler added in v0.0.2

func SetupCloseHandler(handler CleanUpHandler)

func SetupConfiguration added in v0.0.2

func SetupConfiguration(c *cobra.Command, args []string)

func SetupDefaultConfiguration added in v0.0.2

func SetupDefaultConfiguration(handler DefaultConfigHandler)

Types

type ChainIndexer

type ChainIndexer interface {
	MigrateTypes() error
	Start()
}

ChainIndexer

type CleanUpHandler added in v0.0.2

type CleanUpHandler func()

type DefaultConfigHandler added in v0.0.2

type DefaultConfigHandler func()

type IndexingWorker

type IndexingWorker interface {
	Index(from int64, to int64) error
}

IndexingWorker interface

Directories

Path Synopsis
workers

Jump to

Keyboard shortcuts

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