package
Version:
v0.0.0-...-a121bc4
Opens a new window with list of versions in this module.
Published: Jun 24, 2023
License: EUPL-1.2
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package database holds the database connection and functions for the service.
DB wraps the database connection and stores the access counter.
Open opens a database connection and returns a DB instance.
Close closes the database connection.
Count returns the current access counter.
Increment increments the access counter and stores the access in the database.
Ping checks if the PostgreSQL database is accessible by executing a simple query.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.