Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContextDatabase = "db" ContextCache = "cache" ContextFileStore = "fileStore" ContextUserID = "userID" ContextUserAccessLevel = "userAccessLevel" )
Context keys that can be used to fetch useful information from a request's context. Context availability depends on the middleware called before a handler.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomString ¶
Types ¶
type HTTPMessage ¶
type HTTPMessage struct {
Message string `json:"message"`
}
type SessionData ¶
Click to show internal directories.
Click to hide internal directories.