bwilliams 5cb3601e1f Added fetch service and a mock Find a Tender server
Fetching:
- Add `fetch service`, which runs a worker per enabled source until
  SIGINT/SIGTERM (internal/fetcher)
- Add util.Worker: runs a task on an interval with a since-checkpoint
  that only advances on success, and a shutdown timeout for in-flight
  work; plus AwaitTask/AwaitTaskE for calls that ignore cancellation
- Add fts_mock and sleeper sources
- Sleeper: sleeps periodically to emulate work being done. Can be
  instructed to block the shutdown signal or handle it cleanly

Mock FTS server (cmd/mock-fts, internal/mock/findATender):
- Serves GET /api/1.0/ocdsReleasePackages with FTS paging, query
  validation, UK local time handling and per-client rate limiting
- Generates fictional releases from an embedded catalog, moving
  procedures through planning, tender and award, and keeps them in a
  JSON Lines store that survives restarts
- Add logging.AccessLog for combined/common access logs
2026-10-09 18:02:32 +01:00
2026-10-09 17:58:48 +01:00
2026-09-23 14:32:50 +01:00
2026-09-23 14:32:50 +01:00

JobSearch

JobSearch is a service for scraping for contract opportunities. It is primarily a re-write of the existing nodeJS JobSearch codebase.

Installation of dev tools

A number of tools have been used in the development of the project. Installation of these tools can be done using go install.

To install the tools:

go install github.com/spf13/cobra-cli@latest
go install git.avsdev.uk/Go/go-ocds/cmd/ocdsgen@latest

Ensure that the GOBIN path ($HOME/go/bin) is added to the environment before running any of the tools.

S
Description
No description provided
Readme
1.3 MiB
0 Stars 1 Watchers 0 Forks
2026-10-22 13:13:36 +01:00
Languages
Go 80.2%
TypeScript 18.8%
Shell 0.4%
JavaScript 0.3%
CSS 0.2%