14 lines
407 B
Go
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"`
|
|
}
|