Documentation
¶
Index ¶
- func RegisterCoreRoutes(router *gin.Engine, deps *ServerDependencies)
- func RegisterRoutes(protected *gin.RouterGroup, deps *ServerDependencies)
- type AvailableScrapersResponse
- type DeepLUsageRequest
- type DeepLUsageResponse
- type ErrorResponse
- type HealthResponse
- type ProxyTestRequest
- type ProxyTestResponse
- type ScraperChoice
- type ScraperInfo
- type ScraperOption
- type ServerDependencies
- type TranslationModelsRequest
- type TranslationModelsResponse
- type UpdateConfigRequest
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 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
Click to show internal directories.
Click to hide internal directories.