package
Version:
v2.6.11
Opens a new window with list of versions in this module.
Published: Mar 20, 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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.