Documentation
¶
Index ¶
- Variables
- func AddStep(content, status string) error
- func GetSteps() ([]models.Step, []models.Step, []models.Step, error)
- func GetStreamInfo() (models.StreamInfo, error)
- func InitDB(filepath string) error
- func UpdateStepStatus(id int, status string) error
- func UpdateStreamInfo(info models.StreamInfo) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
DB is the database connection
Functions ¶
func GetStreamInfo ¶
func GetStreamInfo() (models.StreamInfo, error)
GetStreamInfo retrieves the stream information from the database
func UpdateStepStatus ¶
UpdateStepStatus updates the status of a step
func UpdateStreamInfo ¶
func UpdateStreamInfo(info models.StreamInfo) error
UpdateStreamInfo updates the stream information in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.