gap

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filler

type Filler struct {
	DB *storage.Database
	// contains filtered or unexported fields
}

func NewFiller

func NewFiller(node lens.API, db *storage.Database, name string, minHeight, maxHeight int64, tasks []string, r *schedule.Reporter) *Filler

func (*Filler) Done

func (g *Filler) Done() <-chan struct{}

func (*Filler) Run

func (g *Filler) Run(ctx context.Context) error

type Finder

type Finder struct {
	DB *storage.Database
	// contains filtered or unexported fields
}

func NewFinder

func NewFinder(node lens.API, db *storage.Database, name string, minHeight, maxHeight int64, tasks []string) *Finder

func (*Finder) Done

func (g *Finder) Done() <-chan struct{}

func (*Finder) Find

func (g *Finder) Find(ctx context.Context) (visor.GapReportList, error)

func (*Finder) Run

func (g *Finder) Run(ctx context.Context) error

type Notifier

type Notifier struct {
	DB *storage.Database
	// contains filtered or unexported fields
}

func NewNotifier

func NewNotifier(node lens.API, db *storage.Database, queue *queue.AsynQ, name string, minHeight, maxHeight int64, tasks []string) *Notifier

func (*Notifier) Done

func (g *Notifier) Done() <-chan struct{}

func (*Notifier) Run

func (g *Notifier) Run(ctx context.Context) error

type TaskHeight

type TaskHeight struct {
	Task   string
	Height uint64
	Status string
}

Jump to

Keyboard shortcuts

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