add url stats

This commit is contained in:
soukainna 2023-02-27 15:06:24 +01:00
parent 167e8cfe2e
commit 3b9ac66965
1 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,10 @@ func main() {
appAdmin.HandleFunc("/groups/{groupid}/invite-admin", applicationHandler.AdministrationGroupInviteAdmin)
appAdmin.HandleFunc("/groups/{groupid}/invite-member", applicationHandler.AdministrationGroupInviteMember)
appAdmin.HandleFunc("/stats/vehicles", applicationHandler.AdminStatVehicles)
//add statistiques
appAdmin.HandleFunc("/stats/vehicles/available", applicationHandler.AdminStatAvailableVehicles)
appAdmin.HandleFunc("/stats/beneficaires", applicationHandler.AdminStatBeneficaires)
appAdmin.HandleFunc("/stats/events", applicationHandler.AdminStatEvents)
fmt.Println("-> HTTP server listening on", address)