Documentation ¶
Index ¶
- Constants
- func CmdWithSpinnerMessage(msg string, cmd tea.Cmd) tea.Cmd
- func NewApp() tea.Model
- func Run() error
- func SelectPodcast(d models.DetailList) tea.Cmd
- type App
- func (app App) AddFocused() bool
- func (app App) Init() tea.Cmd
- func (app *App) SetDimensions(msg tea.WindowSizeMsg) tea.WindowSizeMsg
- func (app App) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (app *App) UpdateEpisodes(data []*db.Episode) (tea.Model, tea.Cmd)
- func (app App) UpdateFeeds(data *db.SubData) (tea.Model, tea.Cmd)
- func (app *App) UpdatePodcasts(data []db.Feed) (tea.Model, tea.Cmd)
- func (app App) UpdateSubModels(msg tea.Msg) (tea.Model, tea.Cmd)
- func (app App) View() string
- type AppState
- type AppStateError
Constants ¶
View Source
const ( AppStateInvalid = -1 AppStatePodcasts = iota AppStateEpisodes AppStatePodEpisodes )
Variables ¶
This section is empty.
Functions ¶
func SelectPodcast ¶
func SelectPodcast(d models.DetailList) tea.Cmd
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) AddFocused ¶
func (*App) SetDimensions ¶
func (app *App) SetDimensions(msg tea.WindowSizeMsg) tea.WindowSizeMsg
func (*App) UpdateEpisodes ¶
type AppStateError ¶
type AppStateError struct {
// contains filtered or unexported fields
}
func (*AppStateError) Error ¶
func (e *AppStateError) Error() string
Click to show internal directories.
Click to hide internal directories.