clients

package
v0.11.25 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashLookup

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

HashLookup is a streams.Client wrapper that searches for hash values in a document.

func NewHashLookup

func NewHashLookup(innerClient streams.Client) HashLookup

NewHashLookup creates a fully initialized Client object

func (HashLookup) Load

func (client HashLookup) Load(url string, options ...any) (streams.Document, error)

Load retrieves a document from the underlying innerClient, then searches for hash values inside it (if required)

Jump to

Keyboard shortcuts

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