Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Quorinex/Kiro-Go
/ functions
Functions
794 in github.com/Quorinex/Kiro-Go
⨍
Functions
794
◇
Types & classes
85
↓ 2 callers
Function
profileArnCooldownKey
(account *config.Account)
proxy/kiro_api.go:241
↓ 2 callers
Method
pruneExpiredLocked
(now time.Time)
proxy/cache_tracker.go:225
↓ 2 callers
Method
refreshAllAccounts
refreshAllAccounts 刷新所有账户信息
proxy/handler.go:279
↓ 2 callers
Function
regionFromProfileArn
(profileArn string)
proxy/kiro_api.go:24
↓ 2 callers
Function
renderApiKeys
()
web/app.js:1723
↓ 2 callers
Function
renderCustomSelectOptions
(select)
web/app.js:164
↓ 2 callers
Function
renderTestModal
()
web/app.js:1430
↓ 2 callers
Function
renderVersionBadge
()
web/app.js:2568
↓ 2 callers
Function
resolveClaudeThinkingResponseOptions
(thinking *ClaudeThinkingConfig, defaultFormat string)
proxy/handler.go:171
↓ 2 callers
Function
runTestAccount
(id, model)
web/app.js:1506
↓ 2 callers
Function
sanitizeResponseID
(id string)
proxy/responses_store.go:148
↓ 2 callers
Method
saveStats
saveStats 保存统计到配置文件
proxy/handler.go:1313
↓ 2 callers
Function
setActivePassword
(nextPassword, remember)
web/app.js:598
↓ 2 callers
Function
setLang
(lang)
web/app.js:124
↓ 2 callers
Function
setUpdateButtonLoading
(loading)
web/app.js:2590
↓ 2 callers
Function
shortenToolName
(name string)
proxy/translator.go:913
↓ 2 callers
Function
show
(message, variant, opts)
web/toast.js:181
↓ 2 callers
Function
showDetail
(id)
web/app.js:1182
↓ 2 callers
Function
showMain
()
web/app.js:656
↓ 2 callers
Function
trimLeadingAssistantHistory
(history []KiroHistoryMessage)
proxy/translator.go:1773
↓ 2 callers
Function
truncatePayloadToLimit
truncatePayloadToLimit drops the oldest conversation history turns until the serialized payload fits within maxPayloadBytes. It preserves, in order: -
proxy/translator.go:1624
↓ 2 callers
Function
usageLine
(label, used, limit, options)
web/app.js:1714
↓ 2 callers
Function
validateClaudeRequestShape
(req *ClaudeRequest)
proxy/handler.go:88
↓ 2 callers
Function
withApiKeyContext
withApiKeyContext attaches the matched entry to the request context so downstream handlers (recordSuccess, etc.) can credit usage against the correct
proxy/auth.go:96
↓ 2 callers
Function
withProfileArnQuery
(rawURL string, account *config.Account)
proxy/kiro_api.go:386
↓ 1 callers
Function
CompleteIamSsoLogin
CompleteIamSsoLogin 完成 IAM SSO 登录
auth/iam_sso.go:99
↓ 1 callers
Function
DeleteAccount
(id string)
config/config.go:514
↓ 1 callers
Method
DisableAccount
DisableAccount marks an account as disabled (auth revoked / unrecoverable), removes it from the in-memory pool so subsequent requests skip it, and per
pool/account.go:361
↓ 1 callers
Function
Fatalf
Fatalf logs a formatted message at ERROR level and terminates the process.
logger/logger.go:138
↓ 1 callers
Function
GetAuthClientForProxy
GetAuthClientForProxy returns an auth HTTP client for the given proxy URL. If proxyURL is empty, returns the global auth HTTP client.
auth/http_client.go:29
↓ 1 callers
Function
GetBuilderIdSession
GetBuilderIdSession 获取会话信息
auth/builderid.go:239
↓ 1 callers
Function
GetClientForProxy
GetClientForProxy returns an http.Client configured for the given proxy URL. If proxyURL is empty, returns the global kiro HTTP client.
proxy/kiro.go:66
↓ 1 callers
Function
GetConfigDir
GetConfigDir returns the directory containing the config JSON file. Useful for sibling state (e.g. stored Responses, caches) that should live alongsid
config/config.go:355
↓ 1 callers
Function
GetFilterClaudeCode
GetFilterClaudeCode returns whether Claude Code system prompt detection is enabled. Also checks the legacy SanitizeClaudeCodePrompt flag for backward
config/config.go:647
↓ 1 callers
Function
GetFilterEnvNoise
GetFilterEnvNoise returns whether environment noise line stripping is enabled.
config/config.go:657
↓ 1 callers
Function
GetFilterStripBoundaries
GetFilterStripBoundaries returns whether boundary marker stripping is enabled.
config/config.go:667
↓ 1 callers
Function
GetKiroClientConfig
()
config/config.go:864
↓ 1 callers
Function
GetLevel
GetLevel returns the active log level.
logger/logger.go:81
↓ 1 callers
Function
GetLogLevel
GetLogLevel returns the configured log level (debug/info/warn/error). Defaults to "info".
config/config.go:841
↓ 1 callers
Function
GetPromptFilterRules
GetPromptFilterRules returns the current prompt filter rules.
config/config.go:717
↓ 1 callers
Function
GetStats
()
config/config.go:591
↓ 1 callers
Function
GetUsageLimits
GetUsageLimits 获取账户使用量和订阅信息
proxy/kiro_api.go:76
↓ 1 callers
Function
ImportFromSsoToken
ImportFromSsoToken 从 SSO Token (x-amz-sso_authn) 导入账号
auth/sso_token.go:15
↓ 1 callers
Function
Init
Init configures the logger. The LOG_LEVEL environment variable, if set, overrides the supplied fallback (typically config.GetLogLevel()).
logger/logger.go:95
↓ 1 callers
Function
KiroToOpenAIResponseWithReasoning
KiroToOpenAIResponseWithReasoning 带 reasoning_content 的 OpenAI 响应
proxy/translator.go:2094
↓ 1 callers
Function
LevelName
LevelName returns the canonical lowercase name of a Level.
logger/logger.go:61
↓ 1 callers
Function
Load
()
config/config.go:250
↓ 1 callers
Function
NewHandler
()
proxy/handler.go:231
↓ 1 callers
Function
ParseLevel
ParseLevel converts a textual level ("debug", "info", "warn", "error") to a Level. The ok flag is false when the input is empty or unknown.
logger/logger.go:46
↓ 1 callers
Function
PollBuilderIdAuth
PollBuilderIdAuth 轮询 Builder ID 授权状态
auth/builderid.go:149
↓ 1 callers
Function
SetAccountBanStatus
SetAccountBanStatus marks an account as banned/disabled with a reason. Reason is recorded so operators can see why the account was auto-disabled.
config/config.go:485
↓ 1 callers
Function
SetLevel
SetLevel sets the active log level.
logger/logger.go:76
↓ 1 callers
Function
SetOverageStatus
SetOverageStatus calls AWS Q `POST /setUserPreference` to flip the user-level Overages switch, then re-fetches the snapshot for cache write-through.
proxy/kiro_overage.go:113
↓ 1 callers
Function
SetPassword
SetPassword updates the admin password. Primarily used for environment variable override in containerized deployments.
config/config.go:346
↓ 1 callers
Function
StartBuilderIdLogin
StartBuilderIdLogin 开始 Builder ID 登录
auth/builderid.go:32
↓ 1 callers
Function
StartIamSsoLogin
StartIamSsoLogin 发起 IAM SSO 登录
auth/iam_sso.go:44
↓ 1 callers
Method
Sum
([]byte)
proxy/cache_tracker.go:606
↓ 1 callers
Function
UpdateAccountOverageStatus
UpdateAccountOverageStatus persists the cached upstream overage status fields. Called after a successful setUserPreference or getUsageLimits round-tri
config/config.go:441
↓ 1 callers
Function
UpdateAccountStats
(id string, requestCount, errorCount, totalTokens int, totalCredits float64, lastUsed int64)
config/config.go:597
↓ 1 callers
Function
UpdatePromptFilterConfig
UpdatePromptFilterConfig saves all prompt filter settings atomically.
config/config.go:702
↓ 1 callers
Function
UpdateProxySettings
UpdateProxySettings 更新出站代理配置
config/config.go:815
↓ 1 callers
Function
UpdateThinkingConfig
UpdateThinkingConfig 更新 thinking 配置
config/config.go:762
↓ 1 callers
Function
acceptUserCode
(oidcBase, userCode, deviceSessionToken string)
auth/sso_token.go:185
↓ 1 callers
Function
accountLabel
(id)
web/app.js:700
↓ 1 callers
Method
addCredits
addCredits 线程安全增加 credits
proxy/handler.go:1331
↓ 1 callers
Method
apiAddAccount
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2335
↓ 1 callers
Method
apiBatchAccounts
apiBatchAccounts 批量操作账号(启用/禁用/刷新)
proxy/handler.go:2527
↓ 1 callers
Method
apiClearLogs
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3121
↓ 1 callers
Method
apiCompleteIamSso
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2664
↓ 1 callers
Method
apiCreateApiKey
(w http.ResponseWriter, r *http.Request)
proxy/admin_apikeys.go:70
↓ 1 callers
Method
apiDeleteAccount
(w http.ResponseWriter, r *http.Request, id string)
proxy/handler.go:2368
↓ 1 callers
Method
apiDeleteApiKey
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:168
↓ 1 callers
Method
apiExportAccounts
apiExportAccounts 导出账号凭证
proxy/handler.go:3584
↓ 1 callers
Method
apiGenerateMachineId
apiGenerateMachineId 生成新的机器码
proxy/handler.go:3129
↓ 1 callers
Method
apiGetAccountFull
apiGetAccountFull 获取单个账号的完整信息(包含敏感字段)
proxy/handler.go:3304
↓ 1 callers
Method
apiGetAccountModels
apiGetAccountModels 获取账户可用模型
proxy/handler.go:3383
↓ 1 callers
Method
apiGetAccountModelsCached
apiGetAccountModelsCached 返回账号已缓存的模型列表(不实时拉取)
proxy/handler.go:3424
↓ 1 callers
Method
apiGetAccountOverage
apiGetAccountOverage 拉取并返回单个账号的上游 Overages 状态。 同步把结果写回 config.json 缓存,确保 UI 与持久化一致。
proxy/handler.go:2439
↓ 1 callers
Method
apiGetAccounts
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2273
↓ 1 callers
Method
apiGetApiKey
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:52
↓ 1 callers
Method
apiGetEndpointConfig
apiGetEndpointConfig 获取端点配置
proxy/handler.go:3489
↓ 1 callers
Method
apiGetLogs
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3115
↓ 1 callers
Method
apiGetPromptFilter
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3016
↓ 1 callers
Method
apiGetProxy
apiGetProxy 获取当前代理配置
proxy/handler.go:3535
↓ 1 callers
Method
apiGetSettings
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3006
↓ 1 callers
Method
apiGetStats
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3092
↓ 1 callers
Method
apiGetStatus
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2992
↓ 1 callers
Method
apiGetThinkingConfig
apiGetThinkingConfig 获取 thinking 配置
proxy/handler.go:3444
↓ 1 callers
Method
apiGetVersion
apiGetVersion 获取版本信息
proxy/handler.go:3577
↓ 1 callers
Method
apiImportSsoToken
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2808
↓ 1 callers
Method
apiListApiKeys
(w http.ResponseWriter, r *http.Request)
proxy/admin_apikeys.go:43
↓ 1 callers
Method
apiPollBuilderIdAuth
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2737
↓ 1 callers
Method
apiRefreshAccount
apiRefreshAccount 刷新账户信息(使用量、订阅等)
proxy/handler.go:3202
↓ 1 callers
Method
apiRefreshAccountModels
apiRefreshAccountModels POST /admin/api/accounts/{id}/models/refresh 立即为指定账号拉取并更新模型路由缓存。
proxy/handler.go:644
↓ 1 callers
Method
apiRefreshAllAccountsModels
apiRefreshAllAccountsModels POST /admin/api/accounts/models/refresh 直接复用 refreshModelsCache,为所有已启用账号刷新模型路由缓存。
proxy/handler.go:678
↓ 1 callers
Method
apiResetApiKeyUsage
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:177
↓ 1 callers
Method
apiResetStats
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3103
↓ 1 callers
Method
apiSetAccountOverage
apiSetAccountOverage 翻转单个账号的上游 Overages 开关,并刷新缓存。 Body: {"enabled": true|false}
proxy/handler.go:2479
↓ 1 callers
Method
apiStartBuilderIdLogin
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2716
↓ 1 callers
Method
apiStartIamSso
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2633
← previous
next →
301–400 of 794, ranked by callers