indexer

package
v0.0.0-...-c2a27a2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer

type Indexer interface {
	// Start starts the indexer's listener
	Start() error

	// SetEncryptionKey sets the encryption key and salt
	SetEncryptionKey(key, salt []byte)
}

Indexer represents an interface to an WARC indexer

func New

func New(
	ctx context.Context,
	ipfsAddr string,
	watchDir string,
	db cdxjdb.CdxjRecords,
) (Indexer, error)

New returns a new WARC Indexer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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