services/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT

Directories

Path Synopsis
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.
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.
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.
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.
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.
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.
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.
createsession
Package createsession logs in: the password checked, a session made for the device.
Package createsession logs in: the password checked, a session made for the device.
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.
deletesession
Package deletesession logs this device out: its session token is deleted.
Package deletesession logs this device out: its session token is deleted.
deletetoken
Package deletetoken revokes an API token or an OAuth connection.
Package deletetoken revokes an API token or an OAuth connection.
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.
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.
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.
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.
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.
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.
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.
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.
readpreferences
Package readpreferences gives the preferences of the account, the defaults where none was saved.
Package readpreferences gives the preferences of the account, the defaults where none was saved.
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.
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.
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.
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.
setpassword
Package setpassword sets the password of the one account, and logs out every session: a new password is how a lost device is shut out.
Package setpassword sets the password of the one account, and logs out every session: a new password is how a lost device is shut out.
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.
updatepreferences
Package updatepreferences changes the preferences of the account: those left out keep their value.
Package updatepreferences changes the preferences of the account: those left out keep their value.
Package seed creates applications for the tests.
Package seed creates applications for the tests.
Package sqlite opens the base: one SQLite file, through the pure Go driver (no cgo, the image is scratch).
Package sqlite opens the base: one SQLite file, through the pure Go driver (no cgo, the image is scratch).
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.
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).
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.

Jump to

Keyboard shortcuts

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