Help us shape the future of Go! Take the 2026 Go Developer Survey

verification

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

Package verification provides a worker for validating statistics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	worker.WorkerConfig
	AppConfig *config.Config
}

Config configures the verification worker.

type Worker

type Worker struct {
	worker.BaseWorker
	// contains filtered or unexported fields
}

Worker verifies that statistics actually exist in their claimed sources.

func New

func New(cfg Config) *Worker

New creates a new verification worker.

func (*Worker) Execute

func (w *Worker) Execute(ctx context.Context, req *worker.Request) (*worker.Response, error)

Execute verifies the provided candidate statistics.

func (*Worker) Init

func (w *Worker) Init(ctx context.Context) error

Init initializes the verification worker.

Jump to

Keyboard shortcuts

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