MCPcopy
hub / github.com/Wei-Shaw/sub2api / SystemHandler

Struct SystemHandler

backend/internal/handler/admin/system_handler.go:20–23  ·  view source on GitHub ↗

SystemHandler handles system-related operations

Source from the content-addressed store, hash-verified

18
19// SystemHandler handles system-related operations
20type SystemHandler struct {
21 updateSvc systemUpdateService
22 lockSvc *service.SystemOperationLockService
23}
24
25type systemUpdateService interface {
26 CheckUpdate(ctx context.Context, force bool) (*service.UpdateInfo, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected