MCPcopy Create free account

hub / github.com/alove77580/ai-getaway / functions

Functions595 in github.com/alove77580/ai-getaway

MethodSecret
Secret 返回当前用户唯一密钥的明文(用于「复制」),不在列表接口中返回明文。
controller/api_key.go:284
MethodSendEmailCode
(c *gin.Context)
controller/auth.go:63
MethodServe
(c *gin.Context)
service/log_hub.go:41
MethodStartOAuthBind
(c *gin.Context)
controller/oauth.go:63
MethodStartOAuthLogin
(c *gin.Context)
controller/oauth.go:59
MethodStats
(c *gin.Context)
controller/admin.go:2976
MethodSubmitManualPayment
(c *gin.Context)
controller/order.go:596
MethodSyncOfficialModelPricings
(c *gin.Context)
controller/admin.go:2620
MethodTest
(c *gin.Context)
controller/endpoint_speed.go:32
FunctionTestActivePublicSubscriptionWithUsedQuotaCanBuyPaidPlan
(t *testing.T)
controller/order_test.go:71
FunctionTestActivePublicSubscriptionWithUsedQuotaStillBlocksFreePlan
(t *testing.T)
controller/order_test.go:101
FunctionTestActiveSubscriptionAllowsHigherPricedUpgrade
(t *testing.T)
controller/order_test.go:131
FunctionTestActiveSubscriptionAllowsSamePlanRenewal
(t *testing.T)
controller/order_test.go:191
FunctionTestActiveSubscriptionBlocksLowerPricedPlan
(t *testing.T)
controller/order_test.go:164
FunctionTestAllowAPIKeyDisabledLimitAllowsWithoutRedis
(t *testing.T)
middleware/api_key_test.go:7
FunctionTestAllowAPIKeyNoRedisAllows
(t *testing.T)
middleware/api_key_test.go:13
FunctionTestApplyDynamicOutputLimitCapsResponsesRequest
(t *testing.T)
upstream/proxy_test.go:293
FunctionTestApplyDynamicOutputLimitKeepsLowerClientLimit
(t *testing.T)
upstream/proxy_test.go:324
FunctionTestApplyDynamicOutputLimitRejectsBodyOverLimit
(t *testing.T)
upstream/proxy_test.go:358
FunctionTestCapAPILogCostCapsSingleRequestOverflow
(t *testing.T)
service/quota_test.go:88
FunctionTestCapAPILogCostScalesRequestCharge
(t *testing.T)
service/quota_test.go:139
FunctionTestCapAPILogCostZeroesAfterQuotaExhausted
(t *testing.T)
service/quota_test.go:117
FunctionTestDynamicMaxOutputTokensDeniesWhenInputEstimateExceedsBudget
(t *testing.T)
upstream/proxy_test.go:371
FunctionTestEmailAllowedByWhitelist
(t *testing.T)
controller/settings_test.go:13
FunctionTestEndpointSpeedUsesLocalHTTPClient
(t *testing.T)
controller/endpoint_speed_test.go:34
FunctionTestFillStreamUsageResponseCompletedEvent
(t *testing.T)
upstream/proxy_test.go:40
FunctionTestFillUsageAppliesChannelGroupMultiplier
(t *testing.T)
upstream/proxy_test.go:270
FunctionTestFillUsageAppliesGroupMultiplierToUpstreamCost
(t *testing.T)
upstream/proxy_test.go:249
FunctionTestFillUsageCachedInputTokens
(t *testing.T)
upstream/proxy_test.go:124
FunctionTestFillUsageChatCompletionsShape
(t *testing.T)
upstream/proxy_test.go:104
FunctionTestFillUsageGPT54MatchesObservedUpstreamCost
(t *testing.T)
upstream/proxy_test.go:147
FunctionTestFillUsageGPT55MatchesObservedUpstreamCost
(t *testing.T)
upstream/proxy_test.go:176
FunctionTestFillUsageGPT55VariantUsesGPT55Pricing
(t *testing.T)
upstream/proxy_test.go:205
FunctionTestFillUsagePrefersUpstreamCost
(t *testing.T)
upstream/proxy_test.go:228
FunctionTestFillUsageResponsesShape
(t *testing.T)
upstream/proxy_test.go:14
FunctionTestFreeSubscriptionCreatesPurchaseForPaidPlan
(t *testing.T)
controller/order_test.go:249
FunctionTestHasBalanceAccessAllowsActiveSubscriptionFallback
(t *testing.T)
service/quota_test.go:10
FunctionTestIsHTTPURL
(t *testing.T)
controller/endpoint_speed_test.go:10
FunctionTestModelPricingSyncUpdatesDoesNotRestoreDeletedModel
(t *testing.T)
service/model_pricing_test.go:12
FunctionTestNormalizeEmailWhitelistJSON
(t *testing.T)
controller/settings_test.go:5
FunctionTestNotificationFingerprintHashesLongValues
(t *testing.T)
service/mailer_test.go:22
FunctionTestNotificationFingerprintKeepsShortLegacyFormat
(t *testing.T)
service/mailer_test.go:10
FunctionTestOrderPaymentAdminRecipientsFallsBackToContactEmail
(t *testing.T)
service/mailer_test.go:56
FunctionTestOrderPaymentAdminRecipientsIncludesApprovedAndLegacyAdmins
(t *testing.T)
service/mailer_test.go:34
FunctionTestOrderPaymentAdminRecipientsSkipsDefaultContactEmail
(t *testing.T)
service/mailer_test.go:67
FunctionTestParseRequestInfoRejectsBodyOverLimit
(t *testing.T)
upstream/proxy_test.go:348
FunctionTestPendingOrderPaymentMethodUpdatesDoesNotRestartOnlinePayment
(t *testing.T)
controller/order_test.go:58
FunctionTestPendingOrderPaymentMethodUpdatesSwitchesStartedOnlineOrderToManual
(t *testing.T)
controller/order_test.go:12
FunctionTestPlanQuotaStartAtPrefersLaterResetAnchor
(t *testing.T)
service/quota_test.go:52
FunctionTestPriceRequestMicrosAppliesMultiplier
(t *testing.T)
service/quota_test.go:164
FunctionTestPublicPlanWithDurationExpiresByDuration
(t *testing.T)
controller/order_test.go:321
FunctionTestPublicPlanWithoutDurationHasNoExpiry
(t *testing.T)
controller/order_test.go:310
FunctionTestQuotaAllowsRequestRequiresMoreThanMinimumRemaining
(t *testing.T)
service/quota_test.go:76
FunctionTestQuotaUsagePercentCapsAtPlanLimit
(t *testing.T)
service/quota_test.go:67
FunctionTestQuotaUsageWindowKeepsNaturalWindowAfterSubscriptionStart
(t *testing.T)
service/quota_test.go:40
FunctionTestQuotaUsageWindowStartsAtSubscriptionStartInsideNaturalWindow
(t *testing.T)
service/quota_test.go:29
FunctionTestRenewalExtendsFromExistingExpiry
(t *testing.T)
controller/order_test.go:283
MethodTestSMTP
(c *gin.Context)
controller/settings.go:238
FunctionTestShouldRecordUsageResponseOnlyAllowsSuccess
(t *testing.T)
upstream/proxy_test.go:377
FunctionTestUpgradeKeepsExistingExpiry
(t *testing.T)
controller/order_test.go:297
FunctionTestUsageStreamReadCloserParsesUsageIncrementally
(t *testing.T)
upstream/proxy_test.go:55
FunctionTestUsageStreamReadCloserStopsBufferingAfterLimit
(t *testing.T)
upstream/proxy_test.go:83
FunctionTestUsedUpPublicSubscriptionCreatesPurchaseNotUpgrade
(t *testing.T)
controller/order_test.go:222
MethodUnbindOAuthAccount
(c *gin.Context)
controller/oauth.go:169
MethodUnmarshalJSON
(data []byte)
controller/admin.go:101
MethodUpdate
(c *gin.Context)
controller/announcement.go:114
MethodUpdate
(c *gin.Context)
controller/settings.go:170
MethodUpdate
(c *gin.Context)
controller/email_template.go:41
MethodUpdateBalanceBillingGroup
(c *gin.Context)
controller/auth.go:319
MethodUpdateBillingGroup
(c *gin.Context)
controller/admin.go:2499
MethodUpdateChannelMonitor
(c *gin.Context)
controller/admin.go:2397
MethodUpdateModelPricing
(c *gin.Context)
controller/admin.go:2584
MethodUpdateOrder
(c *gin.Context)
controller/admin.go:1614
MethodUpdatePlan
(c *gin.Context)
controller/admin.go:1100
MethodUpdatePollingPool
(c *gin.Context)
controller/admin.go:2801
MethodUpdatePublicChannel
(c *gin.Context)
controller/admin.go:2723
MethodUpdateUpstreamChannel
(c *gin.Context)
controller/admin.go:2655
MethodUpdateUser
(c *gin.Context)
controller/admin.go:659
MethodUpdateUserUpstream
(c *gin.Context)
controller/admin.go:528
MethodUpstreamChannels
(c *gin.Context)
controller/admin.go:2276
MethodUpstreams
(c *gin.Context)
controller/admin.go:2113
FunctionUsedUSDCentsSince
(db *gorm.DB, userID uint, since time.Time)
service/quota.go:218
MethodUserUpstream
(c *gin.Context)
controller/admin.go:506
MethodUsers
(c *gin.Context)
controller/admin.go:429
MethodensureCallablePlan
(user model.User)
controller/api_key.go:81
FunctionhtmlToMarkdown
(html)
frontend/src/utils/markdown.js:29
FunctionloadEnabledChannelMultipliers
(db *gorm.DB)
middleware/api_key.go:69
FunctionloadMe
()
frontend/src/stores/auth.js:25
Functionlogin
(payload)
frontend/src/stores/auth.js:16
Functionlogout
()
frontend/src/stores/auth.js:43
Functionmain
()
main.go:12
FunctionplainTextFromMarkdown
(source)
frontend/src/utils/markdown.js:33
FunctionreadPlatformSystemLoad
()
service/system_load_linux.go:18
FunctionreadPlatformSystemLoad
()
service/system_load_windows.go:38
Functionregister
(payload)
frontend/src/stores/auth.js:22
← previous501–595 of 595, ranked by callers