Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(tableType enums.TableType, host host.Host, cliGateway *cligw.Gateway) (*Builder, error)
NewBuilder creates a new Builder instance with the provided CLI gateway. It initializes the termbox terminal and dashboard, and sets up a context and quitter function. If an error occurs during initialization, it returns an error.
func (*Builder) Init ¶
Init initializes the dashboard by fetching the cells, columns, and rows configurations from the `dashboards` package and using them to build a new `grid` with the `grid.New()` method. It then uses the built grid to create a new dashboard using the `container.New()` method. The dashboard instance is stored in the `db.dashboard` field for later use.
Click to show internal directories.
Click to hide internal directories.