Package analytics provides the methods to run an analytics reporting system for API requests which may be useful to users for measuring access and possibly identifying bad actors abusing requests.
const RANGE = 14
RANGE determines the number of days ponzu request analytics and metrics are stored and displayed within the system
Backup writes a snapshot of the system.db database to an HTTP response. The output is discarded if we get a cancellation signal.
Close exports the abillity to close our db file. Should be called with defer after call to Init() from the same place.
Init creates a db connection, initializes the db with schema and data and sets up the queue/batching channel