scorer

package
v0.0.0-...-29c3169 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, log *slog.Logger, dbconn *sql.DB, prom prometheus.Registerer) (*runner, error)

Types

type ScorerMap

type ScorerMap struct {
	Scorer   types.Scorer
	ScorerID uint32
	LastID   uint64
	// contains filtered or unexported fields
}

func (*ScorerMap) IsNew

func (sm *ScorerMap) IsNew(ls *ntpdb.LogScore) bool

type ScorerSettings

type ScorerSettings struct {
	BatchSize int32 `json:"batch_size"`
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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