Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,592 in github.com/QuantumNous/new-api
⨍
Functions
15,592
◇
Types & classes
2,267
Method
GetChannelName
GetChannelName implements channel.Adaptor.
relay/channel/coze/adaptor.go:115
Function
GetChannelOps
(c *gin.Context)
controller/channel.go:190
Function
GetChannelPriorityOrder
(c *gin.Context)
controller/channel_priority.go:12
Method
GetChannelType
()
relaykit/relayconvert/convmeta/meta.go:203
Function
GetChannelsByType
Get channels of specified type with pagination
model/channel.go:1340
Function
GetCheckinQuotaRange
GetCheckinQuotaRange 获取签到额度范围
setting/operation_setting/checkin_setting.go:35
Function
GetCheckinStatus
GetCheckinStatus 获取用户签到状态和历史记录
controller/checkin.go:15
Function
GetCodexChannelRateLimitResetCredits
(c *gin.Context)
controller/codex_usage.go:29
Function
GetCodexChannelUsage
(c *gin.Context)
controller/codex_usage.go:20
Function
GetContainerDetails
(c *gin.Context)
controller/deployment.go:758
Method
GetContainerJobs
GetContainerJobs retrieves containers jobs for a specific container (similar to containers endpoint)
pkg/ionet/container.go:59
Method
GetContainerLogs
GetContainerLogs retrieves logs for containers in a deployment and normalizes them
pkg/ionet/container.go:125
Function
GetContextKeyStringSlice
(c *gin.Context, key constant.ContextKey)
common/gin.go:255
Function
GetCurrencySymbol
GetCurrencySymbol 返回当前展示类型对应符号
setting/operation_setting/general_setting.go:60
Function
GetCurrentSystemTask
(c *gin.Context)
controller/system_task.go:37
Function
GetCustomOAuthProvider
GetCustomOAuthProvider returns a single custom OAuth provider by ID
controller/custom_oauth.go:96
Function
GetCustomOAuthProviderBySlug
GetCustomOAuthProviderBySlug returns a custom OAuth provider by slug
model/custom_oauth_provider.go:100
Function
GetCustomOAuthProviders
GetCustomOAuthProviders returns all custom OAuth providers
controller/custom_oauth.go:76
Function
GetDashboardPerfMetricsSummary
(c *gin.Context)
controller/perf_metrics.go:34
Function
GetDeployment
(c *gin.Context)
controller/deployment.go:296
Function
GetDeploymentLogs
(c *gin.Context)
controller/deployment.go:646
Function
GetEnabledCustomOAuthProviders
GetEnabledCustomOAuthProviders returns all enabled custom OAuth providers
model/custom_oauth_provider.go:83
Method
GetEndIdx
()
common/page_info.go:21
Method
GetEstimatePromptTokens
()
relaykit/relayconvert/convmeta/meta.go:234
Method
GetEstimatePromptTokens
()
relay/common/relay_info.go:857
Function
GetFileBase64FromUrl
GetFileBase64FromUrl 从 URL 获取文件的 base64 编码数据 Deprecated: 请使用 GetBase64Data 配合 types.NewURLFileSource 替代 此函数保留用于向后兼容,内部已重构为调用统一的文件服务
service/file_decoder.go:139
Method
GetFirstToolCall
()
relaykit/dto/openai_response.go:171
Function
GetFullRequestURL
(baseURL string, requestURL string, channelType int)
relay/common/relay_utils.go:26
Function
GetGroups
(c *gin.Context)
controller/group.go:14
Method
GetGroups
()
model/channel.go:316
Method
GetHardwareType
GetHardwareType retrieves details about a specific hardware type
pkg/ionet/hardware.go:139
Function
GetHardwareTypes
(c *gin.Context)
controller/deployment.go:520
Function
GetHomePageContent
(c *gin.Context)
controller/misc.go:213
Method
GetIdentifier
GetIdentifier 获取文件标识符(用于日志)
relaykit/types/request_meta.go:58
Method
GetIdentifier
()
relaykit/types/file_source.go:81
Method
GetIdentifier
()
relaykit/types/file_source.go:104
Function
GetImage
(c *gin.Context)
controller/image.go:7
Method
GetIsStream
()
relaykit/relayconvert/convmeta/meta.go:210
Method
GetIsStream
()
relay/common/relay_info.go:913
Method
GetJsonRowString
()
relaykit/dto/claude.go:101
Method
GetLocation
GetLocation retrieves details about a specific location
pkg/ionet/hardware.go:161
Method
GetLocationAvailability
GetLocationAvailability retrieves real-time availability for a specific location
pkg/ionet/hardware.go:183
Function
GetLocations
(c *gin.Context)
controller/deployment.go:540
Function
GetLogByKey
(c *gin.Context)
controller/log.go:182
Function
GetLogFiles
GetLogFiles 获取日志文件列表
controller/performance.go:222
Function
GetLoginSessions
(c *gin.Context)
controller/auth_session.go:97
Function
GetLogsSelfStat
(c *gin.Context)
controller/log.go:230
Function
GetLogsStat
(c *gin.Context)
controller/log.go:203
Function
GetMidjourney
(c *gin.Context)
controller/misc.go:202
Function
GetMimeType
GetMimeType 获取文件的 MIME 类型
service/file_service.go:431
Function
GetMissingModels
GetMissingModels returns the list of model names that are referenced by channels but do not have corresponding records in the models meta table. This
controller/missing_models.go:14
Function
GetMjByuId
(id int)
model/midjourney.go:150
Function
GetModelDeploymentSettings
(c *gin.Context)
controller/deployment.go:28
Function
GetModelEnableGroups
(modelName string)
model/model_extra.go:3
Method
GetModelList
()
relay/channel/adapter.go:81
Method
GetModelList
()
relay/channel/replicate/adaptor.go:306
Method
GetModelList
()
relay/channel/jimeng/adaptor.go:138
Method
GetModelList
()
relay/channel/gemini/adaptor.go:323
Method
GetModelList
()
relay/channel/deepseek/adaptor.go:300
Method
GetModelList
()
relay/channel/ali/adaptor.go:225
Method
GetModelList
()
relay/channel/xunfei/adaptor.go:98
Method
GetModelList
()
relay/channel/ollama/adaptor.go:142
Method
GetModelList
()
relay/channel/mistral/adaptor.go:87
Method
GetModelList
()
relay/channel/task/jsplugin/adaptor.go:655
Method
GetModelList
()
relay/channel/zhipu_4v/adaptor.go:138
Method
GetModelList
()
relay/channel/palm/adaptor.go:90
Method
GetModelList
()
relay/channel/providerplugin/adaptor.go:509
Method
GetModelList
()
relay/channel/jina/adaptor.go:92
Method
GetModelList
()
relay/channel/xai/adaptor.go:139
Method
GetModelList
()
relay/channel/moonshot/adaptor.go:133
Method
GetModelList
()
relay/channel/newapi/adaptor.go:115
Method
GetModelList
()
relay/channel/openai/adaptor.go:798
Method
GetModelList
()
relay/channel/aws/adaptor.go:177
Method
GetModelList
()
relay/channel/submodel/adaptor.go:81
Method
GetModelList
()
relay/channel/minimax/adaptor.go:141
Method
GetModelList
()
relay/channel/perplexity/adaptor.go:92
Method
GetModelList
()
relay/channel/zhipu/adaptor.go:96
Method
GetModelList
()
relay/channel/tencent/adaptor.go:112
Method
GetModelList
()
relay/channel/tencent/dispatch.go:31
Method
GetModelList
()
relay/channel/dify/adaptor.go:113
Method
GetModelList
()
relay/channel/siliconflow/adaptor.go:134
Method
GetModelList
()
relay/channel/baidu_v2/adaptor.go:124
Method
GetModelList
()
relay/channel/volcengine/adaptor.go:397
Method
GetModelList
()
relay/channel/vertex/adaptor.go:380
Method
GetModelList
()
relay/channel/codex/adaptor.go:133
Method
GetModelList
()
relay/channel/cohere/adaptor.go:93
Method
GetModelList
()
relay/channel/advancedcustom/adaptor.go:363
Method
GetModelList
()
relay/channel/baidu/adaptor.go:163
Method
GetModelList
()
relay/channel/cloudflare/adaptor.go:129
Method
GetModelList
()
relay/channel/mokaai/adaptor.go:105
Method
GetModelList
()
relay/channel/claude/adaptor.go:176
Method
GetModelList
GetModelList implements channel.Adaptor.
relay/channel/coze/adaptor.go:120
Function
GetModelPriceMap
()
setting/ratio_setting/model_ratio.go:347
Function
GetModelPricingConfig
(c *gin.Context)
controller/model_pricing_config.go:12
Function
GetModelRatioOrPrice
result: 倍率or价格, usePrice, exist
setting/ratio_setting/model_ratio.go:743
Function
GetModelSquareUsage
GetModelSquareUsage lists every model of the model square, whichever group can see it, with its usage for the order preview.
controller/pricing.go:83
Method
GetName
()
controller/auth_flow_test.go:632
Method
GetName
()
controller/auth_flow_test.go:833
Method
GetName
()
oauth/telegram.go:103
Method
GetName
()
oauth/github.go:44
← previous
next →
10,201–10,300 of 15,592, ranked by callers