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.
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.
Click to show internal directories.
Click to hide internal directories.