package
Version:
v2.4.0
Opens a new window with list of versions in this module.
Published: Apr 27, 2020
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 {
ID uint64 `json:"id"`
Login string `json:"login"`
Password string `json:"password,omitempty"`
}
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.