Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alove77580/ai-getaway
/ functions
Functions
595 in github.com/alove77580/ai-getaway
⨍
Functions
595
◇
Types & classes
133
Method
Secret
Secret 返回当前用户唯一密钥的明文(用于「复制」),不在列表接口中返回明文。
controller/api_key.go:284
Method
SendEmailCode
(c *gin.Context)
controller/auth.go:63
Method
Serve
(c *gin.Context)
service/log_hub.go:41
Method
StartOAuthBind
(c *gin.Context)
controller/oauth.go:63
Method
StartOAuthLogin
(c *gin.Context)
controller/oauth.go:59
Method
Stats
(c *gin.Context)
controller/admin.go:2976
Method
SubmitManualPayment
(c *gin.Context)
controller/order.go:596
Method
SyncOfficialModelPricings
(c *gin.Context)
controller/admin.go:2620
Method
Test
(c *gin.Context)
controller/endpoint_speed.go:32
Function
TestActivePublicSubscriptionWithUsedQuotaCanBuyPaidPlan
(t *testing.T)
controller/order_test.go:71
Function
TestActivePublicSubscriptionWithUsedQuotaStillBlocksFreePlan
(t *testing.T)
controller/order_test.go:101
Function
TestActiveSubscriptionAllowsHigherPricedUpgrade
(t *testing.T)
controller/order_test.go:131
Function
TestActiveSubscriptionAllowsSamePlanRenewal
(t *testing.T)
controller/order_test.go:191
Function
TestActiveSubscriptionBlocksLowerPricedPlan
(t *testing.T)
controller/order_test.go:164
Function
TestAllowAPIKeyDisabledLimitAllowsWithoutRedis
(t *testing.T)
middleware/api_key_test.go:7
Function
TestAllowAPIKeyNoRedisAllows
(t *testing.T)
middleware/api_key_test.go:13
Function
TestApplyDynamicOutputLimitCapsResponsesRequest
(t *testing.T)
upstream/proxy_test.go:293
Function
TestApplyDynamicOutputLimitKeepsLowerClientLimit
(t *testing.T)
upstream/proxy_test.go:324
Function
TestApplyDynamicOutputLimitRejectsBodyOverLimit
(t *testing.T)
upstream/proxy_test.go:358
Function
TestCapAPILogCostCapsSingleRequestOverflow
(t *testing.T)
service/quota_test.go:88
Function
TestCapAPILogCostScalesRequestCharge
(t *testing.T)
service/quota_test.go:139
Function
TestCapAPILogCostZeroesAfterQuotaExhausted
(t *testing.T)
service/quota_test.go:117
Function
TestDynamicMaxOutputTokensDeniesWhenInputEstimateExceedsBudget
(t *testing.T)
upstream/proxy_test.go:371
Function
TestEmailAllowedByWhitelist
(t *testing.T)
controller/settings_test.go:13
Function
TestEndpointSpeedUsesLocalHTTPClient
(t *testing.T)
controller/endpoint_speed_test.go:34
Function
TestFillStreamUsageResponseCompletedEvent
(t *testing.T)
upstream/proxy_test.go:40
Function
TestFillUsageAppliesChannelGroupMultiplier
(t *testing.T)
upstream/proxy_test.go:270
Function
TestFillUsageAppliesGroupMultiplierToUpstreamCost
(t *testing.T)
upstream/proxy_test.go:249
Function
TestFillUsageCachedInputTokens
(t *testing.T)
upstream/proxy_test.go:124
Function
TestFillUsageChatCompletionsShape
(t *testing.T)
upstream/proxy_test.go:104
Function
TestFillUsageGPT54MatchesObservedUpstreamCost
(t *testing.T)
upstream/proxy_test.go:147
Function
TestFillUsageGPT55MatchesObservedUpstreamCost
(t *testing.T)
upstream/proxy_test.go:176
Function
TestFillUsageGPT55VariantUsesGPT55Pricing
(t *testing.T)
upstream/proxy_test.go:205
Function
TestFillUsagePrefersUpstreamCost
(t *testing.T)
upstream/proxy_test.go:228
Function
TestFillUsageResponsesShape
(t *testing.T)
upstream/proxy_test.go:14
Function
TestFreeSubscriptionCreatesPurchaseForPaidPlan
(t *testing.T)
controller/order_test.go:249
Function
TestHasBalanceAccessAllowsActiveSubscriptionFallback
(t *testing.T)
service/quota_test.go:10
Function
TestIsHTTPURL
(t *testing.T)
controller/endpoint_speed_test.go:10
Function
TestModelPricingSyncUpdatesDoesNotRestoreDeletedModel
(t *testing.T)
service/model_pricing_test.go:12
Function
TestNormalizeEmailWhitelistJSON
(t *testing.T)
controller/settings_test.go:5
Function
TestNotificationFingerprintHashesLongValues
(t *testing.T)
service/mailer_test.go:22
Function
TestNotificationFingerprintKeepsShortLegacyFormat
(t *testing.T)
service/mailer_test.go:10
Function
TestOrderPaymentAdminRecipientsFallsBackToContactEmail
(t *testing.T)
service/mailer_test.go:56
Function
TestOrderPaymentAdminRecipientsIncludesApprovedAndLegacyAdmins
(t *testing.T)
service/mailer_test.go:34
Function
TestOrderPaymentAdminRecipientsSkipsDefaultContactEmail
(t *testing.T)
service/mailer_test.go:67
Function
TestParseRequestInfoRejectsBodyOverLimit
(t *testing.T)
upstream/proxy_test.go:348
Function
TestPendingOrderPaymentMethodUpdatesDoesNotRestartOnlinePayment
(t *testing.T)
controller/order_test.go:58
Function
TestPendingOrderPaymentMethodUpdatesSwitchesStartedOnlineOrderToManual
(t *testing.T)
controller/order_test.go:12
Function
TestPlanQuotaStartAtPrefersLaterResetAnchor
(t *testing.T)
service/quota_test.go:52
Function
TestPriceRequestMicrosAppliesMultiplier
(t *testing.T)
service/quota_test.go:164
Function
TestPublicPlanWithDurationExpiresByDuration
(t *testing.T)
controller/order_test.go:321
Function
TestPublicPlanWithoutDurationHasNoExpiry
(t *testing.T)
controller/order_test.go:310
Function
TestQuotaAllowsRequestRequiresMoreThanMinimumRemaining
(t *testing.T)
service/quota_test.go:76
Function
TestQuotaUsagePercentCapsAtPlanLimit
(t *testing.T)
service/quota_test.go:67
Function
TestQuotaUsageWindowKeepsNaturalWindowAfterSubscriptionStart
(t *testing.T)
service/quota_test.go:40
Function
TestQuotaUsageWindowStartsAtSubscriptionStartInsideNaturalWindow
(t *testing.T)
service/quota_test.go:29
Function
TestRenewalExtendsFromExistingExpiry
(t *testing.T)
controller/order_test.go:283
Method
TestSMTP
(c *gin.Context)
controller/settings.go:238
Function
TestShouldRecordUsageResponseOnlyAllowsSuccess
(t *testing.T)
upstream/proxy_test.go:377
Function
TestUpgradeKeepsExistingExpiry
(t *testing.T)
controller/order_test.go:297
Function
TestUsageStreamReadCloserParsesUsageIncrementally
(t *testing.T)
upstream/proxy_test.go:55
Function
TestUsageStreamReadCloserStopsBufferingAfterLimit
(t *testing.T)
upstream/proxy_test.go:83
Function
TestUsedUpPublicSubscriptionCreatesPurchaseNotUpgrade
(t *testing.T)
controller/order_test.go:222
Method
UnbindOAuthAccount
(c *gin.Context)
controller/oauth.go:169
Method
UnmarshalJSON
(data []byte)
controller/admin.go:101
Method
Update
(c *gin.Context)
controller/announcement.go:114
Method
Update
(c *gin.Context)
controller/settings.go:170
Method
Update
(c *gin.Context)
controller/email_template.go:41
Method
UpdateBalanceBillingGroup
(c *gin.Context)
controller/auth.go:319
Method
UpdateBillingGroup
(c *gin.Context)
controller/admin.go:2499
Method
UpdateChannelMonitor
(c *gin.Context)
controller/admin.go:2397
Method
UpdateModelPricing
(c *gin.Context)
controller/admin.go:2584
Method
UpdateOrder
(c *gin.Context)
controller/admin.go:1614
Method
UpdatePlan
(c *gin.Context)
controller/admin.go:1100
Method
UpdatePollingPool
(c *gin.Context)
controller/admin.go:2801
Method
UpdatePublicChannel
(c *gin.Context)
controller/admin.go:2723
Method
UpdateUpstreamChannel
(c *gin.Context)
controller/admin.go:2655
Method
UpdateUser
(c *gin.Context)
controller/admin.go:659
Method
UpdateUserUpstream
(c *gin.Context)
controller/admin.go:528
Method
UpstreamChannels
(c *gin.Context)
controller/admin.go:2276
Method
Upstreams
(c *gin.Context)
controller/admin.go:2113
Function
UsedUSDCentsSince
(db *gorm.DB, userID uint, since time.Time)
service/quota.go:218
Method
UserUpstream
(c *gin.Context)
controller/admin.go:506
Method
Users
(c *gin.Context)
controller/admin.go:429
Method
ensureCallablePlan
(user model.User)
controller/api_key.go:81
Function
htmlToMarkdown
(html)
frontend/src/utils/markdown.js:29
Function
loadEnabledChannelMultipliers
(db *gorm.DB)
middleware/api_key.go:69
Function
loadMe
()
frontend/src/stores/auth.js:25
Function
login
(payload)
frontend/src/stores/auth.js:16
Function
logout
()
frontend/src/stores/auth.js:43
Function
main
()
main.go:12
Function
plainTextFromMarkdown
(source)
frontend/src/utils/markdown.js:33
Function
readPlatformSystemLoad
()
service/system_load_linux.go:18
Function
readPlatformSystemLoad
()
service/system_load_windows.go:38
Function
register
(payload)
frontend/src/stores/auth.js:22
← previous
501–595 of 595, ranked by callers