Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,409 in github.com/QuantumNous/new-api
⨍
Functions
15,409
◇
Types & classes
2,241
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
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:212
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:201
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:827
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:352
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
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
Method
GetName
()
oauth/linuxdo.go:36
Method
GetName
()
oauth/discord.go:41
Method
GetName
()
oauth/generic.go:77
Function
GetNodeSync
GetNodeSync answers whether each node runs the latest revision of every sync topic.
controller/system_info.go:36
Function
GetNotice
(c *gin.Context)
controller/misc.go:179
Method
GetOriginModelName
()
relaykit/relayconvert/convmeta/meta.go:178
Method
GetOriginModelName
()
relay/common/relay_info.go:871
Function
GetPaginatedTags
(offset int, limit int)
model/channel.go:1100
Function
GetPasswordEncryptionKey
(c *gin.Context)
controller/user.go:36
Function
GetPerfMetrics
(c *gin.Context)
controller/perf_metrics.go:44
Function
GetPerfMetricsSummary
(c *gin.Context)
controller/perf_metrics.go:15
Function
GetPerfMetricsSummaryAll
(startTs int64, endTs int64, groups []string)
model/perf_metric.go:81
Function
GetPerformanceSetting
GetPerformanceSetting 获取性能设置
setting/performance_setting/config.go:67
Function
GetPerformanceStats
GetPerformanceStats 获取性能统计信息
controller/performance.go:82
Function
GetPermissionCatalog
GetPermissionCatalog returns the permission schema used by the client to render the permission editor: the registry of resources with their actions an
controller/authz.go:15
Function
GetPluginCredentials
GetPluginCredentials lists a channel's credentials without their secrets.
controller/provider_plugin.go:136
Method
GetPreConsumedQuota
()
controller/relay_task_plugin_test.go:55
Method
GetPreConsumedQuota
()
controller/plugin_native_e2e_test.go:69
← previous
next →
10,101–10,200 of 15,409, ranked by callers