Directories
¶
| Path | Synopsis |
|---|---|
|
cli
|
|
|
cmd-account
Package cmdaccount is the session and the tokens: callback login, logout, whoami and token.
|
Package cmdaccount is the session and the tokens: callback login, logout, whoami and token. |
|
cmd-applications
Package cmdapplications is the commands on the applications: callback add, ls, show, edit, rm and stats.
|
Package cmdapplications is the commands on the applications: callback add, ls, show, edit, rm and stats. |
|
cmd-mcp
Package cmdmcp serves the applications to an agent over MCP, a client of the API like the rest of the CLI: the rules (statuses, dates, batches) are those of the server.
|
Package cmdmcp serves the applications to an agent over MCP, a client of the API like the rest of the CLI: the rules (statuses, dates, batches) are those of the server. |
|
services/apiclient
Package apiclient provides primitives to interact with the openapi HTTP API.
|
Package apiclient provides primitives to interact with the openapi HTTP API. |
|
services/apiclient/apitest
Package apitest serves the real API to the tests of the CLI commands and the MCP, which are clients of it.
|
Package apitest serves the real API to the tests of the CLI commands and the MCP, which are clients of it. |
|
services/output
Package output prints the answers of the commands: JSON for scripts, aligned tables for people.
|
Package output prints the answers of the commands: JSON for scripts, aligned tables for people. |
|
cmd
|
|
|
callback
command
callback is the CLI of the job application tracker, a client of the API of callback-server: it never opens the base.
|
callback is the CLI of the job application tracker, a client of the API of callback-server: it never opens the base. |
|
callback-server
command
callback-server is the only binary on the base: the API, the web app, the MCP over HTTP, and the admin's commands.
|
callback-server is the only binary on the base: the API, the web app, the MCP over HTTP, and the admin's commands. |
|
Package config is the CLI's commands, their help and flags (config.yaml, built in), and the app's name.
|
Package config is the CLI's commands, their help and flags (config.yaml, built in), and the app's name. |
|
core
|
|
|
api
Package api is the HTTP API: one folder per route, each running a process of core/services/process.
|
Package api is the HTTP API: one folder per route, each running a process of core/services/process. |
|
api/create-applications
Package createapplications creates applications: POST /api/applications.
|
Package createapplications creates applications: POST /api/applications. |
|
api/delete-applications
Package deleteapplications deletes applications: DELETE /api/applications.
|
Package deleteapplications deletes applications: DELETE /api/applications. |
|
api/edit-applications
Package editapplications changes applications: PATCH /api/applications.
|
Package editapplications changes applications: PATCH /api/applications. |
|
api/export-data
Package exportdata gives everything the account wrote as one JSON file: GET /api/export.
|
Package exportdata gives everything the account wrote as one JSON file: GET /api/export. |
|
api/forget-applications
Package forgetapplications deletes applications from the trash for good: DELETE /api/applications/deleted.
|
Package forgetapplications deletes applications from the trash for good: DELETE /api/applications/deleted. |
|
api/import-data
Package importdata restores an export: POST /api/import.
|
Package importdata restores an export: POST /api/import. |
|
api/invites
Package invites is the invitations to sign up, which an admin hands out in the invitation mode.
|
Package invites is the invitations to sign up, which an admin hands out in the invitation mode. |
|
api/login
Package login is the session: log in, log out, and who is asking.
|
Package login is the session: log in, log out, and who is asking. |
|
api/preferences
Package preferences reads and changes the preferences of the account: GET and PATCH /api/preferences.
|
Package preferences reads and changes the preferences of the account: GET and PATCH /api/preferences. |
|
api/purge-applications
Package purgeapplications deletes every application, to start a new job search: DELETE /api/data.
|
Package purgeapplications deletes every application, to start a new job search: DELETE /api/data. |
|
api/read-applications
Package readapplications lists applications: GET /api/applications.
|
Package readapplications lists applications: GET /api/applications. |
|
api/read-countries
Package readcountries lists the countries an application can name: GET /api/countries.
|
Package readcountries lists the countries an application can name: GET /api/countries. |
|
api/read-deleted-applications
Package readdeletedapplications lists the trash: GET /api/applications/deleted.
|
Package readdeletedapplications lists the trash: GET /api/applications/deleted. |
|
api/read-sources
Package readsources lists the sources in use: GET /api/sources.
|
Package readsources lists the sources in use: GET /api/sources. |
|
api/read-stats
Package readstats counts the applications: GET /api/stats.
|
Package readstats counts the applications: GET /api/stats. |
|
api/read-status-changes
Package readstatuschanges gives the status history: GET /api/status-changes.
|
Package readstatuschanges gives the status history: GET /api/status-changes. |
|
api/restore-applications
Package restoreapplications restores deleted applications: POST /api/applications/restore.
|
Package restoreapplications restores deleted applications: POST /api/applications/restore. |
|
api/services/auth
Package auth lets through the requests with a valid token only, and tells the routes which one.
|
Package auth lets through the requests with a valid token only, and tells the routes which one. |
|
api/services/guard
Package guard keeps the web pages of other sites away from the API: they could use the session cookie.
|
Package guard keeps the web pages of other sites away from the API: they could use the session cookie. |
|
api/services/respond
Package respond is what every route shares: reading the request, writing JSON, turning process errors into statuses.
|
Package respond is what every route shares: reading the request, writing JSON, turning process errors into statuses. |
|
api/services/throttle
Package throttle makes an address wait longer after each try in a row: wrong passwords at the login and on the OAuth consent page, accounts created from one address at the public sign-up.
|
Package throttle makes an address wait longer after each try in a row: wrong passwords at the login and on the OAuth consent page, accounts created from one address at the public sign-up. |
|
api/tokens
Package tokens manages the API tokens and OAuth connections: refused to a token, a login only.
|
Package tokens manages the API tokens and OAuth connections: refused to a token, a login only. |
|
api/users
Package users is the accounts of the multi mode: the sign-up, and the routes an admin runs the others with.
|
Package users is the accounts of the multi mode: the sign-up, and the routes an admin runs the others with. |
|
domain
Package domain holds the models: their bun tags are the schema, their json tags the API's JSON and the web app's types.
|
Package domain holds the models: their bun tags are the schema, their json tags the API's JSON and the web app's types. |
|
server/cmd-admin
Package cmdadmin is the admin's commands of callback-server: they run on the base, on the server's machine.
|
Package cmdadmin is the admin's commands of callback-server: they run on the base, on the server's machine. |
|
server/cmd-serve
Package cmdserve is callback-server serve: the API, the web app next to it, and the MCP over HTTP on its own address.
|
Package cmdserve is callback-server serve: the API, the web app next to it, and the MCP over HTTP on its own address. |
|
server/mcphttp
Package mcphttp serves the MCP tools of callback mcp over streamable HTTP, for an agent that cannot run callback where it runs (the Claude app calls from Anthropic's cloud).
|
Package mcphttp serves the MCP tools of callback mcp over streamable HTTP, for an agent that cannot run callback where it runs (the Claude app calls from Anthropic's cloud). |
|
server/oauth
Package oauth makes the MCP address an OAuth 2.1 authorization server, as the MCP specification describes: the metadata, an open dynamic client registration, the consent page and the token endpoint.
|
Package oauth makes the MCP address an OAuth 2.1 authorization server, as the MCP specification describes: the metadata, an open dynamic client registration, the consent page and the token endpoint. |
|
services/appfilter
Package appfilter turns a domain.Filter into the WHERE of a query on applications: the list, the batch update and the batch delete pick the same rows for the same filter.
|
Package appfilter turns a domain.Filter into the WHERE of a query on applications: the list, the batch update and the batch delete pick the same rows for the same filter. |
|
services/applists
Package applists reads and writes the interviews and contacts of applications, by their ids: the callers check the account.
|
Package applists reads and writes the interviews and contacts of applications, by their ids: the callers check the account. |
|
services/database
Package database opens the base: a SQLite file through the pure Go driver (no cgo, the image is scratch), or a Postgres base when the DSN is a postgres:// URL.
|
Package database opens the base: a SQLite file through the pure Go driver (no cgo, the image is scratch), or a Postgres base when the DSN is a postgres:// URL. |
|
services/password
Package password hashes the passwords of the account with argon2id, and makes the session tokens.
|
Package password hashes the passwords of the account with argon2id, and makes the session tokens. |
|
services/process/createapitoken
Package createapitoken makes an API token, for a script or an agent: shown once, the base keeps its hash.
|
Package createapitoken makes an API token, for a script or an agent: shown once, the base keeps its hash. |
|
services/process/createapplications
Package createapplications creates a batch of applications in one transaction: the valid ones are written, the others listed with their error.
|
Package createapplications creates a batch of applications in one transaction: the valid ones are written, the others listed with their error. |
|
services/process/createinvite
Package createinvite makes an invitation for the sign-up: the base keeps its hash, and its token sealed when CALLBACK_SECRET is set.
|
Package createinvite makes an invitation for the sign-up: the base keeps its hash, and its token sealed when CALLBACK_SECRET is set. |
|
services/process/createoauthcode
Package createoauthcode is the consent of the OAuth page: the password checked, an authorization code for the client.
|
Package createoauthcode is the consent of the OAuth page: the password checked, an authorization code for the client. |
|
services/process/createoauthtoken
Package createoauthtoken exchanges an OAuth authorization code for a new connection: a token of kind oauth.
|
Package createoauthtoken exchanges an OAuth authorization code for a new connection: a token of kind oauth. |
|
services/process/createschema
Package createschema creates what the base lacks, at every start: tables, indexes, the columns a model gained, then the one-time migrations.
|
Package createschema creates what the base lacks, at every start: tables, indexes, the columns a model gained, then the one-time migrations. |
|
services/process/createsession
Package createsession logs in: the name and password checked, a session made for the device.
|
Package createsession logs in: the name and password checked, a session made for the device. |
|
services/process/createuser
Package createuser is the sign-up of the multi mode: an account created by an invitation, or by anyone in the public mode.
|
Package createuser is the sign-up of the multi mode: an account created by an invitation, or by anyone in the public mode. |
|
services/process/deleteapplications
Package deleteapplications deletes the applications of ids or filters in one transaction: they go to the trash for the preferences' trash_days, then are gone with their history.
|
Package deleteapplications deletes the applications of ids or filters in one transaction: they go to the trash for the preferences' trash_days, then are gone with their history. |
|
services/process/deleteinvite
Package deleteinvite revokes an invitation, of any admin.
|
Package deleteinvite revokes an invitation, of any admin. |
|
services/process/deletesession
Package deletesession logs this device out: its session token is deleted.
|
Package deletesession logs this device out: its session token is deleted. |
|
services/process/deletetoken
Package deletetoken revokes an API token or an OAuth connection.
|
Package deletetoken revokes an API token or an OAuth connection. |
|
services/process/deleteuser
Package deleteuser deletes an account for good with everything it holds: its applications, its trash, their history and follow-ups, its tokens, OAuth codes and the invitations it made.
|
Package deleteuser deletes an account for good with everything it holds: its applications, its trash, their history and follow-ups, its tokens, OAuth codes and the invitations it made. |
|
services/process/editpassword
Package editpassword changes the password of the account logged in, given its current one, and logs its other devices out.
|
Package editpassword changes the password of the account logged in, given its current one, and logs its other devices out. |
|
services/process/exportdata
Package exportdata reads every application, the trash, the status history and the follow-ups into a Backup.
|
Package exportdata reads every application, the trash, the status history and the follow-ups into a Backup. |
|
services/process/forgetapplications
Package forgetapplications deletes applications from the trash for good, with their history: some by ids, or all.
|
Package forgetapplications deletes applications from the trash for good, with their history: some by ids, or all. |
|
services/process/importdata
Package importdata restores a Backup in one transaction.
|
Package importdata restores a Backup in one transaction. |
|
services/process/listapplications
Package listapplications reads applications: a filtered, sorted page, some columns only, comments cut.
|
Package listapplications reads applications: a filtered, sorted page, some columns only, comments cut. |
|
services/process/listdeletedapplications
Package listdeletedapplications lists the trash: the applications deleted within the preferences' trash_days, the last deleted first.
|
Package listdeletedapplications lists the trash: the applications deleted within the preferences' trash_days, the last deleted first. |
|
services/process/listinvites
Package listinvites gives the invitations still usable, of every admin: neither used nor expired, newest first.
|
Package listinvites gives the invitations still usable, of every admin: neither used nor expired, newest first. |
|
services/process/listsources
Package listsources gives the sources the applications use, the most used first: the form offers them.
|
Package listsources gives the sources the applications use, the most used first: the form offers them. |
|
services/process/liststatuschanges
Package liststatuschanges gives the status history of the applications, oldest first: the dashboard's funnel and response delays come from it, an agent reads it for some applications or since a day.
|
Package liststatuschanges gives the status history of the applications, oldest first: the dashboard's funnel and response delays come from it, an agent reads it for some applications or since a day. |
|
services/process/listtokens
Package listtokens lists the API tokens and OAuth connections, newest first: not the sessions.
|
Package listtokens lists the API tokens and OAuth connections, newest first: not the sessions. |
|
services/process/listusers
Package listusers gives every account, for an admin: no password hash, no preferences.
|
Package listusers gives every account, for an admin: no password hash, no preferences. |
|
services/process/markunanswered
Package markunanswered moves to no_reply the applications waiting on the employer without news for some days: no follow-up, status change nor interview since, else since the day they applied, as the untouched_since filter.
|
Package markunanswered moves to no_reply the applications waiting on the employer without news for some days: no follow-up, status change nor interview since, else since the day they applied, as the untouched_since filter. |
|
services/process/purgeapplications
Package purgeapplications deletes every application and its status history, to start a new job search: the password, the preferences, the sessions and the tokens stay.
|
Package purgeapplications deletes every application and its status history, to start a new job search: the password, the preferences, the sessions and the tokens stay. |
|
services/process/purgetokens
Package purgetokens deletes what expired: sessions, tokens, OAuth connections and codes, login failures.
|
Package purgetokens deletes what expired: sessions, tokens, OAuth connections and codes, login failures. |
|
services/process/readpreferences
Package readpreferences gives the preferences of the account of ctx, the defaults where none was saved.
|
Package readpreferences gives the preferences of the account of ctx, the defaults where none was saved. |
|
services/process/readstats
Package readstats counts the applications by status and by source, without reading them.
|
Package readstats counts the applications by status and by source, without reading them. |
|
services/process/readtoken
Package readtoken finds the token a client sent: a session, which starts its lifetime again, an API token, or the access token of an OAuth connection.
|
Package readtoken finds the token a client sent: a session, which starts its lifetime again, an API token, or the access token of an OAuth connection. |
|
services/process/refreshoauthtoken
Package refreshoauthtoken gives an OAuth connection new tokens for its refresh token.
|
Package refreshoauthtoken gives an OAuth connection new tokens for its refresh token. |
|
services/process/renameuser
Package renameuser changes the name of the account logged in, the one it logs in with.
|
Package renameuser changes the name of the account logged in, the one it logs in with. |
|
services/process/restoreapplications
Package restoreapplications brings deleted applications back from the trash, with their history: the undo of a delete, within the preferences' trash_days.
|
Package restoreapplications brings deleted applications back from the trash, with their history: the undo of a delete, within the preferences' trash_days. |
|
services/process/setpassword
Package setpassword sets the password of an account, and logs out its sessions: a new password is how a lost device is shut out.
|
Package setpassword sets the password of an account, and logs out its sessions: a new password is how a lost device is shut out. |
|
services/process/updateapplications
Package updateapplications changes applications in one transaction: each op picks applications by ids or filters and sets fields.
|
Package updateapplications changes applications in one transaction: each op picks applications by ids or filters and sets fields. |
|
services/process/updatepreferences
Package updatepreferences changes the preferences of the account of ctx: those left out keep their value.
|
Package updatepreferences changes the preferences of the account of ctx: those left out keep their value. |
|
services/secret
Package secret seals the few values the base must give back, not only check (the invitation links), with the server's key CALLBACK_SECRET (AES-256-GCM): a stolen base or backup does not give them away.
|
Package secret seals the few values the base must give back, not only check (the invitation links), with the server's key CALLBACK_SECRET (AES-256-GCM): a stolen base or backup does not give them away. |
|
services/seed
Package seed creates applications for the tests.
|
Package seed creates applications for the tests. |
|
services/testdb
Package testdb gives each test a base of its own, in memory, with the schema.
|
Package testdb gives each test a base of its own, in memory, with the schema. |
|
services/testserver
Package testserver serves the real API on a base of its own, for the tests of its clients (the routes, the CLI, the MCP, the OAuth).
|
Package testserver serves the real API on a base of its own, for the tests of its clients (the routes, the CLI, the MCP, the OAuth). |
|
services/trash
Package trash moves deleted applications aside for the preferences' trash_days, so a delete can be undone, then forgets them with their history.
|
Package trash moves deleted applications aside for the preferences' trash_days, so a delete can be undone, then forgets them with their history. |
Click to show internal directories.
Click to hide internal directories.