add url stats
This commit is contained in:
parent
167e8cfe2e
commit
3b9ac66965
4
main.go
4
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue