package
Version:
v2.14.2
Opens a new window with list of versions in this module.
Published: Sep 3, 2022
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.