Ajouter apihandler.ScanGET

Ajouter *bottin.Data#ApiClient à APIHandler

Implémenter BottinStatus dans apihandler.HealthGET
This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-16 15:05:13 -04:00
parent 916a83fc02
commit 309942921d
5 changed files with 93 additions and 5 deletions

View file

@ -16,3 +16,11 @@ type HealthGET struct {
DBStatus string
}
}
// ScanGET is the response type for `GET /v:version/scan/ http/1.1`
type ScanGET struct {
Response
Data struct {
IsScanned bool
}
}