Versions in this module Expand all Collapse all v0 v0.2.0 Jan 16, 2024 Changes in this version + type NextPanel struct + type SelectedPanel int + const Details + const Publish + const Tree + type SelectedPanelChanged struct + type ViewContent struct + Content string + type ViewState int + const DetailsState + const TreeState v0.1.0 Jul 16, 2023 Changes in this version + const MediumSkipAmount + const SmallSkipAmount + type NodeDetailsModel struct + func CreateNodeDetailsModel(selectedNode *internal.MessageNode) NodeDetailsModel + func (m NodeDetailsModel) Init() tea.Cmd + func (m NodeDetailsModel) Update(msg tea.Msg) (NodeDetailsModel, tea.Cmd) + func (m NodeDetailsModel) View() string + func (m NodeDetailsModel) ViewPayload() string + type NodeModel struct + func CreateNodeModel(node *internal.MessageNode) NodeModel + func (m NodeModel) Init() tea.Cmd + func (m NodeModel) RenderNodes() string + func (m NodeModel) RenderRootNode() string + func (m NodeModel) Update(msg tea.Msg) (NodeModel, tea.Cmd) + func (m NodeModel) View() string + type NodePublishModel struct + func CreateNodePublishModel(selectedNode *internal.MessageNode) NodePublishModel + func (m NodePublishModel) Init() tea.Cmd + func (m NodePublishModel) Update(msg tea.Msg) (NodePublishModel, tea.Cmd) + func (m NodePublishModel) View() string + type PublishMessage struct + Payload []byte + QoS byte + Retained bool + Topic string + type SetSelectedNode struct + type TickMsg time.Time + type TreeModel struct + Subscriptions []string + Url *url.URL + func CreateTreeModel(ctx context.Context, url *url.URL, subscriptions []string, ...) TreeModel + func (m TreeModel) Init() tea.Cmd + func (m TreeModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m TreeModel) View() string