Versions in this module Expand all Collapse all v0 v0.1.1 Jul 26, 2026 v0.1.0 Jul 26, 2026 Changes in this version + type ConnectionConfig struct + BaseURL string + Password string + Username string + type ConnectionDefaults struct + BaseURL string + Username string + type DirectoryReader interface + ReadDir func(context.Context, *url.URL) ([]webdav.Entry, error) + type Model struct + func NewConnectionModel(ctx context.Context, factory SessionFactory, defaults ConnectionDefaults) *Model + func NewModel(ctx context.Context, client DirectoryReader, videoPlayer player.Player) *Model + func (m *Model) Init() tea.Cmd + func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m *Model) View() tea.View + type Session struct + Client DirectoryReader + Entries []webdav.Entry + Player player.Player + type SessionFactory func(context.Context, ConnectionConfig) (Session, error)