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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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