Trier déclarations de routes
This commit is contained in:
parent
1a8fce6361
commit
9e7a8b3e46
1 changed files with 4 additions and 2 deletions
|
@ -40,14 +40,16 @@ var serverCmd = &cobra.Command{
|
|||
|
||||
e.GET("/v4/", handlers.GetV4)
|
||||
|
||||
e.POST("/v4/seed/", handlers.PostSeed)
|
||||
e.POST("/v4/membres/", handlers.PostMembres)
|
||||
|
||||
e.GET("/v4/membres/:membre_id/", handlers.ReadMembre)
|
||||
e.POST("/v4/membres/", handlers.PostMembres)
|
||||
|
||||
e.PUT("/v4/membres/:membre_id/prefered_name/", handlers.PutMembrePreferedName)
|
||||
|
||||
e.POST("/v4/programmes/", handlers.PostProgrammes)
|
||||
|
||||
e.POST("/v4/seed/", handlers.PostSeed)
|
||||
|
||||
// Execution
|
||||
|
||||
connection := data.PostgresConnection{
|
||||
|
|
Loading…
Reference in a new issue