MCPcopy Index your code

hub / github.com/Jolymmiels/remnawave-telegram-shop / functions

Functions267 in github.com/Jolymmiels/remnawave-telegram-shop

↓ 114 callersMethodError
()
internal/platega/errors.go:10
↓ 61 callersFunctionstringPtr
(s string)
utils/text_sanitizer_test.go:343
↓ 38 callersMethodGetButton
(langCode, key string)
internal/translation/translation.go:132
↓ 28 callersMethodInlineCallback
(callbackData string)
internal/translation/translation.go:28
↓ 25 callersFunctionMaskHalfInt64
(input int64)
utils/utils.go:26
↓ 24 callersMethodSet
(key int64, value int)
internal/cache/cache.go:28
↓ 19 callersMethodGetText
(langCode, key string)
internal/translation/translation.go:128
↓ 18 callersFunctionmustEnv
(key string)
internal/config/config.go:356
↓ 15 callersMethodFindByTelegramId
(ctx context.Context, telegramId int64)
internal/database/customer.go:109
↓ 13 callersMethodUpdateFields
(ctx context.Context, id int64, updates map[string]interface{})
internal/database/customer.go:168
↓ 12 callersFunctionenvBool
(key string)
internal/config/config.go:393
↓ 11 callersFunctionptrToString
(ptr *string)
utils/text_sanitizer_test.go:347
↓ 9 callersFunctionGetMiniAppURL
()
internal/config/config.go:136
↓ 9 callersFunctionenvStringDefault
(key string, def string)
internal/config/config.go:385
↓ 8 callersMethodCreate
(ctx context.Context, referrerID, refereeID int64)
internal/database/referal.go:29
↓ 8 callersMethodInlineURL
(url string)
internal/translation/translation.go:34
↓ 8 callersFunctionmustEnvInt
(key string)
internal/config/config.go:364
↓ 6 callersMethodInlineWebApp
(url string)
internal/translation/translation.go:40
↓ 6 callersFunctionMaskHalf
(input string)
utils/utils.go:30
↓ 6 callersMethoddoJSON
(ctx context.Context, method, path string, body, result any)
internal/remnawave/client.go:129
↓ 6 callersFunctionenvIntDefault
(key string, def int)
internal/config/config.go:373
↓ 5 callersMethodFindById
(ctx context.Context, id int64)
internal/database/customer.go:79
↓ 5 callersMethodProcessPurchaseById
(ctx context.Context, purchaseId int64)
internal/yookasa/webhook.go:19
↓ 5 callersMethodString
()
internal/platega/types.go:13
↓ 5 callersFunctionTrialDays
()
internal/config/config.go:170
↓ 5 callersFunctionUsernameFromCtx
UsernameFromCtx extracts the Telegram username stored under CtxKeyUsername. Returns empty string if the value is missing or not a string.
internal/remnawave/client.go:274
↓ 4 callersMethodGet
(key int64)
internal/cache/cache.go:37
↓ 4 callersFunctionNewSubscriptionService
(customerRepository customerRepository, purchaseRepository tributeRepository, paymentService paymentProcesso
internal/notification/subscription.go:37
↓ 4 callersMethodProcessSubscriptionExpiration
()
internal/notification/subscription.go:46
↓ 4 callersFunctionSanitizeDisplayName
SanitizeDisplayName cleans and validates display names (first name, last name)
utils/text_sanitizer.go:214
↓ 3 callersFunctionBotURL
()
internal/config/config.go:279
↓ 3 callersMethodCreateInvoice
(invoiceReq *InvoiceRequest)
internal/cryptopay/client.go:12
↓ 3 callersMethodCreateOrUpdateUser
--------------------------------------------------------------------------- CreateOrUpdateUser -------------------------------------------------------
internal/remnawave/client.go:245
↓ 3 callersMethodCreatePurchase
(ctx context.Context, amount float64, months int, customer *database.Customer, invoiceType database.InvoiceTyp
internal/notification/subscription.go:24
↓ 3 callersFunctionDadaBaseUrl
()
internal/config/config.go:264
↓ 3 callersFunctionGetTributeWebHookUrl
()
internal/config/config.go:79
↓ 3 callersFunctionIsWepAppLinkEnabled
()
internal/config/config.go:322
↓ 3 callersMethodPing
--------------------------------------------------------------------------- Ping ---------------------------------------------------------------------
internal/remnawave/client.go:146
↓ 3 callersFunctionSanitizeUsername
SanitizeUsername cleans and validates usernames
utils/text_sanitizer.go:225
↓ 3 callersFunctionTrafficLimit
()
internal/config/config.go:294
↓ 3 callersFunctioncontainsAlphanumeric
IsSuspiciousUser checks if user has suspicious username or display name containsAlphanumeric checks if string contains any letter or digit
utils/text_sanitizer.go:262
↓ 3 callersMethodinline
()
internal/translation/translation.go:20
↓ 2 callersFunctionChannelURL
()
internal/config/config.go:177
↓ 2 callersFunctionDaysInMonth
()
internal/config/config.go:213
↓ 2 callersFunctionExternalSquadUUID
()
internal/config/config.go:217
↓ 2 callersFunctionFeedbackURL
()
internal/config/config.go:173
↓ 2 callersFunctionFormatSubscriptionDescription
(months int)
utils/utils.go:9
↓ 2 callersFunctionGetAdminTelegramId
()
internal/config/config.go:314
↓ 2 callersFunctionGetInstance
()
internal/translation/translation.go:65
↓ 2 callersFunctionGetPlategaWebHookUrl
()
internal/config/config.go:102
↓ 2 callersFunctionGetReferralDays
()
internal/config/config.go:132
↓ 2 callersFunctionGetYookasaWebHookUrl
()
internal/config/config.go:90
↓ 2 callersFunctionIsCryptoPayEnabled
()
internal/config/config.go:298
↓ 2 callersFunctionIsSuspiciousUser
(username *string, firstName *string, lastName *string)
utils/text_sanitizer.go:273
↓ 2 callersFunctionIsYookasaEnabled
()
internal/config/config.go:302
↓ 2 callersFunctionPlategaMerchantId
()
internal/config/config.go:94
↓ 2 callersFunctionPlategaSecret
()
internal/config/config.go:98
↓ 2 callersFunctionPrice1
()
internal/config/config.go:197
↓ 2 callersFunctionPrice12
()
internal/config/config.go:209
↓ 2 callersFunctionPrice3
()
internal/config/config.go:201
↓ 2 callersFunctionPrice6
()
internal/config/config.go:205
↓ 2 callersFunctionRemnawaveTag
()
internal/config/config.go:65
↓ 2 callersFunctionServerStatusURL
()
internal/config/config.go:181
↓ 2 callersFunctionSquadUUIDs
()
internal/config/config.go:140
↓ 2 callersFunctionSupportURL
()
internal/config/config.go:185
↓ 2 callersFunctionTosURL
()
internal/config/config.go:189
↓ 2 callersFunctionTrafficLimitResetStrategy
()
internal/config/config.go:334
↓ 2 callersMethodauthenticate
()
internal/moynalog/client.go:72
↓ 2 callersFunctionbuildConnectText
(customer *database.Customer, langCode string)
internal/handler/connect.go:106
↓ 2 callersFunctionbuildLatestActiveTributesQuery
(customerIDs []int64)
internal/database/purchase.go:225
↓ 2 callersMethodbuildStartKeyboard
(existingCustomer *database.Customer, langCode string)
internal/handler/start.go:146
↓ 2 callersFunctioncontainsDangerousCombination
(normalized string)
utils/text_sanitizer.go:115
↓ 2 callersMethodcreateConnectKeyboard
(customer *database.Customer)
internal/payment/payment.go:189
↓ 2 callersMethoddoRequest
(ctx context.Context, method, endpoint string, body any, result any)
internal/platega/client.go:41
↓ 2 callersFunctionequalStringPtr
(a, b *string)
utils/text_sanitizer_test.go:354
↓ 2 callersFunctionfilterSquadsBySelection
(allSquads []internalSquadItem, selected map[uuid.UUID]uuid.UUID)
internal/remnawave/client.go:201
↓ 2 callersFunctionfinalize
(value string, originalValue string)
utils/text_sanitizer.go:178
↓ 2 callersFunctionfindUserBySuffix
--------------------------------------------------------------------------- Internal helpers ---------------------------------------------------------
internal/remnawave/client.go:262
↓ 2 callersMethodgetInternalSquads
--------------------------------------------------------------------------- Internal squads ----------------------------------------------------------
internal/remnawave/client.go:193
↓ 2 callersMethodgetUsersByTelegramID
--------------------------------------------------------------------------- Users — get by Telegram ID -----------------------------------------------
internal/remnawave/client.go:180
↓ 2 callersMethodlookup
(langCode, key string)
internal/translation/translation.go:136
↓ 2 callersFunctionnormalizeForDetection
(value string)
utils/text_sanitizer.go:124
↓ 2 callersFunctionnormalizeStrategy
(s string)
internal/remnawave/client.go:411
↓ 2 callersFunctionparseCallbackData
(data string)
internal/handler/payment_handlers.go:255
↓ 2 callersFunctionremovePatterns
(value string)
utils/text_sanitizer.go:165
↓ 2 callersMethodresolveConnectButton
(lang string)
internal/handler/start.go:137
↓ 2 callersMethodupdateUser
(ctx context.Context, existingUser *User, trafficLimit int, days int)
internal/remnawave/client.go:281
↓ 1 callersMethodActivateTrial
(ctx context.Context, telegramId int64)
internal/payment/payment.go:437
↓ 1 callersMethodCancelTributePurchase
(ctx context.Context, telegramId int64)
internal/payment/payment.go:274
↓ 1 callersMethodCancelYookassaPayment
(purchaseId int64)
internal/yookasa/webhook.go:20
↓ 1 callersMethodCountByReferrer
(ctx context.Context, referrerID int64)
internal/database/referal.go:81
↓ 1 callersMethodCreateBatch
(ctx context.Context, customers []Customer)
internal/database/customer.go:250
↓ 1 callersMethodCreateIncome
(ctx context.Context, amount float64, comment string)
internal/moynalog/client.go:139
↓ 1 callersMethodCreatePayment
(ctx context.Context, request PaymentRequest, idempotencyKey string)
internal/yookasa/client.go:90
↓ 1 callersMethodCreateTransaction
(ctx context.Context, req *CreateTransactionRequest)
internal/platega/client.go:88
↓ 1 callersFunctionCryptoPayToken
()
internal/config/config.go:276
↓ 1 callersFunctionCryptoPayUrl
()
internal/config/config.go:273
↓ 1 callersMethodDecreaseSubscription
--------------------------------------------------------------------------- DecreaseSubscription -----------------------------------------------------
internal/remnawave/client.go:222
↓ 1 callersFunctionDefaultLanguage
()
internal/config/config.go:76
↓ 1 callersMethodDeleteByNotInTelegramIds
(ctx context.Context, telegramIDs []int64)
internal/database/customer.go:317
next →1–100 of 267, ranked by callers