misc

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

README

api/sinks/postgres/misc

Miscellaneous database queries that don't belong in a more specific subpackage. Currently provides one query: competition duration, derived by reading the timestamp of the first and last entries in the score archive.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompDuration

func GetCompDuration(ctx context.Context, db *pgxpool.Pool) (time.Duration, error)

GetCompDuration returns how long the competition has been running

Types

This section is empty.

Jump to

Keyboard shortcuts

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