Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Prejudice-Studio/Twilight
/ functions
Functions
2,686 in github.com/Prejudice-Studio/Twilight
⨍
Functions
2,686
◇
Types & classes
267
Method
handleMediaDetail
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/media_request_handlers.go:32
Method
handleMediaRequestByID
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/media_request_handlers.go:288
Method
handleMediaRequestByKey
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/media_request_handlers.go:259
Method
handleMediaSearch
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/media_request_handlers.go:13
Method
handleMyMediaRequests
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/media_request_handlers.go:154
Method
handleMyTickets
handleMyTickets 用户查看自己提交的工单。
internal/api/ticket_handlers.go:21
Function
handleNoEmbyConfirm
()
webui/src/app/(main)/admin/users/page.tsx:1799
Function
handleNoEmbyPreview
()
webui/src/app/(main)/admin/users/page.tsx:1779
Method
handleOpenAPI
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:37
Function
handleOpenBindEmby
(user: UserInfo)
webui/src/app/(main)/admin/users/page.tsx:762
Function
handleOpenBindTelegram
(user: UserInfo)
webui/src/app/(main)/admin/users/page.tsx:830
Function
handleOpenEdit
(user: UserInfo)
webui/src/app/(main)/admin/users/page.tsx:1189
Function
handleParamConfirm
()
webui/src/app/(main)/admin/scheduler/page.tsx:765
Function
handlePayload
(event: MessageEvent)
webui/src/app/(main)/admin/logs/page.tsx:193
Function
handlePick
()
webui/src/components/ticket-images.tsx:50
Function
handlePing
()
webui/src/app/(main)/admin/logs/page.tsx:202
Function
handlePresetChange
(value: string)
webui/src/app/(main)/admin/audit-logs/page.tsx:166
Function
handlePrune
()
webui/src/app/(main)/admin/audit-logs/page.tsx:237
Method
handlePruneAuditLogs
handlePruneAuditLogs 条件清理审计日志:支持按条数裁剪(max_entries)和按天数裁剪(retention_days), 两者可同时指定。需要确认短语。preserve_admin 控制是否保留管理员操作日志(仅对天数裁剪有效)。
internal/api/audit_handlers.go:268
Method
handlePublicConfig
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1505
Method
handleQueueStatus
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:504
Function
handleQuickSignin
()
webui/src/app/(main)/dashboard/page.tsx:714
Method
handleRebindComplete
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:818
Function
handleRefresh
()
webui/src/app/(main)/settings/apikey/page.tsx:201
Method
handleRefresh
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/auth_handlers.go:320
Function
handleRefreshStatus
(user: UserInfo, scope: "telegram" | "emby")
webui/src/app/(main)/admin/users/page.tsx:1016
Method
handleRegcodeCheck
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/code_use_handlers.go:217
Method
handleRegister
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/auth_handlers.go:336
Method
handleRegisterAvailability
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/auth_handlers.go:530
Method
handleRegisterBindCode
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:508
Method
handleRegistrationEntitlement
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/handlers.go:2324
Method
handleRegistrationEntitlementBulk
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:2349
Method
handleRegistrationQueueClear
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/handlers.go:2285
Function
handleRenew
()
webui/src/app/(main)/admin/users/page.tsx:623
Function
handleRenewal
()
webui/src/app/(main)/score/page.tsx:119
Method
handleReopenOwnTicket
handleReopenOwnTicket 用户重开自己的已关闭工单。
internal/api/ticket_handlers.go:142
Function
handleRequest
()
webui/src/app/(main)/media/page.tsx:353
Function
handleRequestTelegramRebind
()
webui/src/app/(main)/settings/page.tsx:455
Function
handleReset
()
webui/src/app/(main)/admin/scheduler/page.tsx:331
Function
handleResetAll
()
webui/src/app/(main)/admin/config/page.tsx:1210
Function
handleResetBg
()
webui/src/app/(main)/settings/appearance/page.tsx:436
Function
handleResetField
(sectionKey: string, fieldKey: string)
webui/src/app/(main)/admin/config/page.tsx:1197
Function
handleResetPassword
(user: UserInfo)
webui/src/app/(main)/admin/users/page.tsx:658
Function
handleResetPasswordSubmit
()
webui/src/app/(main)/admin/users/page.tsx:669
Method
handleReviewRebindRequest
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/admin_extra.go:736
Function
handleRevokeAll
()
webui/src/app/(main)/admin/telegram-rebind-requests/page.tsx:135
Method
handleRevokeAllRebindApprovals
handleRevokeAllRebindApprovals 一键撤销所有"已批准"的换绑许可:策略收紧后用来 清理历史遗留的换绑权限——所有人立即变为不可换绑,但仍可重新提交申请。
internal/api/admin_extra.go:778
Method
handleRoot
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:33
Method
handleRuntimeLogStream
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/runtime_logs.go:552
Method
handleRuntimeLogs
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/runtime_logs.go:536
Method
handleRuntimeStatus
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/runtime_logs.go:487
Function
handleSave
()
webui/src/app/(main)/admin/scheduler/page.tsx:267
Function
handleSave
()
webui/src/app/(main)/admin/announcements/page.tsx:166
Function
handleSave
()
webui/src/app/(main)/admin/tickets/page.tsx:130
Function
handleSaveBg
()
webui/src/app/(main)/settings/appearance/page.tsx:393
Function
handleSaveBgmSettings
()
webui/src/app/(main)/settings/page.tsx:364
Function
handleSaveProgress
()
webui/src/app/(main)/bangumi/page.tsx:174
Function
handleSaveSchema
()
webui/src/app/(main)/admin/config/page.tsx:1247
Function
handleSaveSettings
()
webui/src/app/(main)/bangumi/page.tsx:213
Function
handleSaveToml
()
webui/src/app/(main)/admin/config/page.tsx:1303
Method
handleSchedulerHistory
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/scheduler_handlers.go:105
Method
handleSchedulerLastRun
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/scheduler_handlers.go:96
Method
handleSchedulerRunV2
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/scheduler_runner.go:84
Function
handleSearchSubmit
(e: React.FormEvent)
webui/src/app/(main)/admin/bangumi/page.tsx:117
Method
handleSendEmailCode
handleSendEmailCode 登录态发码:purpose=bind 给新邮箱发码,change_password / change_emby_password 给已绑定邮箱发码。
internal/api/email_handlers.go:74
Method
handleSendReminders
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/scheduler_runner.go:14
Method
handleServerIcon
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1312
Method
handleSessionCount
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1673
Method
handleSessions
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1003
Method
handleSetupComplete
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/setup_handlers.go:22
Method
handleSetupStatus
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/setup_handlers.go:18
Function
handleSignin
()
webui/src/app/(main)/score/page.tsx:79
Method
handleSignin
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/signin_handlers.go:39
Method
handleSigninConfig
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/signin_handlers.go:30
Method
handleSigninHistory
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/signin_handlers.go:70
Method
handleSigninMe
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/signin_handlers.go:34
Method
handleSigninRenew
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/signin_handlers.go:103
Function
handleSigninRenewal
()
webui/src/app/(main)/dashboard/page.tsx:777
Function
handleSubmit
(e: React.FormEvent)
webui/src/components/emby-pending-modal.tsx:74
Function
handleSubmit
(e: React.FormEvent)
webui/src/app/(auth)/login/page.tsx:59
Function
handleSubmitDirectRegister
()
webui/src/app/(main)/dashboard/page.tsx:598
Method
handleSuspicious
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1154
Function
handleSync
()
webui/src/app/(main)/bangumi/page.tsx:196
Method
handleSyncBindings
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:2392
Method
handleSystemInfo
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1164
Method
handleSystemStats
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:1413
Method
handleSystemUpdate
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/system_update_handler.go:7
Method
handleTelegramKickUnbound
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/admin_extra.go:825
Method
handleTelegramRebindRequest
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:961
Method
handleTelegramRejoinedEnable
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/admin_extra.go:790
Method
handleTelegramRosterStats
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:2729
Method
handleTelegramStatus
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:913
Function
handleToggleActive
(user: UserInfo)
webui/src/app/(main)/admin/users/page.tsx:1098
Method
handleToggleTicketNotify
handleToggleTicketNotify 切换单个工单的 Telegram 通知开关。
internal/api/ticket_handlers.go:178
Method
handleTrustDevice
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/handlers.go:1086
Function
handleUnbindEmby
()
webui/src/app/(main)/settings/page.tsx:537
Function
handleUnbindTelegram
()
webui/src/app/(main)/settings/page.tsx:478
Method
handleUnbindTelegram
(w http.ResponseWriter, r *http.Request, _ Params)
internal/api/handlers.go:917
Method
handleUpdateAPIKey
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/apikey_handlers.go:108
Method
handleUpdateAnnouncement
(w http.ResponseWriter, r *http.Request, params Params)
internal/api/announcement_handlers.go:53
← previous
next →
2,501–2,600 of 2,686, ranked by callers