summaryrefslogtreecommitdiff
path: root/api/agent/agent.go
blob: 52c55002d4b14e50bbfe4becb8eeece08f02589c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package agent

import "github.com/keuin/slbr/types"

type Agent interface {
	GetTasks() []TaskInfo
}

type TaskStatus string

type LiveRoomInfo struct {
	ID    types.RoomId `json:"id"`
	Title *string      `json:"title"`
}

type TaskInfo struct {
	LiveRoom LiveRoomInfo `json:"live_room"`
	Status   string       `json:"status"`
}