Documentation
¶
Overview ¶
Package source defines public job source configuration.
Index ¶
Constants ¶
View Source
const ( TypeManual = "manual" TypeRSS = "rss" TypeGreenhouse = "greenhouse" TypeLever = "lever" TypeAshby = "ashby" // Scraper-backed sources. These types violate the host's Terms of // Service. They rely on headless Chrome (via chromedp) and DOM // selectors that drift over time. Expect breakage every few months // and accept that heavy use can get your IP / account flagged. TypeLinkedIn = "linkedin" TypeIndeed = "indeed" TypeGlassdoor = "glassdoor" )
Variables ¶
This section is empty.
Functions ¶
func IsScraper ¶
IsScraper reports whether t is a scraper-backed source. The importer routes these through internal/sources/scraper (headless browser) rather than the lightweight HTTP+JSON path used by the official-API types.
func SupportedType ¶
Types ¶
type Source ¶
type Source struct {
ID string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
URL string `json:"url,omitempty"`
CreatedAt time.Time `json:"created_at"`
LastCheckedAt time.Time `json:"last_checked_at,omitempty"`
Enabled bool `json:"enabled"`
}
Source is one configured public job listing source.
Click to show internal directories.
Click to hide internal directories.