Add authentication
This commit is contained in:
7
model/user.go
Normal file
7
model/user.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package model
|
||||
|
||||
// User model
|
||||
type User struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
Reference in New Issue
Block a user