Documentation
¶
Index ¶
- func CheckInNetwork(next http.Handler) http.Handler
- func ConnectSqlite(filePath string) (*sql.DB, error)
- func DebugLog(message string)
- func ParseStartAndEndDate(r *http.Request) (string, string)
- func RunMigrations(db *sql.DB) error
- func StartAndEndDateToTime(startDate string, endDate string) (time.Time, time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckInNetwork ¶
Prevent out-of-network requests to dashboard endpoints
func ParseStartAndEndDate ¶
Get the start and end dates from the request, format them for comparison with the DB
func RunMigrations ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.