Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ types & classes
Types & classes
1,481 in github.com/QuantumNous/new-api
⨍
Functions
9,195
◇
Types & classes
1,481
↓ 11 callers
TypeAlias
TaskPlatform
constant/task.go:3
↓ 9 callers
TypeAlias
TaskStatus
model/task.go:15
↓ 7 callers
TypeAlias
RelayFormat
types/relay_format.go:3
↓ 4 callers
TypeAlias
Namespace
Namespace isolates keys between different cache use-cases. (e.g. "channel_affinity:v1").
pkg/cachex/namespace.go:6
↓ 2 callers
TypeAlias
ErrorCode
types/error.go:38
↓ 2 callers
TypeAlias
IntValue
dto/values.go:30
↓ 2 callers
TypeAlias
JSONValue
PrefillGroup 用于存储可复用的“组”信息,例如模型组、标签组、端点组等。 Name 字段保持唯一,用于在前端下拉框中展示。 Type 字段用于区分组的类别,可选值如:model、tag、endpoint。 Items 字段使用 JSON 数组保存对应类型的字符串集合,示例: ["gpt-
model/prefill_group.go:20
↓ 1 callers
TypeAlias
Alias
再正常解析已定义字段
dto/openai_image.go:57
↓ 1 callers
TypeAlias
BoolValue
dto/values.go:54
↓ 1 callers
TypeAlias
CompressionBits
relay/channel/volcengine/protocols.go:20
↓ 1 callers
TypeAlias
DatabaseType
common/database.go:3
↓ 1 callers
TypeAlias
EndpointType
constant/endpoint_type.go:3
↓ 1 callers
TypeAlias
FunctionCallingConfigMode
dto/gemini.go:56
↓ 1 callers
Struct
GeminiChatGenerationConfig
dto/gemini.go:329
↓ 1 callers
Struct
GeminiChatRequest
dto/gemini.go:14
↓ 1 callers
Struct
GeminiInlineData
dto/gemini.go:204
↓ 1 callers
Struct
GeminiPart
dto/gemini.go:269
↓ 1 callers
Struct
GeminiThinkingConfig
dto/gemini.go:162
↓ 1 callers
TypeAlias
HeaderSizeBits
relay/channel/volcengine/protocols.go:18
↓ 1 callers
Struct
ImageRequest
dto/openai_image.go:18
↓ 1 callers
TypeAlias
MsgType
relay/channel/volcengine/protocols.go:15
↓ 1 callers
TypeAlias
MsgTypeFlagBits
relay/channel/volcengine/protocols.go:16
↓ 1 callers
TypeAlias
MultiKeyMode
constant/multi_key_mode.go:3
↓ 1 callers
TypeAlias
RequestConverterQuality
service/relayconvert/request_registry.go:22
↓ 1 callers
TypeAlias
ResponseConverterQuality
service/relayconvert/response_registry.go:27
↓ 1 callers
TypeAlias
SerializationBits
relay/channel/volcengine/protocols.go:19
↓ 1 callers
TypeAlias
StringValue
dto/values.go:8
↓ 1 callers
TypeAlias
VersionBits
relay/channel/volcengine/protocols.go:17
Class
web/src/lib/auth-session.ts:62
Class
web/src/lib/auth-session.ts:81
Class
web/src/features/playground/hooks/use-stream-request.test.ts:33
Struct
AIProxyUserOverviewResponse
controller/channel-billing.go:63
Struct
APGC2DGPTUsageResponse
controller/channel-billing.go:79
Struct
API2GPTUsageResponse
controller/channel-billing.go:72
Struct
APIError
APIError represents an API error response
pkg/ionet/types.go:267
Struct
Ability
model/ability.go:18
Struct
AbilityWithChannel
model/ability.go:28
Struct
AccessDeniedError
AccessDeniedError is a direct user-facing access denial message.
oauth/types.go:62
Interface
AccessTokenDialogProps
web/src/features/profile/components/dialogs/access-token-dialog.tsx:35
Interface
AccountBindingsTabProps
web/src/features/profile/components/tabs/account-bindings-tab.tsx:61
Struct
ActionButton
dto/midjourney.go:96
Struct
ActionDefinition
ActionDefinition describes a single action exposed by a resource. DefaultRoles lists the role keys that receive this action as part of their baseline
service/authz/registry.go:5
Interface
Adaptor
relay/channel/adapter.go:15
Struct
Adaptor
relay/channel/replicate/adaptor.go:28
Struct
Adaptor
relay/channel/jimeng/adaptor.go:20
Struct
Adaptor
relay/channel/gemini/adaptor.go:23
Struct
Adaptor
relay/channel/deepseek/adaptor.go:22
Struct
Adaptor
relay/channel/ali/adaptor.go:25
Struct
Adaptor
relay/channel/xunfei/adaptor.go:17
Struct
Adaptor
relay/channel/ollama/adaptor.go:19
Struct
Adaptor
relay/channel/mistral/adaptor.go:17
Struct
Adaptor
relay/channel/zhipu_4v/adaptor.go:22
Struct
Adaptor
relay/channel/palm/adaptor.go:18
Struct
Adaptor
relay/channel/jina/adaptor.go:20
Struct
Adaptor
relay/channel/xai/adaptor.go:21
Struct
Adaptor
relay/channel/moonshot/adaptor.go:23
Struct
Adaptor
relay/channel/openai/adaptor.go:39
Struct
Adaptor
relay/channel/aws/adaptor.go:28
Struct
Adaptor
relay/channel/submodel/adaptor.go:17
Struct
Adaptor
relay/channel/minimax/adaptor.go:23
Struct
Adaptor
relay/channel/perplexity/adaptor.go:20
Struct
Adaptor
relay/channel/zhipu/adaptor.go:18
Struct
Adaptor
relay/channel/tencent/adaptor.go:21
Struct
Adaptor
relay/channel/dify/adaptor.go:24
Struct
Adaptor
relay/channel/siliconflow/adaptor.go:21
Struct
Adaptor
relay/channel/sub2api/adaptor.go:20
Struct
Adaptor
relay/channel/baidu_v2/adaptor.go:20
Struct
Adaptor
relay/channel/volcengine/adaptor.go:32
Struct
Adaptor
relay/channel/vertex/adaptor.go:53
Struct
Adaptor
relay/channel/codex/adaptor.go:21
Struct
Adaptor
relay/channel/cohere/adaptor.go:18
Struct
Adaptor
relay/channel/advancedcustom/adaptor.go:30
Struct
Adaptor
relay/channel/baidu/adaptor.go:19
Struct
Adaptor
relay/channel/cloudflare/adaptor.go:20
Struct
Adaptor
relay/channel/mokaai/adaptor.go:19
Struct
Adaptor
relay/channel/claude/adaptor.go:20
Struct
Adaptor
relay/channel/coze/adaptor.go:19
Interface
AddChannelRequest
web/src/features/channels/types.ts:372
Struct
AddChannelRequest
controller/channel.go:569
Struct
AdminBindSubscriptionRequest
controller/subscription.go:351
Struct
AdminCompleteTopupRequest
controller/topup.go:490
Struct
AdminCreateUserSubscriptionRequest
controller/subscription.go:394
Struct
AdminResetSubscriptionRequest
controller/subscription.go:398
Interface
AdminStepProps
web/src/features/setup/components/admin-step.tsx:36
Struct
AdminUpdateSubscriptionPlanStatusRequest
controller/subscription.go:324
Struct
AdminUpsertSubscriptionPlanRequest
controller/subscription.go:137
Interface
AdvancedCustomConfig
web/src/features/channels/types.ts:112
Struct
AdvancedCustomConfig
dto/channel_settings.go:82
Interface
AdvancedCustomRoute
web/src/features/channels/types.ts:116
Struct
AdvancedCustomRoute
dto/channel_settings.go:86
Interface
AdvancedCustomRouteAuth
web/src/features/channels/types.ts:124
Struct
AdvancedCustomRouteAuth
dto/channel_settings.go:94
Interface
AffiliateRewardsCardProps
web/src/features/wallet/components/affiliate-rewards-card.tsx:32
Interface
AffiliateTransferRequest
web/src/features/wallet/types.ts:218
Interface
AffinityRule
web/src/features/system-settings/general/channel-affinity/types.ts:25
Struct
AliChatRequest
relay/channel/ali/dto.go:36
Struct
AliEmbedding
relay/channel/ali/dto.go:52
Struct
AliEmbeddingRequest
relay/channel/ali/dto.go:42
Struct
AliEmbeddingResponse
relay/channel/ali/dto.go:57
Struct
AliError
relay/channel/ali/dto.go:65
next →
1–100 of 1,481, ranked by callers