Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Router *gin.Engine `json:"router"` // The HTTP router DB *bolt.DB `json:"db"` // The database CWD *core.ChromeWebDriver `json:"cwd"` // The web driver / scraper Engine engine.Engine // The scraping engine Root string `json:"root"` // API root route Logger *loggo.Logger `json:"logger"` // The logger Client *http.Client `json:"client"` // The HTTP client }
API represents an API instance.
func (*API) StartServing ¶
StartServing starts serving the API.
Click to show internal directories.
Click to hide internal directories.