Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StyleTitle = lipgloss.NewStyle(). Foreground(colorPrimary). Bold(true). Padding(0, 1) StylePanel = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorMuted) StylePeerOnline = lipgloss.NewStyle(). Foreground(colorGreen) StylePeerOffline = lipgloss.NewStyle(). Foreground(colorMuted) StyleMessage = lipgloss.NewStyle(). Foreground(colorText) StyleMessageMine = lipgloss.NewStyle(). Foreground(colorSecond) StyleInput = lipgloss.NewStyle(). Foreground(colorText). BorderStyle(lipgloss.NormalBorder()). BorderTop(true). BorderForeground(colorMuted) StyleHelp = lipgloss.NewStyle(). Foreground(colorMuted). Italic(true) StyleError = lipgloss.NewStyle(). Foreground(colorRed) )
Functions ¶
This section is empty.
Types ¶
type MsgFileDone ¶
type MsgFileDone struct{ From, Name, SavePath string }
type MsgFileProgress ¶
type MsgFileStart ¶
type MsgLocalAddr ¶
type MsgLocalAddr struct{ Addr string }
type MsgNicknameSet ¶
type MsgNicknameSet struct{ Nickname string }
type MsgPeerFound ¶
type MsgPeerLost ¶
type MsgTextReceived ¶
type MsgTextReceived struct{ From, Content string }
Click to show internal directories.
Click to hide internal directories.