From 3b9ac6696568113eea41984b60ddfe8a9c650c2c Mon Sep 17 00:00:00 2001 From: soukainna Date: Mon, 27 Feb 2023 15:06:24 +0100 Subject: [PATCH] add url stats --- main.go | 4 ++++ 1 file changed, 4 insertions(+) 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)