Documentation
¶
Index ¶
- func GetViewersBreadcrumbs(tui *sneatnav.TUI) sneatnav.Breadcrumbs
- func GetViewersListPanel(tui *sneatnav.TUI, title string, focusTo sneatnav.FocusTo, ...) sneatnav.Panel
- func NewCloudsMenu(tui *sneatnav.TUI, active ViewerID) (menu sneatnav.Panel)
- func RegisterModule()
- func RegisterViewer(viewer Viewer)
- type CollectionContext
- type DbContext
- type DbContextBase
- type Driver
- type SqlDBContext
- type SqlDBGetter
- type Viewer
- type ViewerID
- type ViewersListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetViewersBreadcrumbs ¶
func GetViewersBreadcrumbs(tui *sneatnav.TUI) sneatnav.Breadcrumbs
func GetViewersListPanel ¶
func RegisterModule ¶
func RegisterModule()
func RegisterViewer ¶
func RegisterViewer(viewer Viewer)
Types ¶
type CollectionContext ¶
type CollectionContext struct {
DbContext
CollectionRef dal.CollectionRef
}
type DbContextBase ¶
type DbContextBase struct {
// contains filtered or unexported fields
}
func (*DbContextBase) Driver ¶
func (c *DbContextBase) Driver() Driver
func (*DbContextBase) Name ¶
func (c *DbContextBase) Name() string
func (*DbContextBase) Schema ¶
func (c *DbContextBase) Schema() schemer.SchemaProvider
type SqlDBContext ¶
type SqlDBContext struct {
DbContextBase
GetSqlDB SqlDBGetter
}
func GetSQLiteDbContext ¶
func GetSQLiteDbContext(path string) *SqlDBContext
func NewSqlDBContext ¶
func NewSqlDBContext(driver Driver, name string, getSqlDB SqlDBGetter, schema schemer.SchemaProvider) *SqlDBContext
type SqlDBGetter ¶
type ViewersListOptions ¶ added in v0.0.13
type ViewersListOptions struct {
WithDescription bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.