diff --git a/main.go b/main.go index 5d7ba4c..48ab0b4 100644 --- a/main.go +++ b/main.go @@ -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)