package
Version:
v2.11.29
Opens a new window with list of versions in this module.
Published: Dec 25, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 10
Opens a new window with list of known importers.
Documentation
¶
StoreUser stores given User in context
type User struct {
Login string `json:"login"`
Password string `json:"password,omitempty"`
ID uint64 `json:"id"`
}
User of the app
NewUser creates new user with given id, login and profiles
ReadUser retrieves user from context
IsZero check if instance is valued or not
Source Files
¶
Click to show internal directories.
Click to hide internal directories.