MCPcopy Create free account

hub / github.com/TomDoesTech/GOTTH / functions

Functions264 in github.com/TomDoesTech/GOTTH

↓ 1 callersFunctionkt
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionloadConfig
()
internal/config/config.go:11
↓ 1 callersFunctionlt
(t,r,e)
static/script/htmx.min.js:1
↓ 1 callersFunctionnav
()
internal/templates/layout_templ.go:102
↓ 1 callersFunctionnt
(e,t,r)
static/script/htmx.min.js:1
↓ 1 callersFunctionopen
(dbName string)
internal/store/db/db.go:12
↓ 1 callersFunctionor
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionot
(e,t,r)
static/script/htmx.min.js:1
↓ 1 callersFunctionpr
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionpt
(e,t,r)
static/script/htmx.min.js:1
↓ 1 callersFunctionqe
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionqr
(e,t)
static/script/htmx.min.js:1
↓ 1 callersFunctionqt
(e,t,r,n)
static/script/htmx.min.js:1
↓ 1 callersFunctionrr
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionsr
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionst
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionur
(e,t)
static/script/htmx.min.js:1
↓ 1 callersFunctionvr
(e,t)
static/script/htmx.min.js:1
↓ 1 callersFunctionwt
(e)
static/script/htmx.min.js:1
↓ 1 callersFunctionxt
(s,r,n)
static/script/htmx.min.js:1
↓ 1 callersFunctionzr
()
static/script/htmx.min.js:1
Function$
(e,t)
static/script/htmx.min.js:1
MethodAddUserToContext
(next http.Handler)
internal/middleware/middleware.go:119
FunctionBr
(e)
static/script/htmx.min.js:1
MethodComparePasswordAndHash
(password, encodedHash string)
internal/hash/passwordhash/passwordhash.go:73
MethodComparePasswordAndHash
(password string, encodedHash string)
internal/hash/mock/mock.go:9
MethodCreateSession
(session *store.Session)
internal/store/mock/mock.go:28
MethodCreateSession
(session *store.Session)
internal/store/dbstore/session.go:25
MethodCreateUser
(email string, password string)
internal/store/mock/mock.go:13
MethodCreateUser
(email string, password string)
internal/store/dbstore/user.go:27
FunctionF
(t)
static/script/htmx.min.js:1
MethodGenerateFromPassword
(password string)
internal/hash/passwordhash/passwordhash.go:37
MethodGenerateFromPassword
(password string)
internal/hash/mock/mock.go:14
MethodGetUser
(email string)
internal/store/mock/mock.go:19
MethodGetUser
(email string)
internal/store/dbstore/user.go:40
MethodGetUserFromSession
(sessionID string, userID string)
internal/store/mock/mock.go:33
MethodGetUserFromSession
(sessionID string, userID string)
internal/store/dbstore/session.go:37
FunctionMr
(l,u)
static/script/htmx.min.js:1
FunctionMt
(e)
static/script/htmx.min.js:1
FunctionMustOpen
(dbName string)
internal/store/db/db.go:23
FunctionNewAuthMiddleware
(sessionStore store.SessionStore, sessionCookieName string)
internal/middleware/middleware.go:108
FunctionNewHPasswordHash
()
internal/hash/passwordhash/passwordhash.go:22
FunctionOt
(e)
static/script/htmx.min.js:1
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
internal/handlers/notfound.go:14
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
internal/handlers/postlogout.go:22
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
internal/handlers/getabout.go:14
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
internal/handlers/getlogin.go:14
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
internal/handlers/getregister.go:14
FunctionTestCSPMiddleware
(t *testing.T)
internal/middleware/middleware_test.go:11
FunctionTestGetAboutHandler
(t *testing.T)
internal/handlers/getabout_test.go:14
FunctionTestLogin
(t *testing.T)
internal/handlers/postlogin_test.go:18
FunctionTestRegisterUserHandler
(t *testing.T)
internal/handlers/postregister_test.go:15
FunctionTextHTMLMiddleware
(next http.Handler)
internal/middleware/middleware.go:63
FunctionUr
(e,t)
static/script/htmx.min.js:1
FunctionV
()
static/script/htmx.min.js:1
FunctionW
(e,t)
static/script/htmx.min.js:1
FunctionXt
(e)
static/script/htmx.min.js:1
Function_
(e,t)
static/script/htmx.min.js:1
Functionde
(t,r,n)
static/script/htmx.min.js:1
Functionge
(t,r,n)
static/script/htmx.min.js:1
Functioninit
()
cmd/main.go:31
Functionj
()
static/script/htmx.min.js:1
Functionjt
(e)
static/script/htmx.min.js:1
Functionmain
()
cmd/main.go:37
← previous201–264 of 264, ranked by callers