verifier

package
v0.0.0-...-4accc28 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVerifierPlugin

func NewVerifierPlugin(opts pluginv1.Option, log *log.Helper) (pluginv1.Plugin, error)

func ReadAndSumHash

func ReadAndSumHash(basepath string, cacheKey string, count int, chunkSzie uint64) (string, error)

Types

type ReportClient

type ReportClient interface {
	Do() error
}

type ReportPayload

type ReportPayload struct {
	Url  string `json:"url"`
	Hash string `json:"hash"`
	Lm   string `json:"lm"`
	Cl   uint64 `json:"cl"`
}

Jump to

Keyboard shortcuts

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