board

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnqueueBoard

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

EnqueueBoard publishes a new board to Redis Pub/Sub. It's the entrypoint for every scrape request.

func Routes

func Routes() *mux.Router

Routes /api entry point

Types

type Board

type Board struct {
	RawURL       string   `json:"url"`
	Host         string   `json:"host"`
	User         string   `json:"user"`
	Path         string   `json:"path"`
	PathSegments []string `json:"pathsegments"`
	UUID         string   `json:"uuid"`
}

Board contains the raw Pinterest URL, hostname, user, board path, path segments and a UUID.

Jump to

Keyboard shortcuts

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