Documentation ¶
Index ¶
Constants ¶
View Source
const AnonymousUserID = 0
AnonymousUserID is the ID only an unauthenticated user can have.
View Source
const CurrentUserKey = ContextKey("currentUser")
CurrentUserKey is the Context key used for the current user.
Variables ¶
View Source
var AnonymousUser = User{ ID: AnonymousUserID, Name: "Anonymous", }
AnonymousUser represents an unauthenticated user
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.