mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-11-05 00:25:49 +00:00
wip
This commit is contained in:
13
internal/types/handlers.go
Normal file
13
internal/types/handlers.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package types
|
||||
|
||||
// HealthCheckResponse is the response for the health check endpoint
|
||||
type HealthCheckResponse struct {
|
||||
Status int `json:"status" example:"200"`
|
||||
Message string `json:"message" example:"Ok"`
|
||||
}
|
||||
|
||||
// LogoutResponse is the response for the health check endpoint
|
||||
type LogoutResponse struct {
|
||||
Status int `json:"status" example:"200"`
|
||||
Message string `json:"message" example:"Logged out"`
|
||||
}
|
||||
Reference in New Issue
Block a user