mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-23 00:15:19 +03:00
Add authentication
This commit is contained in:
parent
a78c9f3dd4
commit
a5fbb7b58a
13 changed files with 306 additions and 7 deletions
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"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue