Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TimelineTypes = []TimelineType{ TimelineHome, TimelineLocal, TimelineFederated, TimelineProfile, TimelineLikes, TimelineTag, TimelineMedia, }
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) FocusTimeline ¶
func (app *App) FocusTimeline()
func (*App) ViewCompose ¶
func (app *App) ViewCompose()
func (*App) ViewThread ¶
func (*App) ViewTimeline ¶
func (app *App) ViewTimeline()
type ComposeModal ¶
func NewComposeModal ¶
func NewComposeModal(app *App) *ComposeModal
type InfoView ¶
func NewInfoView ¶
type ReplyForm ¶
func NewReplyForm ¶
type StatusFrame ¶
func NewStatusFrame ¶
func NewStatusFrame(app *App) *StatusFrame
func (*StatusFrame) SetStatus ¶
func (f *StatusFrame) SetStatus(toot *Toot)
type StatusModal ¶
func NewStatusModal ¶
func NewStatusModal(app *App, status *mastodon.Status) *StatusModal
type Timeline ¶
type Timeline struct { *cview.List Toots []*mastodon.Status // contains filtered or unexported fields }
func NewTimeline ¶
func NewTimeline(app *App, toots []*mastodon.Status, ttype TimelineType) *Timeline
func (*Timeline) GetCurrentToot ¶
func (*Timeline) SetCurrentToot ¶
func (*Timeline) SetTimeline ¶
func (t *Timeline) SetTimeline(ttype TimelineType)
type TimelineType ¶
type TimelineType int
const ( TimelineHome TimelineType = iota TimelineLocal TimelineFederated TimelineProfile TimelineLikes TimelineTag TimelineMedia TimelineTootContext )
func (TimelineType) String ¶
func (t TimelineType) String() string
type Toot ¶
func (*Toot) IsFavorite ¶
type TootReplies ¶
type TootReplies struct { *Timeline // contains filtered or unexported fields }
func NewTootReplies ¶
func NewTootReplies(app *App) *TootReplies
func (*TootReplies) SetStatus ¶
func (r *TootReplies) SetStatus(status *mastodon.Status)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.