From 9671b4abf936f59b9d04f9d26b301e65fa78753d Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Fri, 8 Aug 2025 13:12:30 -0400 Subject: Log incidents --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index cc2b3d7..2ae6e3b 100644 --- a/main.go +++ b/main.go @@ -36,6 +36,8 @@ func main() { go parser(toLogParser, &king) + api.InitializeAPI(&logs, &n, toLogParser) + http.HandleFunc("/", api.CreateFilesHandler(&logs, &n, toLogParser)) http.HandleFunc("/logs", api.CreateGetLogs(&logs)) http.HandleFunc("/api/v1/logs", api.CreateGetLogs(&logs)) -- cgit