Files
wireguard-manager/model/user.go

10 lines
213 B
Go
Raw Normal View History

2020-04-24 18:14:54 +07:00
package model
// User model
type User struct {
Username string `json:"username"`
Password string `json:"password"`
// PasswordHash takes precedence over Password.
PasswordHash string `json:"password_hash"`
2020-04-24 18:14:54 +07:00
}