Discover Packages
github.com/ski7777/gomultiwa
internal
user
package
Version:
v0.0.0-...-1599866
Opens a new window with list of versions in this module.
Published: Nov 20, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type User struct {
ID string `json:"id"`
Name string `json:"name"`
Mail string `json:"mail"`
Password string `json:"password"`
Clients *[]string `json:"clients"`
Admin bool `json:"admin"`
}
User represents all information of a user
type Users struct {
Users *[]*User `json:"users"`
}
Users represents a list of all users
NewUsers returns a new Users struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.