first commit
This commit is contained in:
15 files changed
+725
No files matched your search
@@ -0,0 +1,13 @@
|
||||
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"`
|
||||
}
|
||||
Reference in new issue
Block a user