Versions in this module Expand all Collapse all v1 v1.0.1 Sep 19, 2026 Changes in this version + func AddGroup(c *gin.Context) + func DeleteGroup(c *gin.Context) + func FetchChannelModels(c *gin.Context) + func GetAllActiveLogs(c *gin.Context) + func GetChannelDescriptors(c *gin.Context) + func GetGroup(c *gin.Context) + func GetGroupList(c *gin.Context) + func HandleSSEOptions(c *gin.Context) + func StreamActiveLogs(c *gin.Context) + func UpdateGroup(c *gin.Context) + type FetchModelsRequest struct + BaseURL string + ChannelID int + ChannelType int + Key string + type GroupRequest struct + ModelRatio *float64 + Name string v1.0.0 Jul 6, 2026 Changes in this version + func AddChannel(c *gin.Context) + func AddToken(c *gin.Context) + func AutomaticallyTestChannels(frequency int) + func AutomaticallyUpdateChannels(frequency int) + func CreateMetadata(g *gin.Context) + func CreateUser(c *gin.Context) + func DashboardListModels(c *gin.Context) + func DeleteChannel(c *gin.Context) + func DeleteDisabledChannel(c *gin.Context) + func DeleteMetadata(g *gin.Context) + func DeleteToken(c *gin.Context) + func DeleteUser(c *gin.Context) + func GenerateAccessToken(c *gin.Context) + func GetAllChannels(c *gin.Context) + func GetAllLogs(c *gin.Context) + func GetAllMetadata(g *gin.Context) + func GetAllTokens(c *gin.Context) + func GetAllUsers(c *gin.Context) + func GetAuthHeader(token string) http.Header + func GetChannel(c *gin.Context) + func GetGroups(c *gin.Context) + func GetLogDetail(c *gin.Context) + func GetLogsSelfStat(c *gin.Context) + func GetLogsStat(c *gin.Context) + func GetMetadata(g *gin.Context) + func GetOptions(c *gin.Context) + func GetResponseBody(method, url string, channel *model.Channel, headers http.Header) ([]byte, error) + func GetSelf(c *gin.Context) + func GetStatus(c *gin.Context) + func GetSubscription(c *gin.Context) + func GetToken(c *gin.Context) + func GetTokenStatus(c *gin.Context) + func GetUsage(c *gin.Context) + func GetUser(c *gin.Context) + func GetUserAvailableModels(c *gin.Context) + func GetUserDashboard(c *gin.Context) + func GetUserLogs(c *gin.Context) + func ListAllModels(c *gin.Context) + func ListModels(c *gin.Context) + func Login(c *gin.Context) + func Logout(c *gin.Context) + func ManageUser(c *gin.Context) + func Relay(c *gin.Context) + func RelayNotFound(c *gin.Context) + func RelayNotImplemented(c *gin.Context) + func ResetChannel(c *gin.Context) + func RetrieveModel(c *gin.Context) + func SearchAllLogs(c *gin.Context) + func SearchChannels(c *gin.Context) + func SearchTokens(c *gin.Context) + func SearchUserLogs(c *gin.Context) + func SearchUsers(c *gin.Context) + func SetupLogin(user *model.User, c *gin.Context) + func TestChannel(c *gin.Context) + func TestChannels(c *gin.Context) + func UpdateAllChannelsBalance(c *gin.Context) + func UpdateChannel(c *gin.Context) + func UpdateChannelBalance(c *gin.Context) + func UpdateMetadata(g *gin.Context) + func UpdateOption(c *gin.Context) + func UpdateSelf(c *gin.Context) + func UpdateToken(c *gin.Context) + func UpdateUser(c *gin.Context) + type AIProxyUserOverviewResponse struct + Data struct{ ... } + ErrorCode int + Message string + Success bool + type APGC2DGPTUsageResponse struct + Object string + TotalAvailable float64 + TotalGranted float64 + TotalUsed float64 + type API2GPTUsageResponse struct + Object string + TotalGranted float64 + TotalRemaining float64 + TotalUsed float64 + type DeepSeekUsageResponse struct + BalanceInfos []struct{ ... } + IsAvailable bool + type LoginRequest struct + Password string + Username string + type ManageRequest struct + Action string + Username string + type OpenAICreditGrants struct + Object string + TotalAvailable float64 + TotalGranted float64 + TotalUsed float64 + type OpenAIModelPermission struct + AllowCreateEngine bool + AllowFineTuning bool + AllowLogprobs bool + AllowSampling bool + AllowSearchIndices bool + AllowView bool + Created int + Group *string + Id string + IsBlocking bool + Object string + Organization string + type OpenAIModels struct + ApplyPatchToolType string + ContextWindow int + Created int + DefaultReasoningLevel string + DisplayName string + Id string + InputModalities []string + Object string + OwnedBy string + Parent *string + Permission []OpenAIModelPermission + Priority int + Root string + SupportedEndpointTypes []apitype.EndpointType + SupportedInApi bool + SupportedReasoningLevels []string + TruncationPolicy string + Visibility string + WebSearchToolType string + type OpenAISBUsageResponse struct + Data ... + Msg string + type OpenAISubscriptionResponse struct + AccessUntil int64 + HardLimitUSD float64 + HasPaymentMethod bool + Object string + SoftLimitUSD float64 + SystemHardLimitUSD float64 + type OpenAIUsageDailyCost struct + LineItems []struct{ ... } + Timestamp float64 + type OpenAIUsageResponse struct + Object string + TotalUsage float64 + type OpenRouterResponse struct + Data struct{ ... } + type SiliconFlowUsageResponse struct + Code int + Data struct{ ... } + Message string + Status bool