feat(system): add system status and software info endpoints
Add new endpoints to expose system status and software information: - /system/getStatus returns current system status (online/offline) - /system/getSoftwareInfo returns software version and build details Update API documentation to include new endpoints
This commit is contained in:
@@ -8,6 +8,9 @@ import (
|
||||
|
||||
func setupRoutes() {
|
||||
postLog.Info("Setting up routes...")
|
||||
http.HandleFunc("/system/getStatus", GetStatusHandler)
|
||||
http.HandleFunc("/system/getSoftwareInfo", GetSoftwareInfoHandler)
|
||||
|
||||
http.HandleFunc("/register", RegisterHandler)
|
||||
http.HandleFunc("/login", LoginHandler)
|
||||
http.HandleFunc("/logout", LogoutHandler)
|
||||
|
||||
Reference in New Issue
Block a user