epub

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	*epub.Epub

	Client *http.Client
	CSS    io.Reader
	OG     *opengraph.OpenGraph
	// contains filtered or unexported fields
}
Example
d := NewDocument(pocket.Item{})
err := d.Fill(context.TODO())
if err != nil {
	log.Fatal(err)
}
err = d.Write(os.Args[2])
if err != nil {
	log.Fatal(err)
}
Output:

func NewDocument

func NewDocument(item pocket.Item) *Document

func (*Document) Fill

func (d *Document) Fill(ctx context.Context) error

Jump to

Keyboard shortcuts

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