[BREAKING] Ajouter response.Data pour GetHealth
Implémenter GetHealthResponse et GetHealthResponseData
This commit is contained in:
parent
fe1caec61e
commit
53c5d8f1c6
2 changed files with 20 additions and 5 deletions
|
@ -4,6 +4,16 @@ import (
|
|||
"git.agecem.com/agecem/bottin-agenda/models"
|
||||
)
|
||||
|
||||
type GetHealthResponseData struct {
|
||||
Bottin string `json:"bottin"`
|
||||
Database string `json:"database"`
|
||||
}
|
||||
|
||||
type GetHealthResponse struct {
|
||||
Message string `json:"message"`
|
||||
Data GetHealthResponseData `json:"data"`
|
||||
}
|
||||
|
||||
type PostSeedResponse struct {
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
|
Reference in a new issue