MCPcopy Create free account

hub / github.com/adrgs/requestrepo / functions

Functions362 in github.com/adrgs/requestrepo

↓ 79 callersMethodclone
(&self)
src/src/cache/mod.rs:484
↓ 37 callersMethodget
Get a value by key
src/src/cache/mod.rs:180
↓ 37 callersMethodset
Set a key-value pair (for files, DNS records) Enforces per-subdomain size limits for session data
src/src/cache/mod.rs:119
↓ 28 callersMethodget
Get a file by path, returns index.html for SPA routes
src/src/http/static_files.rs:190
↓ 25 callersMethodrpush
Push to a request list (right push) This is used for request logs - LRU evicted under memory pressure
src/src/cache/mod.rs:231
↓ 17 callersMethodlrange
Get range from list
src/src/cache/mod.rs:285
↓ 16 callersMethodclone
(&self)
src/src/certs/tls.rs:125
↓ 16 callersMethoddelete
Delete a key
src/src/cache/mod.rs:194
↓ 13 callersMethodkeys
(&self, pattern: &str)
src/src/cache/mod.rs:357
↓ 11 callersMethodload
Load all static files from the public directory into memory
src/src/http/static_files.rs:32
↓ 9 callersFunctionverify_token_or_error
Verify token and return subdomain, or return error response
src/src/http/routes_v2.rs:103
↓ 8 callersFunctionverify_jwt
(token: &str)
src/src/utils/mod.rs:30
↓ 7 callersFunctionsetup_crypto_provider
()
src/src/certs/tls.rs:228
↓ 6 callersFunctionget_subdomain_from_hostname
(host: &str)
src/src/utils/mod.rs:126
↓ 6 callersMethodreload
(&self, chain_pem: &[u8], key_pem: &[u8])
src/src/certs/tls.rs:85
↓ 6 callersMethodvalidate
Validate a certificate and determine if renewal is needed Returns ValidationResult with details about the cert status
src/src/certs/validation.rs:31
↓ 5 callersFunctionapplyTheme
(resolvedTheme: "light" | "dark")
frontend/src/stores/themeStore.ts:23
↓ 5 callersFunctioncn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:4
↓ 5 callersFunctioncopyToClipboard
(text: string)
frontend/src/lib/utils.ts:27
↓ 5 callersFunctionget_current_timestamp
()
src/src/utils/mod.rs:251
↓ 5 callersFunctionisAdminRequiredError
(error: unknown)
frontend/src/api/client.ts:33
↓ 5 callersFunctionisSmtpRequest
(request: Request)
frontend/src/types/index.ts:71
↓ 5 callersMethodlayer
(&self, inner: S)
src/src/http/mod.rs:271
↓ 5 callersMethodreload_domain
Reload the domain certificate and rebuild the TLS config
src/src/certs/tls.rs:90
↓ 5 callersMethodrun
(&self)
src/src/dns/mod.rs:81
↓ 5 callersMethodstats
Get cache statistics
src/src/cache/mod.rs:99
↓ 5 callersFunctionuseTheme
()
frontend/src/hooks/useTheme.ts:4
↓ 4 callersFunctionextract_subdomain_from_key
Extract subdomain from cache key for size tracking
src/src/cache/mod.rs:500
↓ 4 callersFunctionformatDate
(timestamp: number)
frontend/src/lib/utils.ts:8
↓ 4 callersFunctiongenerate_jwt
(subdomain: &str)
src/src/utils/mod.rs:158
↓ 4 callersFunctiongenerate_request_id
()
src/src/utils/mod.rs:247
↓ 4 callersFunctiongetDnsDomain
()
frontend/src/lib/config.ts:54
↓ 4 callersFunctiongetFlagClass
(countryCode: string | null | undefined)
frontend/src/lib/utils.ts:89
↓ 4 callersFunctionget_subdomain_from_path
(path: &str)
src/src/utils/mod.rs:63
↓ 4 callersFunctionget_wildcard_key
Generate the wildcard key for a DNS query e.g., "www.abc123.requestrepo.com." -> "*.abc123.requestrepo.com."
src/src/dns/mod.rs:301
↓ 4 callersFunctionisHttpRequest
(request: Request)
frontend/src/types/index.ts:63
↓ 4 callersFunctionis_admin_token_required
Check if admin token is required for API access
src/src/utils/auth.rs:25
↓ 4 callersMethodload_certificate
Load existing certificate and private key if they exist Returns None if either file is missing
src/src/certs/storage.rs:54
↓ 4 callersMethodload_ip_certificate
Load existing IP certificate and private key if they exist
src/src/certs/storage.rs:65
↓ 4 callersFunctionlog_validation_result
Log a certificate validation result with consistent formatting
src/src/certs/mod.rs:336
↓ 4 callersFunctionlookup_country
Look up the country code for an IP address Returns None if IP is invalid or database not loaded
src/src/ip2country/mod.rs:96
↓ 4 callersMethodlset
Set value at index in list
src/src/cache/mod.rs:328
↓ 4 callersMethodreload_ip
Reload the IP certificate and rebuild the TLS config
src/src/certs/tls.rs:100
↓ 4 callersFunctionscrubSensitiveParams
(url: string)
frontend/src/main.tsx:34
↓ 4 callersMethodset_txt
Add a TXT record for ACME challenge (supports multiple values per domain) The domain should be the full _acme-challenge.{domain} hostname
src/src/certs/challenge.rs:69
↓ 4 callersFunctionsetup_crypto_provider
()
src/src/tests/certs_tests.rs:7
↓ 3 callersMethodaccount_path
Path to the ACME account credentials (JSON format)
src/src/certs/storage.rs:48
↓ 3 callersMethodatomic_write
Atomic write: write to temp file then rename
src/src/certs/storage.rs:162
↓ 3 callersFunctionbuild_certified_key
Build a CertifiedKey from PEM-encoded certificate chain and private key
src/src/certs/tls.rs:141
↓ 3 callersFunctiondecodeBase64Safe
(base64: string)
frontend/src/lib/base64.ts:45
↓ 3 callersFunctiongetBaseDomain
()
frontend/src/lib/config.ts:59
↓ 3 callersFunctiongetResolvedTheme
(theme: Theme)
frontend/src/stores/themeStore.ts:14
↓ 3 callersFunctiongetRuntimeDomain
* Get the base domain from runtime config or fallback to detection * Priority: * 1. Backend-injected window.__CONFIG__.DOMAIN (most reliable) * 2.
frontend/src/lib/config.ts:18
↓ 3 callersFunctioninit
()
src/src/ip2country/mod.rs:26
↓ 3 callersFunctionisNetworkError
(error: unknown)
frontend/src/api/client.ts:20
↓ 3 callersFunctionisValidFileName
(name: string)
frontend/src/lib/fileTree.ts:105
↓ 3 callersFunctionparse_certificates
Parse PEM-encoded certificates
src/src/certs/tls.rs:177
↓ 3 callersFunctionparse_private_key
Parse a PEM-encoded private key (supports RSA, PKCS8, EC)
src/src/certs/tls.rs:187
↓ 3 callersMethodset_token
Store a challenge token and its key authorization
src/src/certs/challenge.rs:28
↓ 3 callersMethodupdate_subdomain_size
(&self, subdomain: &str, delta: isize)
src/src/cache/mod.rs:394
↓ 3 callersFunctionvalidate_dns_domain
Validate a DNS domain name for security and RFC compliance Security: Blocks empty domains and "@" (root subdomain) to prevent users from setting DNS
src/src/http/routes_v2.rs:139
↓ 2 callersMethodcheck_and_renew_domain
Check if domain cert renewal is needed and perform it
src/src/certs/mod.rs:192
↓ 2 callersFunctioncheck_rate_limit_generic
Generic cache-based rate limiter
src/src/http/routes_v2.rs:299
↓ 2 callersMethodclear_token
Remove a challenge token after validation
src/src/certs/challenge.rs:35
↓ 2 callersMethodclear_txt
Clear all TXT records for the challenge domain
src/src/certs/challenge.rs:90
↓ 2 callersMethodcreate_acme_client
Create a new ACME client using the stored configuration
src/src/certs/mod.rs:243
↓ 2 callersFunctioncreate_router
Create the shared router with all routes
src/src/http/mod.rs:100
↓ 2 callersFunctiondecodeBase64
(base64: string)
frontend/src/lib/base64.ts:20
↓ 2 callersFunctionencodeBase64
(str: string)
frontend/src/lib/base64.ts:5
↓ 2 callersFunctionextract_subdomain_from_email
Extract subdomain from an email address like "user@subdomain.domain.com"
src/src/smtp/mod.rs:136
↓ 2 callersFunctionformatRelativeTime
(timestamp: number)
frontend/src/lib/utils.ts:12
↓ 2 callersMethodfullchain_path
Path to the full certificate chain (PEM format)
src/src/certs/storage.rs:28
↓ 2 callersMethodgenerate_csr
Generate a private key and CSR with the given Subject Alternative Names
src/src/certs/acme.rs:256
↓ 2 callersFunctiongetFileName
(path: string)
frontend/src/lib/fileTree.ts:88
↓ 2 callersFunctiongetFilesInFolder
( files: FileTree, folderPath: string, )
frontend/src/lib/fileTree.ts:125
↓ 2 callersFunctionget_random_subdomain
()
src/src/utils/mod.rs:51
↓ 2 callersMethodip_fullchain_path
Path to the IP certificate chain (PEM format)
src/src/certs/storage.rs:38
↓ 2 callersMethodip_privkey_path
Path to the IP private key (PEM format)
src/src/certs/storage.rs:43
↓ 2 callersFunctionip_to_u32
(ip: &str)
src/src/ip2country/mod.rs:85
↓ 2 callersFunctionisDnsRequest
(request: Request)
frontend/src/types/index.ts:67
↓ 2 callersFunctionlegacyCopy
(text: string)
frontend/src/lib/utils.ts:38
↓ 2 callersMethodload_cert_pair
Load a certificate chain and private key from the given paths
src/src/certs/storage.rs:80
↓ 2 callersMethodmaybe_evict_requests
Evict oldest request lists if memory usage is above threshold
src/src/cache/mod.rs:406
↓ 2 callersMethodpoll_ready
(&mut self, cx: &mut Context<'_>)
src/src/http/mod.rs:293
↓ 2 callersMethodprivkey_path
Path to the private key (PEM format)
src/src/certs/storage.rs:33
↓ 2 callersMethodrebuild_config
Rebuild the ServerConfig with the DualCertResolver
src/src/certs/tls.rs:109
↓ 2 callersMethodrelease_port
(&self, subdomain: &str)
src/src/tcp/mod.rs:108
↓ 2 callersMethodresolve
(&self, client_hello: ClientHello<'_>)
src/src/certs/tls.rs:31
↓ 2 callersMethodsave_cert_pair
Save a certificate chain and private key atomically with restrictive permissions
src/src/certs/storage.rs:100
↓ 2 callersMethodsave_certificate
Save certificate and private key atomically Uses temp file + rename to prevent corruption on crash
src/src/certs/storage.rs:60
↓ 2 callersMethodsave_ip_certificate
Save IP certificate and private key atomically
src/src/certs/storage.rs:70
↓ 2 callersFunctionscrollToBottom
()
frontend/src/components/layout/Sidebar.tsx:96
↓ 2 callersFunctionseconds_until_expiry
Calculate seconds until certificate expiry
src/src/certs/validation.rs:232
↓ 2 callersFunctionverify_admin_token
Verify if the provided token is a valid admin token
src/src/utils/auth.rs:17
↓ 2 callersFunctionwrite_basic_file
(subdomain: &str, cache: &crate::cache::Cache)
src/src/utils/mod.rs:208
↓ 1 callersMethodacceptor
Get a TLS acceptor for accepting new connections Returns None if no certificate is configured
src/src/certs/tls.rs:74
↓ 1 callersFunctionaddJitter
(delay: number)
frontend/src/hooks/useWebSocket.ts:13
↓ 1 callersMethodallocate_port
(&self, subdomain: &str)
src/src/tcp/mod.rs:77
↓ 1 callersFunctionbroadcastClearRequests
(subdomain: string)
frontend/src/stores/requestStore.ts:81
↓ 1 callersFunctionbroadcastDeleteRequest
(subdomain: string, requestId: string)
frontend/src/stores/requestStore.ts:74
next →1–100 of 362, ranked by callers