mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
- Refactor frame converter implementation - Update mp4 track to use ICodex - General refactoring and code improvements 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
586 B
Go
27 lines
586 B
Go
package debug
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
// Session 表示一个监控会话
|
|
type Session struct {
|
|
ID uint32 `gorm:"primarykey"`
|
|
PID int
|
|
Args string
|
|
StartTime time.Time
|
|
EndTime sql.NullTime
|
|
}
|
|
|
|
// Task 表示一个任务记录
|
|
type Task struct {
|
|
ID uint `gorm:"primarykey"`
|
|
SessionID, TaskID, ParentID uint32
|
|
StartTime, EndTime time.Time
|
|
OwnerType string
|
|
TaskType byte
|
|
Description string
|
|
Reason string
|
|
Level byte
|
|
} |