diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ func main() { http.HandleFunc("/", api.CreateFilesHandler(&logs, &n, logChan)) http.HandleFunc("/logs", api.CreateGetLogs(&logs)) + http.HandleFunc("/api/v1/logs", api.CreateGetLogs(&logs)) http.HandleFunc("/api/v1/auth/login", api.CreateLoginHandler(&logs, &n, logChan)) http.HandleFunc("/api/v1/king", func(w http.ResponseWriter, r *http.Request) { |