Security added on delete service and list all node + cleaning some code
This commit is contained in:
11
backend/models/login.go
Normal file
11
backend/models/login.go
Normal file
@ -0,0 +1,11 @@
|
||||
package models
|
||||
|
||||
type LoginRequest struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type LoginResponse struct {
|
||||
Message string `json:"message"`
|
||||
Role string `json:"role"`
|
||||
}
|
||||
Reference in New Issue
Block a user