Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cocojojo5213/mykeys
/ functions
Functions
29 in github.com/cocojojo5213/mykeys
⨍
Functions
29
◇
Types & classes
8
↓ 31 callers
Function
send
(env: Env, chatId: number, text: string)
src/index.ts:110
↓ 14 callers
Function
sendKb
(env: Env, chatId: number, text: string, buttons: any[][])
src/index.ts:111
↓ 9 callers
Function
decrypt
(b64: string, secret: string)
src/index.ts:58
↓ 8 callers
Function
setSession
(env: Env, uid: number, d: SessionData)
src/index.ts:101
↓ 5 callers
Function
clearSession
(env: Env, uid: number)
src/index.ts:103
↓ 5 callers
Function
getSession
(env: Env, uid: number)
src/index.ts:96
↓ 4 callers
Function
encrypt
(text: string, secret: string)
src/index.ts:49
↓ 4 callers
Function
tg
(env: Env, method: string, body: object)
src/index.ts:106
↓ 3 callers
Function
fetch
(req: Request, env: Env)
src/index.ts:125
↓ 3 callers
Function
parseDate
(t: string)
src/index.ts:76
↓ 2 callers
Function
getKey
(secret: string)
src/index.ts:41
↓ 2 callers
Function
saveFinish
(env: Env, chatId: number, uid: number, s: SessionData)
src/index.ts:286
↓ 2 callers
Function
sendBackup
(env: Env, chatId: number)
src/index.ts:451
↓ 2 callers
Function
showDetail
(env: Env, chatId: number, id: number)
src/index.ts:438
↓ 2 callers
Function
showEmails
(env: Env, chatId: number)
src/index.ts:466
↓ 2 callers
Function
showExpiring
(env: Env, chatId: number)
src/index.ts:429
↓ 2 callers
Function
showList
(env: Env, chatId: number)
src/index.ts:417
↓ 1 callers
Function
cleanText
(t: string)
src/index.ts:69
↓ 1 callers
Function
encrypt
(text: string, secret: string)
src/email-worker.ts:34
↓ 1 callers
Function
expiryInfo
(d: string | null)
src/index.ts:85
↓ 1 callers
Function
extractTextFromEmail
(rawEmail: string)
src/email-worker.ts:70
↓ 1 callers
Function
getKey
(secret: string)
src/email-worker.ts:26
↓ 1 callers
Function
handleCallback
(env: Env, cb: NonNullable<TelegramUpdate['callback_query']>)
src/index.ts:300
↓ 1 callers
Function
handleFlow
(env: Env, chatId: number, uid: number, text: string, s: SessionData)
src/index.ts:256
↓ 1 callers
Function
handleMessage
(env: Env, chatId: number, uid: number, text: string)
src/index.ts:179
↓ 1 callers
Function
send
(env: Env, text: string)
src/email-worker.ts:44
↓ 1 callers
Function
streamToText
(stream: ReadableStream<Uint8Array>)
src/email-worker.ts:52
Function
email
(message: ForwardableEmailMessage, env: Env)
src/email-worker.ts:100
Function
scheduled
(_: ScheduledEvent, env: Env)
src/index.ts:160