models

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Step

type Step struct {
	ID        int       `json:"id"`
	Content   string    `json:"content"`
	Status    string    `json:"status"` // "completed", "active", or "upcoming"
	CreatedAt time.Time `json:"createdAt"`
}

Step represents a task step in the stream

type StreamInfo

type StreamInfo struct {
	ID          int       `json:"id"`
	Title       string    `json:"title"`
	Description string    `json:"description"`
	StartTime   time.Time `json:"startTime"`
	Language    string    `json:"language"`
	GithubRepo  string    `json:"githubRepo"`
	ViewerCount int       `json:"viewerCount"`
}

StreamInfo represents the stream information data structure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL