Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Quorinex/Kiro-Go
/ types & classes
Types & classes
85 in github.com/Quorinex/Kiro-Go
⨍
Functions
794
◇
Types & classes
85
↓ 5 callers
FuncType
roundTripFunc
func(*http.Request) (*http.Response, error)
proxy/kiro_api_test.go:292
↓ 2 callers
TypeAlias
Level
Level represents a log severity.
logger/logger.go:22
Struct
Account
Account represents a Kiro API account with authentication credentials and usage statistics.
config/config.go:36
Struct
AccountInfo
AccountInfo contains account metadata retrieved from Kiro API. Used for updating subscription and usage information.
config/config.go:216
Struct
AccountPool
AccountPool 账号池
pool/account.go:16
Struct
ApiKeyEntry
ApiKeyEntry represents a single API key with optional usage limits and counters. Limits with value 0 are treated as "no limit". Counters are cumulativ
config/config.go:127
Struct
BonusInfo
proxy/kiro_api.go:584
Struct
BuilderIdSession
BuilderIdSession Builder ID 登录会话
auth/builderid.go:14
Struct
ClaudeCacheCreationUsage
proxy/translator.go:182
Struct
ClaudeContentBlock
proxy/translator.go:146
Struct
ClaudeMessage
proxy/translator.go:141
Struct
ClaudeRequest
==================== Claude API 类型 ====================
proxy/translator.go:122
Struct
ClaudeResponse
proxy/translator.go:171
Struct
ClaudeThinkingConfig
proxy/translator.go:135
Struct
ClaudeTool
proxy/translator.go:165
Struct
ClaudeUsage
proxy/translator.go:187
Struct
Config
Config represents the global application configuration.
config/config.go:147
Struct
ExportAccount
proxy/handler.go:3635
Struct
ExportCredentials
构建兼容 Kiro Account Manager 的导出格式
proxy/handler.go:3611
Struct
ExportData
proxy/handler.go:3651
Struct
ExportSubscription
proxy/handler.go:3623
Struct
ExportUsage
proxy/handler.go:3628
Struct
FreeTrialInfo
proxy/kiro_api.go:577
Struct
Handler
Handler HTTP 处理器
proxy/handler.go:39
Struct
IamSsoSession
auth/iam_sso.go:19
Struct
ImageSource
proxy/translator.go:159
Struct
InferenceConfig
proxy/kiro.go:226
Struct
InputSchema
proxy/kiro.go:189
Struct
KiroAssistantResponseMessage
proxy/kiro.go:215
Struct
KiroClientConfig
config/config.go:858
Struct
KiroHistoryMessage
proxy/kiro.go:210
Struct
KiroImage
proxy/kiro.go:203
Struct
KiroPayload
==================== Request Structs ==================== KiroPayload is the top-level request body sent to the Kiro API.
proxy/kiro.go:147
Struct
KiroResultContent
proxy/kiro.go:199
Struct
KiroStreamCallback
==================== Stream Callbacks ==================== KiroStreamCallback stream response callbacks
proxy/kiro.go:235
Struct
KiroToolResult
proxy/kiro.go:193
Struct
KiroToolUse
proxy/kiro.go:220
Struct
KiroToolWrapper
proxy/kiro.go:181
Struct
KiroUserInputMessage
proxy/kiro.go:168
Struct
ModelInfo
proxy/kiro_api.go:613
Struct
OpenAIChoice
proxy/translator.go:1071
Struct
OpenAIMessage
proxy/translator.go:989
Struct
OpenAIRequest
==================== OpenAI API 类型 ====================
proxy/translator.go:979
Struct
OpenAIResponse
proxy/translator.go:1062
Struct
OpenAITool
proxy/translator.go:1005
Struct
OpenAIUsage
proxy/translator.go:1077
Struct
OverageSnapshot
OverageSnapshot captures the upstream Overages state for an account.
proxy/kiro_overage.go:21
Struct
PromptFilterConfig
PromptFilterConfig holds all prompt filter settings for API responses.
config/config.go:677
Struct
PromptFilterRule
PromptFilterRule defines a single custom prompt sanitization rule. Type can be: "regex" (regexp find/replace within prompt) or "lines-containing" (rem
config/config.go:115
Struct
RequestLog
RequestLog stores details about a single API request (success or failure).
proxy/handler.go:23
Struct
ResponseContentPart
proxy/responses_types.go:47
Struct
ResponseOutputItem
proxy/responses_types.go:36
Struct
ResponsesError
proxy/responses_types.go:58
Struct
ResponsesObject
proxy/responses_types.go:19
Struct
ResponsesRequest
proxy/responses_types.go:5
Struct
ResponsesUsage
proxy/responses_types.go:52
Struct
SubscriptionInfo
proxy/kiro_api.go:593
Struct
ThinkingConfig
ThinkingConfig holds settings for AI thinking/reasoning mode. When enabled, models output their reasoning process alongside the response.
config/config.go:730
Struct
ToolCall
proxy/translator.go:996
Struct
UsageBreakdown
proxy/kiro_api.go:566
Struct
UsageLimitsResponse
响应结构体
proxy/kiro_api.go:559
Struct
UserInfo
proxy/kiro_api.go:601
Struct
UserInfoResponse
proxy/kiro_api.go:606
Struct
UserInputMessageContext
proxy/kiro.go:176
Struct
apiKeyContextKey
apiKeyContextKey is an unexported type used as the context key for the matched ApiKeyEntry so it cannot collide with keys defined in other packages.
proxy/auth.go:12
Struct
apiKeyCreateRequest
proxy/admin_apikeys.go:62
Struct
apiKeyUpdateRequest
proxy/admin_apikeys.go:110
Struct
apiKeyView
apiKeyView is the response payload for listing/inspecting API keys. The Key field is masked so admins can identify entries without exposing the secret
proxy/admin_apikeys.go:11
Struct
authError
authError describes why authentication failed. status is the HTTP status code to send.
proxy/auth.go:15
Struct
cacheablePromptBlock
proxy/cache_tracker.go:238
Struct
claudeThinkingResponseOptions
proxy/handler.go:166
Struct
deviceContextInfo
auth/sso_token.go:179
Interface
hashWriter
proxy/cache_tracker.go:604
Struct
kiroEndpoint
Endpoint configuration (auto-fallback on quota exhaustion).
proxy/kiro.go:25
Struct
kiroHeaderValues
proxy/kiro_headers.go:14
Struct
modelMapping
modelAliases lists model names that need an explicit redirect — dated snapshots, cross-family legacy IDs (claude-3-*), and non-Anthropic fallbacks. Pl
proxy/translator.go:19
Struct
promptCacheBreakpoint
proxy/cache_tracker.go:30
Struct
promptCacheEntry
proxy/cache_tracker.go:50
Struct
promptCacheProfile
proxy/cache_tracker.go:36
Struct
promptCacheTracker
proxy/cache_tracker.go:55
Struct
promptCacheUsage
proxy/cache_tracker.go:23
Struct
storedResponseDoc
proxy/responses_store.go:169
TypeAlias
thinkingStreamSource
proxy/handler.go:62
Struct
toolUseState
==================== Tool Use Handling ====================
proxy/kiro.go:710
Struct
upstreamOverageResponse
upstreamOverageResponse mirrors the parts of /getUsageLimits we need for the Overages switch UI. Other fields are already parsed elsewhere.
proxy/kiro_overage.go:33