Documentation ¶
Index ¶
Constants ¶
View Source
const ( SmallSkipAmount = 5 MediumSkipAmount = 25 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeDetailsModel ¶
type NodeDetailsModel struct {
// contains filtered or unexported fields
}
func CreateNodeDetailsModel ¶
func CreateNodeDetailsModel(selectedNode *internal.MessageNode) NodeDetailsModel
func (NodeDetailsModel) Init ¶
func (m NodeDetailsModel) Init() tea.Cmd
func (NodeDetailsModel) Update ¶
func (m NodeDetailsModel) Update(msg tea.Msg) (NodeDetailsModel, tea.Cmd)
func (NodeDetailsModel) View ¶
func (m NodeDetailsModel) View() string
func (NodeDetailsModel) ViewPayload ¶
func (m NodeDetailsModel) ViewPayload() string
type NodeModel ¶
type NodeModel struct {
// contains filtered or unexported fields
}
func CreateNodeModel ¶
func CreateNodeModel(node *internal.MessageNode) NodeModel
func (NodeModel) RenderNodes ¶
func (NodeModel) RenderRootNode ¶
type NodePublishModel ¶
type NodePublishModel struct {
// contains filtered or unexported fields
}
func CreateNodePublishModel ¶
func CreateNodePublishModel(selectedNode *internal.MessageNode) NodePublishModel
func (NodePublishModel) Init ¶
func (m NodePublishModel) Init() tea.Cmd
func (NodePublishModel) Update ¶
func (m NodePublishModel) Update(msg tea.Msg) (NodePublishModel, tea.Cmd)
func (NodePublishModel) View ¶
func (m NodePublishModel) View() string
type PublishMessage ¶
type SelectedPanel ¶ added in v0.2.0
type SelectedPanel int
const ( Tree SelectedPanel = iota Details Publish )
type SelectedPanelChanged ¶ added in v0.2.0
type SelectedPanelChanged struct {
// contains filtered or unexported fields
}
type SetSelectedNode ¶
type SetSelectedNode struct {
// contains filtered or unexported fields
}
type TreeModel ¶
type TreeModel struct { Url *url.URL Subscriptions []string // contains filtered or unexported fields }
func CreateTreeModel ¶
type ViewContent ¶ added in v0.2.0
type ViewContent struct {
Content string
}
Click to show internal directories.
Click to hide internal directories.