eqldbsync

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package eqldbsync uploads durable parser observations independently of any frontend. It does not participate in logfile replay or UI representation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	SubmitPlaneOfSkyEvents(context.Context, string, string, string, []eqldb.PlaneOfSkyEvent) error
	SubmitKillObservations(context.Context, string, []eqldb.KillObservation) error
	SubmitDropObservations(context.Context, string, []eqldb.DropObservation) error
}

type Runner

type Runner struct {
	Client  API
	Store   eqldb.Store
	Queue   *eqldbqueue.Queue
	OnError func(error)
	// contains filtered or unexported fields
}

func Default

func Default(onError func(error)) (*Runner, error)

func (*Runner) Run

func (r *Runner) Run(ctx context.Context)

func (*Runner) Trigger

func (r *Runner) Trigger()

Trigger asks the background runner to retry immediately. The buffered wake channel deliberately coalesces repeated queue and connection notifications.

Jump to

Keyboard shortcuts

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