models

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	ID          string    `json:"id,omitempty"`
	Site        string    `json:"site"`
	Title       string    `json:"title"`
	Company     string    `json:"company"`
	Location    string    `json:"location"`
	URL         string    `json:"url"`
	Remote      bool      `json:"remote,omitempty"`
	JobType     string    `json:"job_type,omitempty"`
	Salary      string    `json:"salary,omitempty"`
	Description string    `json:"description,omitempty"`
	Snippet     string    `json:"snippet,omitempty"`
	PostedAt    time.Time `json:"posted_at,omitempty"`
	PostedAtRaw string    `json:"posted_at_raw,omitempty"`
}

Job is the normalized posting returned by scrapers.

type ScraperConfig

type ScraperConfig struct {
	Proxies    []string
	Timeout    time.Duration
	UserAgents []string
}

ScraperConfig contains runtime options shared by scrapers.

type SearchParams

type SearchParams struct {
	Query    string
	Location string
	Country  string
	Limit    int
	Offset   int
	Remote   bool
	JobType  string
	Hours    int
}

SearchParams captures the normalized search inputs used by scrapers.

Jump to

Keyboard shortcuts

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