replayer

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replayer

type Replayer interface {
	// Replay returns a WARC replay for the given ID and encryption key
	Replay(id string, key []byte) (models.Replay, error)
}

Replayer represents the interface to a WARC-CDXJ record replayer

func New

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

New returns a new Replayer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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