source

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package source defines public job source configuration.

Index

Constants

View Source
const (
	TypeManual     = "manual"
	TypeRSS        = "rss"
	TypeGreenhouse = "greenhouse"
	TypeLever      = "lever"
	TypeAshby      = "ashby"
	TypeSmart      = "smartrecruiters"
	TypeWorkable   = "workable"
	TypeRecruitee  = "recruitee"

	// Scraper-backed sources. These are explicit opt-in connectors for sites
	// without public APIs. They do not log in, bypass CAPTCHA, or submit
	// applications, but they are fragile and may violate host Terms of Service.
	TypeLinkedIn  = "linkedin"
	TypeIndeed    = "indeed"
	TypeGlassdoor = "glassdoor"
	TypeHandshake = "handshake"
)

Variables

This section is empty.

Functions

func IsScraper

func IsScraper(t string) bool

IsScraper reports whether t is a scraper-backed source.

func SupportedType

func SupportedType(t string) bool

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.

Jump to

Keyboard shortcuts

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