controllers

package
v0.0.0-...-019b0ad Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageSourceController

type PageSourceController struct{}

func NewPageSourceController

func NewPageSourceController() *PageSourceController

constructor

func (*PageSourceController) GeneratePageSource

func (sc *PageSourceController) GeneratePageSource(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

Spawns a go routine to fetch html of given url and dumps it to a file

Jump to

Keyboard shortcuts

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