system

package
v0.2.4-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCoreRoutes

func RegisterCoreRoutes(router *gin.Engine, deps *ServerDependencies)

func RegisterRoutes

func RegisterRoutes(protected *gin.RouterGroup, deps *ServerDependencies)

Types

type AvailableScrapersResponse

type AvailableScrapersResponse = contracts.AvailableScrapersResponse

type DeepLUsageRequest

type DeepLUsageRequest struct {
	Mode    string `json:"mode"`
	BaseURL string `json:"base_url"`
	APIKey  string `json:"api_key"`
}

type DeepLUsageResponse

type DeepLUsageResponse struct {
	CharacterCount int64  `json:"character_count"`
	CharacterLimit int64  `json:"character_limit"`
	StartTime      string `json:"start_time,omitempty"`
	EndTime        string `json:"end_time,omitempty"`
	APIKeyCount    int64  `json:"api_key_character_count,omitempty"`
	APIKeyLimit    int64  `json:"api_key_character_limit,omitempty"`
}

type ErrorResponse

type ErrorResponse = contracts.ErrorResponse

type HealthResponse

type HealthResponse = contracts.HealthResponse

type ProxyTestRequest

type ProxyTestRequest = contracts.ProxyTestRequest

type ProxyTestResponse

type ProxyTestResponse = contracts.ProxyTestResponse

type ScraperChoice

type ScraperChoice = contracts.ScraperChoice

type ScraperInfo

type ScraperInfo = contracts.ScraperInfo

type ScraperOption

type ScraperOption = contracts.ScraperOption

type ServerDependencies

type ServerDependencies = core.ServerDependencies

type TranslationModelsRequest

type TranslationModelsRequest = contracts.TranslationModelsRequest

type TranslationModelsResponse

type TranslationModelsResponse = contracts.TranslationModelsResponse

type UpdateConfigRequest

type UpdateConfigRequest = contracts.UpdateConfigRequest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL