Moved pager to the controller package. Added additional documentation.
This commit is contained in:
parent
1fb4d83e0d
commit
d28f02f8d6
5 changed files with 117 additions and 40 deletions
|
|
@ -1,8 +1,15 @@
|
|||
package context
|
||||
|
||||
const (
|
||||
// AuthenticatedUserKey is the key value used to store the authenticated user in context
|
||||
AuthenticatedUserKey = "auth_user"
|
||||
UserKey = "user"
|
||||
FormKey = "form"
|
||||
PasswordTokenKey = "password_token"
|
||||
|
||||
// UserKey is the key value used to store a user in context
|
||||
UserKey = "user"
|
||||
|
||||
// FormKey is the key value used to store a form in context
|
||||
FormKey = "form"
|
||||
|
||||
// PasswordTokenKey is the key value used to store a password token in context
|
||||
PasswordTokenKey = "password_token"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue