Documentation
¶
Index ¶
Constants ¶
View Source
const (
ConnectionPageId = "Connection"
)
View Source
const (
HelpPageId = "Help"
)
View Source
const (
MainPageId = "Main"
)
View Source
const (
WelcomePageId = "Welcome"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { *core.BaseElement *core.Flex // contains filtered or unexported fields }
Connection is a view for connecting to mongodb using tview package
func (*Connection) Init ¶
func (c *Connection) Init(app *core.App) error
Init overrides the Init function from the BaseElement struct
func (*Connection) Render ¶
func (c *Connection) Render()
func (*Connection) SetOnSubmitFunc ¶
func (c *Connection) SetOnSubmitFunc(onSubmit func())
SetOnSubmitFunc sets callback function
type Help ¶
type Help struct { *core.BaseElement *core.Table // contains filtered or unexported fields }
Help is a view that provides a help screen for keybindings
func (*Help) AddKeySection ¶
type Main ¶
type Main struct { *core.BaseElement *core.Flex // contains filtered or unexported fields }
func (*Main) ShowAIPrompt ¶ added in v0.1.10
func (m *Main) ShowAIPrompt()
func (*Main) ShowServerInfoModal ¶
func (m *Main) ShowServerInfoModal()
type Welcome ¶
type Welcome struct { *core.BaseElement *core.Flex // contains filtered or unexported fields }
func NewWelcome ¶
func NewWelcome() *Welcome
func (*Welcome) SetOnSubmitFunc ¶
func (w *Welcome) SetOnSubmitFunc(onSubmit func())
Click to show internal directories.
Click to hide internal directories.