query

package
v0.0.0-...-df4f15f Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	Url          string     `json:"url"`
	Depth        int        `json:"depth"`
	DisplayDepth int        `json:"display_depth"`
	StatusCode   int        `json:"statusCode"`
	Results      *page.Page `json:"results"`
}

Query contains queried URL, depth and the resulting page data

func New

func New(r *http.Request) (query Query, err error)

func (*Query) PollForFinishedCrawl

func (query *Query) PollForFinishedCrawl(store relationship.Store) (result *page.Page, err error)

Jump to

Keyboard shortcuts

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