archive

package
v0.0.0-...-21415ec Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: AGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnableToCreateFile = errors.New("unable to create file")
	ErrURLFetchFailed     = errors.New("url fetch failed")
)

Functions

This section is empty.

Types

type ArchivedPage

type ArchivedPage struct {
	Title       string
	HTMLContent string
}

type Service

type Service struct{}

func New

func New() Service

func (*Service) FetchDetails

func (*Service) FetchDetails(ctx context.Context, url string) (*ArchivedPage, error)

Jump to

Keyboard shortcuts

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