pdf

package
v0.0.0-...-7ffc71e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePageDownloader

func CreatePageDownloader(cfg *site.Config, page *context.Page) http.HandlerFunc

CreatePageDownloader creates a handlerfunction for downloading a page

func Download

func Download(cfg *site.Config, page *context.Page) ([]byte, error)

Download a page pdf file

func GetPdfCommand

func GetPdfCommand(url string, path string) *exec.Cmd

GetPdfCommand creates the cmd for creating a pdf

func LookupHandler

func LookupHandler(s *site.Site) http.HandlerFunc

LookupHandler is a function for finding the page for a given request

Types

This section is empty.

Jump to

Keyboard shortcuts

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