Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildModal ¶
BuildModal builds simple modal.
Types ¶
type TreeCpnt ¶
type TreeCpnt struct { App *tview.Application AppCtx *models.AppCtx RootPrmt *tview.Flex // contains filtered or unexported fields }
TreeCpnt represents the tree primitive which list the API(s)
func NewTreeCpnt ¶
func NewTreeCpnt(app *tview.Application, ctx *models.AppCtx) *TreeCpnt
NewTreeCpnt returns a new TreeCpnt struct
func (*TreeCpnt) Make ¶
func (cpnt *TreeCpnt) Make(refreshMDRView func(it models.MakeRequestData), switchToPage func(page string)) *tview.Flex
Make makes the tree (home made) component
func (*TreeCpnt) RefreshWithPattern ¶
RefreshWithPattern refreshes the tree data with specific pattern
func (*TreeCpnt) UpdateTitle ¶
UpdateTitle updates tree title
type TreeCpntNode ¶
type TreeCpntNode struct {
// contains filtered or unexported fields
}
TreeCpntNode contains data for tree cpnt
func NewTreeCpntNode ¶
func NewTreeCpntNode(prmt *tview.TextView, label string, method types.Method, url types.URL) TreeCpntNode
NewTreeCpntNode creates new TreeCpntNode struct
Click to show internal directories.
Click to hide internal directories.