geminipreviewer

package
v0.0.0-...-89d9964 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooManyRedirects = errors.New("too many redirects")

Functions

This section is empty.

Types

type Previewer

type Previewer struct {
	Client      *gemini.Client
	LengthLimit int64
}

func (*Previewer) Preview

func (p *Previewer) Preview(ctx context.Context, u *url.URL) (urlpreview.Preview, error)

Jump to

Keyboard shortcuts

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