core/restream/app/log.go
2023-03-14 15:10:06 +01:00

38 lines
481 B
Go

package app
import (
"time"
)
type LogLine struct {
Timestamp time.Time
Data string
}
type LogEntry struct {
CreatedAt time.Time
Prelude []string
Log []LogLine
}
type LogHistoryEntry struct {
LogEntry
ExitedAt time.Time
ExitState string
Progress Progress
}
type Log struct {
LogEntry
History []LogHistoryEntry
}
type LogHistorySearchResult struct {
ProcessID string
Reference string
ExitState string
ExitedAt time.Time
CreatedAt time.Time
}