feat: Create collection file for routes
This commit is contained in:
13
server/response.go
Normal file
13
server/response.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package server
|
||||
|
||||
type HealthCheckResponse struct {
|
||||
Database bool `json:"database"`
|
||||
API bool `json:"api"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type InternalServerErrorResponse struct {
|
||||
Status string `json:"status"`
|
||||
Code int `json:"code"`
|
||||
Message string `json:"message"`
|
||||
}
|
Reference in New Issue
Block a user