MCPcopy Create free account

hub / github.com/ShukeBta/MediaStationGo / types & classes

Types & classes739 in github.com/ShukeBta/MediaStationGo

↓ 14 callersFuncTypeimageRoundTripFunc
func(*http.Request) (*http.Response, error)
internal/service/image_proxy_test.go:104
↓ 3 callersTypeAliasTransferMode
TransferMode 表示整理时文件的转移方式。
internal/service/transfer.go:25
↓ 2 callersTypeAliasnfoInt
internal/service/local_metadata_types.go:97
↓ 2 callersFuncTyperoundTripFunc
func(*http.Request) (*http.Response, error)
internal/service/qbittorrent_test.go:19
↓ 1 callersTypeAliasnfoFloat
internal/service/local_metadata_types.go:119
Class
web/src/App.tsx:11
Class
web/src/components/RouteErrorBoundary.tsx:38
StructAIConfig
AIConfig 配置可选的 LLM 提供者。
internal/config/types.go:133
StructAIService
AIService talks to an OpenAI-compatible chat-completions endpoint.
internal/service/ai.go:33
StructAIStatus
AIStatus is returned to the UI for connection-state display.
internal/service/ai.go:65
InterfaceAPIConfig
web/src/api/api_configs.ts:3
StructAPIConfig
APIConfig stores third-party data-source configuration. The api_key column is encrypted with AES-GCM (see internal/service/crypto.go) so an SQLite lea
internal/model/api_config_legacy.go:15
InterfaceAPIConfigPatch
web/src/api/api_configs.ts:16
StructAPIConfigPatch
Update upserts a single provider's config. An empty patch.APIKey leaves the existing key untouched; pass "<clear>" sentinel to wipe it.
internal/service/api_config.go:140
StructAPIConfigService
APIConfigService coordinates third-party API key storage.
internal/service/api_config.go:25
StructAPIResponse
─── Response Helpers ───────────────────────────────────────────────────────── APIResponse 统一 API 响应格式。
internal/handler/response.go:28
InterfaceAccessLog
web/src/types/library.ts:45
StructAccessLog
AccessLog 是结构化审计跟踪条目。存储在 SQLite 中供管理活动面板使用。
internal/model/settings_audit.go:13
StructAccessLogRepository
AccessLogRepository persists model.AccessLog records.
internal/repository/access_log_repository.go:12
StructActiveJob
ActiveJob is the JSON shape exposed to the React Tasks panel.
internal/service/transcoder_jobs.go:71
InterfaceActiveTranscode
web/src/api/tasks.ts:4
StructAdapterTypeInfo
AdapterTypeInfo 描述下载客户端类型信息。
internal/service/download_manager_svc.go:224
InterfaceAddDownloadInput
web/src/api/downloads.ts:9
StructAdultProvider
internal/service/adult_scraper.go:46
InterfaceApiConfig
web/src/types/api.ts:1
StructApiConfig
ApiConfig 存储第三方 API 密钥和配置信息。 APIKey 字段在 JSON 序列化时隐藏(json:"-"),通过加密存储。
internal/model/api_config.go:10
StructApiConfigConfig
ApiConfigConfig API 配置相关设置。
internal/config/types.go:21
StructApiConfigHandler
ApiConfigHandler API 配置 HTTP 处理。
internal/handler/api_config_handler.go:14
StructApiConfigRepository
ApiConfigRepository persists model.ApiConfig records.
internal/repository/api_config_repository.go:14
StructApiConfigService
ApiConfigService 负责第三方 API 配置的 CRUD 和加密管理。
internal/service/api_config_svc.go:16
InterfaceApiProvider
web/src/types/api.ts:14
StructApiProvider
ApiProvider 定义支持的 API 提供者列表。
internal/model/api_config.go:23
StructAppConfig
AppConfig 保存运行时应用参数。
internal/config/types.go:46
ClassAppErrorBoundary
web/src/App.tsx:11
InterfaceApplyManualScrapeActionParams
web/src/components/useManualScrapeDialogState.ts:44
InterfaceApplyManualScrapeParams
web/src/components/useManualScrapeDialogState.ts:53
StructAria2Adapter
Aria2Adapter 是 Aria2 的 DownloadAdapter 实现。
internal/service/aria2_adp.go:18
StructArtwork
Artwork is the high-res image set returned by Fanart.tv.
internal/service/fanart.go:47
InterfaceAssistantMessage
web/src/api/assistant.ts:11
StructAssistantMessage
AssistantMessage is one entry in an AssistantSession transcript. Role is "user" | "assistant" | "system". The optional OperationID links a message t
internal/model/storage_assistant.go:30
StructAssistantRepository
AssistantRepository persists model.AssistantSession + AssistantMessage records.
internal/repository/assistant_repo.go:13
StructAssistantService
AssistantService coordinates AssistantSession + AssistantMessage rows against the underlying AIService.
internal/service/assistant.go:29
InterfaceAssistantSession
web/src/api/assistant.ts:3
StructAssistantSession
AssistantSession groups a multi-turn chat with the AI assistant.
internal/model/storage_assistant.go:19
StructAuditService
AuditService is the only sanctioned writer for the access_logs table.
internal/service/audit.go:20
StructAuthService
AuthService handles registration, login, and JWT issuance.
internal/service/auth.go:21
InterfaceAuthState
web/src/stores/auth.ts:9
InterfaceAuthTypeInfo
web/src/types/sites.ts:36
InterfaceBackgroundTask
web/src/api/tasks.ts:11
StructBackgroundTask
BackgroundTask is the compact, operator-facing shape shown on the live tasks page. It tracks long-running work that is not represented by a download o
internal/service/task_tracker.go:25
InterfaceBackgroundTaskSnapshot
web/src/api/tasks.ts:28
StructBackupInfo
BackupInfo describes one stored backup file.
internal/service/backup.go:38
StructBackupService
BackupService manages database backups.
internal/service/backup.go:26
StructBangumiProvider
BangumiProvider talks to https://api.bgm.tv.
internal/service/bangumi.go:30
StructBarkProvider
BarkProvider 通过 Bark 推送通知到 iOS 设备。 Bark API 文档: https://github.com/Finb/bark-server
internal/service/notify_bark.go:17
StructBase
Base 嵌入每个域实体共享的字段: - ID: UUID v4 字符串主键 - CreatedAt / UpdatedAt: 由 GORM 管理 - DeletedAt: 软删除(查询自动过滤)
internal/model/model.go:17
StructBreakdown
Breakdown is what /api/storage returns.
internal/service/storage.go:28
StructCacheConfig
CacheConfig 控制磁盘转码/刮削缓存。
internal/config/types.go:106
InterfaceCachedDiscoverRow
web/src/pages/discoverPageModel.ts:19
InterfaceCachedDiscoverRowsPayload
web/src/pages/discoverPageModel.ts:25
StructChannelInput
ChannelInput is the shape accepted by Create / Update. Config is a generic map; it gets serialised to JSON before being persisted.
internal/service/notify_channels.go:42
StructChatTurn
ChatTurn is one message in a multi-turn assistant transcript.
internal/service/ai.go:191
StructClaims
Claims is the JWT payload we issue.
internal/middleware/auth.go:14
StructClaims
Claims 是 JWT 载荷(复制自 middleware 以避免循环导入)。
internal/service/token_svc.go:30
StructClientChannel
ClientChannel SSE 客户端通道包装器。
internal/service/sse_hub.go:91
InterfaceCloudBrowserToolbarProps
web/src/pages/CloudBrowserToolbar.tsx:3
InterfaceCloudEntry
web/src/api/storage_config.ts:5
InterfaceCloudEntryListProps
web/src/pages/CloudEntryList.tsx:5
StructCloudMountConflict
internal/service/cloud_mount.go:20
StructCloudMountInfo
CloudMountInfo is the canonical identity of a mounted cloud library. ScanDir is the provider id/path used for listing. DisplayDir is a hierarchical pa
internal/service/cloud_mount.go:13
InterfaceCloudMountListProps
web/src/pages/CloudMountList.tsx:6
StructCloudPlaybackOptions
internal/service/stream_service.go:23
InterfaceCloudScanPanelProps
web/src/pages/CloudScanPanel.tsx:5
InterfaceCloudScanStatus
web/src/api/storage_config.ts:52
StructCloudScanStatus
CloudScanStatus is the operator-facing state for long-running cloud scans.
internal/service/scanner.go:201
StructCloudUploadInput
internal/service/storage_upload.go:26
InterfaceCloudUploadResult
web/src/api/storage_config.ts:35
StructCloudUploadResult
internal/service/storage_upload.go:36
StructCloudUploadResultItem
internal/service/storage_upload.go:47
StructConfig
Config 是根配置聚合。
internal/config/types.go:4
StructContainer
Container 持有在启动时初始化的每个服务。Handler 接收指向它的指针并选择相关字段。
internal/service/service.go:17
StructContainer
Container 是所有 repositories 的注册表,注入到 services 中。
internal/repository/repository.go:11
InterfaceContainerStat
web/src/api/storage.ts:13
StructContainerStat
ContainerStat counts media items per container (mp4 / mkv / …).
internal/service/storage.go:47
InterfaceCreateSiteInput
web/src/api/sites.ts:21
StructCryptoService
CryptoService wraps an AES-GCM cipher derived from a stable per-install secret (the JWT secret).
internal/service/crypto.go:32
StructCustomRSSAdapter
─── Custom RSS 适配器 ─────────────────────────────────────────────────────── CustomRSSAdapter 自定义 RSS 源适配器。
internal/service/site_adapter_custom_rss.go:18
InterfaceDLNADevice
web/src/api/dlna.ts:3
StructDLNADevice
DLNADevice is the public projection of a discovered renderer.
internal/service/dlna.go:45
StructDLNAService
DLNAService discovers UPnP MediaRenderer devices and casts media to them.
internal/service/dlna.go:31
StructDatabaseConfig
DatabaseConfig 配置 GORM 数据库。默认 auto: Docker Compose 主线会注入 PostgreSQL DSN;裸机/旧部署没有 DSN 时回退 SQLite。
internal/config/types.go:69
StructDeviceService
DeviceService implements device/session tracking and the two decoupled enforcement policies requested by the operator: ① 防共享: too many concurrent pl
internal/service/device_service.go:29
StructDirectLink
DirectLink is a resolved playback target.
internal/service/cloud/cloud.go:49
InterfaceDiscoverFeedMeta
web/src/api/discover.ts:33
InterfaceDiscoverFeedResult
web/src/api/discover.ts:43
InterfaceDiscoverItem
web/src/types/discover.ts:6
InterfaceDiscoverItem
web/src/api/discover.ts:6
InterfaceDiscoverResp
web/src/api/discover.ts:51
InterfaceDiscoverSection
web/src/types/discover.ts:1
InterfaceDiscoverSection
web/src/api/discover.ts:27
next →1–100 of 739, ranked by callers