Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SessionDataKey = struct{ key string }{/* contains filtered or unexported fields */}
SessionDataKey represents the key of JWT claim value stored in a context.
Functions ¶
func AuthenticateCreateUser ¶
func AuthenticateCreateUser(app *inits.App) gin.HandlerFunc
AuthenticateCreateUser authenticates the user session and adds user if user does not exist.
func PanicHandler ¶
PanicHandler logs all panics from rest endpoints.
Sec: DON'T log requests because of sensitive data.
Types ¶
Click to show internal directories.
Click to hide internal directories.