Versions in this module Expand all Collapse all v0 v0.0.4 Feb 22, 2023 Changes in this version + func ExpireWebauthnSession(session *sessions.Session, r *http.Request, w http.ResponseWriter) + func FetchWebauthnSession(session *sessions.Session, key string, r *http.Request) (webauthn.SessionData, error) + func GenChallenge() string + func GetUserIP(r *http.Request) string + func GetUsername(r *http.Request, regex string) (string, error) + func JSONResponse(w http.ResponseWriter, d interface{}, c int) + func PrettyPrint(data interface{}) + func SaveWebauthnSession(session *sessions.Session, key string, sessionData *webauthn.SessionData, ...) error + func SetupLogging(name, loggingLevel string) *logrus.Entry