globalposts

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	AccountId uuid.UUID
	Posts     []domain.GlobalTimelinePost
	Offset    int // Pagination offset
	Selected  int // Currently selected post index
	Width     int
	Height    int

	LocalDomain string
	// contains filtered or unexported fields
}

func InitialModel

func InitialModel(accountId uuid.UUID, width, height int, localDomain string) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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