MCPcopy Create free account

hub / github.com/Zhenye-Na/giligili / functions

Functions100 in github.com/Zhenye-Na/giligili

↓ 8 callersFunctionpopupErrorMsg
(msg)
templates/scripts/home.js:272
↓ 6 callersFunctionsendErrorResponse
(w http.ResponseWriter, sc int, errMsg string)
streamserver/response.go:8
↓ 6 callersFunctionsetCookie
(cname, cvalue, exmin)
templates/scripts/home.js:209
↓ 4 callersFunctionclearTables
()
api/dbops/api_test.go:13
↓ 4 callersFunctionsendErrorResponse
(w http.ResponseWriter, errResp defs.ErrResponse)
api/response.go:10
↓ 3 callersFunctionnormalResponse
(w http.ResponseWriter, r *http.Response)
web/client.go:58
↓ 3 callersFunctionsendResponse
(w http.ResponseWriter, sc int, resp string)
scheduler/response.go:8
↓ 2 callersFunctionGetUserCredential
(loginName string)
api/dbops/api.go:28
↓ 2 callersFunctionGetVideoInfo
(vid string)
api/dbops/api.go:88
↓ 2 callersFunctionNewRunner
(size int, longlived bool, d fn, e fn)
scheduler/taskrunner/runner.go:16
↓ 2 callersMethodStartAll
()
scheduler/taskrunner/runner.go:67
↓ 2 callersFunctiongetCookie
(cname)
templates/scripts/home.js:216
↓ 2 callersFunctionnowInMilli
()
api/session/ops.go:17
↓ 2 callersFunctionpopupNotificationMsg
(msg)
templates/scripts/home.js:265
↓ 2 callersFunctionrefreshComments
(vid)
templates/scripts/home.js:242
↓ 2 callersFunctionselectVideo
(vid)
templates/scripts/home.js:232
↓ 1 callersFunctionAddNewComments
(vid string, aid int, content string)
api/dbops/api.go:126
↓ 1 callersFunctionAddNewVideo
(aid int, name string)
api/dbops/api.go:61
↓ 1 callersFunctionAddUserCredential
(loginName string, pwd string)
api/dbops/api.go:13
↓ 1 callersFunctionDeleteUser
(loginName string, pwd string)
api/dbops/api.go:45
↓ 1 callersFunctionDeleteVideoInfo
(vid string)
api/dbops/api.go:111
↓ 1 callersMethodGetConn
()
streamserver/limiter.go:19
↓ 1 callersFunctionListComments
(vid string, from, to int)
api/dbops/api.go:146
↓ 1 callersFunctionNewConnLimiter
(cc int)
streamserver/limiter.go:12
↓ 1 callersFunctionNewMiddleWareHandler
(r *httprouter.Router)
api/main.go:12
↓ 1 callersFunctionNewMiddleWareHandler
(r *httprouter.Router, cc int)
streamserver/main.go:13
↓ 1 callersFunctionNewWorker
(interval time.Duration, r *Runner)
scheduler/taskrunner/trmain.go:13
↓ 1 callersFunctionRegisterHandler
()
web/main.go:9
↓ 1 callersFunctionRegisterHandlers
()
scheduler/main.go:9
↓ 1 callersFunctionRegisterHandlers
()
api/main.go:25
↓ 1 callersFunctionRegisterHandlers
()
streamserver/main.go:20
↓ 1 callersMethodReleaseConn
()
streamserver/limiter.go:29
↓ 1 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
api/main.go:18
↓ 1 callersFunctioncreateVideo
(vname, callback)
templates/scripts/home.js:476
↓ 1 callersFunctiondeleteExpiredSession
(sid string)
api/session/ops.go:21
↓ 1 callersFunctiondeleteVideo
(vid string)
scheduler/taskrunner/tasks.go:11
↓ 1 callersFunctiondeleteVideo
(vid, callback)
templates/scripts/home.js:545
↓ 1 callersFunctiongetUserId
(callback)
templates/scripts/home.js:448
↓ 1 callersFunctionhtmlCommentListElement
(cid, author, content)
templates/scripts/home.js:279
↓ 1 callersFunctionhtmlVideoListElement
(vid, name, ctime)
templates/scripts/home.js:302
↓ 1 callersFunctioninitPage
(callback)
templates/scripts/home.js:182
↓ 1 callersFunctionlistAllComments
(vid, callback)
templates/scripts/home.js:616
↓ 1 callersFunctionlistAllVideos
(callback)
templates/scripts/home.js:513
↓ 1 callersFunctionpostComment
(vid, content, callback)
templates/scripts/home.js:578
↓ 1 callersFunctionregisterUser
(callback)
templates/scripts/home.js:353
↓ 1 callersFunctionrequest
(b *ApiBody, w http.ResponseWriter, r *http.Request)
web/client.go:18
↓ 1 callersFunctionsendNormalResponse
(w http.ResponseWriter, resp string, sc int)
api/response.go:17
↓ 1 callersFunctionsigninUser
(callback)
templates/scripts/home.js:402
↓ 1 callersMethodstartDispatch
()
scheduler/taskrunner/runner.go:28
↓ 1 callersMethodstartWorker
()
scheduler/taskrunner/trmain.go:20
↓ 1 callersFunctionvalidateUserSession
(r *http.Request)
api/auth.go:13
FunctionAddVideoDeletionRecord
(vid string)
scheduler/dbops/api.go:8
FunctionCreateUser
(w http.ResponseWriter, r *http.Request, p httprouter.Params)
api/handlers.go:14
FunctionDelVideoDeletionRecord
(vid string)
scheduler/dbops/internal.go:36
FunctionDeleteSession
(sid string)
api/dbops/internal.go:87
FunctionGenerateNewSessionId
(username string)
api/session/ops.go:39
FunctionInsertSession
(sid string, ttl int64, uname string)
api/dbops/internal.go:11
FunctionIsSessionExpired
(sid string)
api/session/ops.go:51
FunctionLoadSessionsFromDB
()
api/session/ops.go:26
FunctionLogin
(w http.ResponseWriter, r *http.Request, p httprouter.Params)
api/handlers.go:39
FunctionNewUUID
()
api/utils/uuid.go:9
FunctionReadVideoDeletionRecord
(count int)
scheduler/dbops/internal.go:8
FunctionRetrieveAllSessions
()
api/dbops/internal.go:52
FunctionRetrieveSession
(sid string)
api/dbops/internal.go:27
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
streamserver/main.go:32
FunctionStart
()
scheduler/taskrunner/trmain.go:29
FunctionTestComments
(t *testing.T)
api/dbops/api_test.go:103
FunctionTestMain
(m *testing.M)
api/dbops/api_test.go:20
FunctionTestRunner
(t *testing.T)
scheduler/taskrunner/runner_test.go:10
FunctionTestUserWorkFlow
(t *testing.T)
api/dbops/api_test.go:26
FunctionTestVideoWorkFlow
(t *testing.T)
api/dbops/api_test.go:65
FunctionValidateUser
(w http.ResponseWriter, r *http.Request)
api/auth.go:28
FunctionVideoClearDispatcher
(dc dataChan)
scheduler/taskrunner/tasks.go:22
FunctionVideoClearExecutor
(dc dataChan)
scheduler/taskrunner/tasks.go:40
FunctionapiHandler
(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
web/handlers.go:69
FunctionhomeHandler
(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
web/handlers.go:23
Functioninit
()
scheduler/dbops/conn.go:13
Functioninit
()
api/dbops/conn.go:13
Functioninit
()
api/session/ops.go:13
Functioninit
()
web/client.go:14
Functionmain
()
scheduler/main.go:17
Functionmain
()
api/main.go:35
Functionmain
()
web/main.go:24
Functionmain
()
streamserver/main.go:42
FunctionproxyHandler
(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
web/handlers.go:87
FunctionstreamHandler
(w http.ResponseWriter, r *http.Request, p httprouter.Params)
streamserver/handlers.go:21
FunctiontestAddComments
(t *testing.T)
api/dbops/api_test.go:110
FunctiontestAddUser
(t *testing.T)
api/dbops/api_test.go:33
FunctiontestAddVideoInfo
(t *testing.T)
api/dbops/api_test.go:74
FunctiontestDeleteUser
(t *testing.T)
api/dbops/api_test.go:47
FunctiontestDeleteVideoInfo
(t *testing.T)
api/dbops/api_test.go:89
FunctiontestGetUser
(t *testing.T)
api/dbops/api_test.go:40
FunctiontestGetVideoInfo
(t *testing.T)
api/dbops/api_test.go:82
FunctiontestListComments
(t *testing.T)
api/dbops/api_test.go:122
FunctiontestPageHandler
(w http.ResponseWriter, r *http.Request, p httprouter.Params)
streamserver/handlers.go:14
FunctiontestRegetUser
(t *testing.T)
api/dbops/api_test.go:54
FunctiontestRegetVideoInfo
(t *testing.T)
api/dbops/api_test.go:96
FunctionuploadHandler
(w http.ResponseWriter, r *http.Request, p httprouter.Params)
streamserver/handlers.go:38
FunctionuserHomeHandler
(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
web/handlers.go:46
FunctionvidDelRecHandler
(w http.ResponseWriter, r *http.Request, p httprouter.Params)
scheduler/handlers.go:9