bottin/responses.go

29 lines
424 B
Go
Raw Normal View History

2024-06-06 01:40:56 -04:00
package main
2024-02-15 19:32:50 -05:00
import "codeberg.org/vlbeaudoin/voki/v2"
2023-09-18 22:05:30 -04:00
2024-06-06 01:40:56 -04:00
type GetHealthResponse struct {
voki.ResponseWithError
}
type ListMembresResponse struct {
voki.ResponseWithError
Data struct {
Membres []Membre
}
}
type PostMembresResponse struct {
2024-02-15 19:32:50 -05:00
voki.ResponseWithError
Data struct {
MembresInserted int64
}
}
type PostProgrammesResponse struct {
2024-02-15 19:32:50 -05:00
voki.ResponseWithError
Data struct {
ProgrammesInserted int64
}
}