archiver

package
v0.0.0-...-3599083 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archiver

type Archiver struct {
	sync.RWMutex

	DB         *bbolt.DB
	UserAgent  string
	LogEnabled bool
	// contains filtered or unexported fields
}

Archiver is struct that do the archival.

func (*Archiver) Start

func (arc *Archiver) Start(req Request) error

Start starts the archival process

type Request

type Request struct {
	Reader      io.Reader
	URL         string
	ContentType string
}

Request is struct that contains page data that want to be archived.

Jump to

Keyboard shortcuts

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