Déplacer /v4 -> /v4/health
Renommer handler GetV4 pour GetHealth Ajouter GetHealthResponse pour serialize et deserialize json response
This commit is contained in:
parent
23d6507a96
commit
098d255190
3 changed files with 18 additions and 14 deletions
|
@ -49,7 +49,7 @@ var apiCmd = &cobra.Command{
|
|||
|
||||
// Routes
|
||||
|
||||
e.GET("/v4/", handlers.GetV4)
|
||||
e.GET("/v4/health", handlers.GetHealth)
|
||||
|
||||
e.POST("/v4/membres/", handlers.PostMembres)
|
||||
|
||||
|
|
Reference in a new issue