webpageanalyser

package module
v0.0.0-...-d5a6264 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyseWebpage

func AnalyseWebpage(w http.ResponseWriter, r *http.Request)

This will handle the webpage sent

Types

type Paragraph

type Paragraph struct {
	// contains filtered or unexported fields
}

type ProblemWords

type ProblemWords struct {
	Word      string `json:"word"`
	Locations []int  `json:"locations"`
	Message   string `json:"message"`
}

type Response

type Response struct {
	NumberOfParagraphs int            `json:"numberOfParagraphs"`
	Url                string         `json:"url"`
	Words              []ProblemWords `json:"problemWords"`
}

type Website

type Website struct {
	Url string `json:"url"`
}

Jump to

Keyboard shortcuts

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