Documentation
¶
Index ¶
- type Sample
- type UIModel
- func (m UIModel) Init() tea.Cmd
- func (m UIModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (model UIModel) UpdateModel(msg UITransferMsg) (UIModel, tea.Cmd)
- func (model UIModel) UpdateProgress(msg progress.FrameMsg) (UIModel, tea.Cmd)
- func (model UIModel) UpdateSpeed(msg tickMsg) UIModel
- func (model UIModel) UpdateWidth(msg tea.WindowSizeMsg) UIModel
- func (m UIModel) View() string
- type UITransfer
- type UITransferMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UIModel ¶
type UIModel struct {
Transfers []UITransfer
}
func (UIModel) UpdateModel ¶
func (model UIModel) UpdateModel(msg UITransferMsg) (UIModel, tea.Cmd)
func (UIModel) UpdateProgress ¶
func (UIModel) UpdateSpeed ¶
func (UIModel) UpdateWidth ¶
func (model UIModel) UpdateWidth(msg tea.WindowSizeMsg) UIModel
type UITransfer ¶
type UITransferMsg ¶
type UITransferMsg struct {
Progress copier.CopierProgress
}
Click to show internal directories.
Click to hide internal directories.