verification

package
v0.5.24 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier struct {
	// contains filtered or unexported fields
}

Verifier handles the consensus check between different routing tiers.

func NewVerifier

func NewVerifier() *Verifier

NewVerifier creates a new Verifier instance.

func (*Verifier) GetMetrics

func (v *Verifier) GetMetrics() map[string]interface{}

GetMetrics returns verification statistics.

func (*Verifier) Verify

func (v *Verifier) Verify(tier1Intent, tier2Intent string) bool

Verify compares two intents and records the outcome. Returns true if there is a consensus (intents match).

Jump to

Keyboard shortcuts

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