# Functions

DeleteCommandsByDays deletes records older than n days.
GetAllCommandsForCategoryForPeriod fetches all commands for a given category and period.
GetAllCommandsForPeriod fetches all commands for a given period.
GetCommandById fetches a command by its ID.
InsertCommand inserts a command into the database.
IsCommandAcceptable checks if a command string matches a configured regex pattern.
No description provided by the author
NewCollector creates a new collector instance.
ParseCommand extracts the command name from a command string.

# Constants

TODO move this to /var/run or other appropriate location based on OS, TODO /var/run has issues with permisisons os have to explore a bit more.

# Structs

AuthConfig contains the configuration for the command processing and authentication.
Collector collects command and system information.
Command is the model for command.
IntervalConfig contains the configuration for the collection intervals.