Files
DeviceBookingAPI/models/responses.go
T
2022-09-26 16:40:40 -07:00

14 lines
407 B
Go

package models
// HealthCheckResponse returns the health check response duh
type HealthCheckResponse struct {
Alive bool `json:"alive"`
}
// UserResponse is a general response structure with a status, message and optional json data
type UserResponse struct {
Status int `json:"status"`
Message string `json:"message"`
Data map[string]interface{} `json:"data"`
}