Documentation ¶ Index ¶ type Query func New(r *http.Request) (query Query, err error) func (query *Query) PollForFinishedCrawl(store relationship.Store) (result *page.Page, err error) 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) Source Files ¶ View all Source files query.go Click to show internal directories. Click to hide internal directories.