demos

package
v0.6.9-alpha.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() connector.Connector

Types

type Demo

type Demo interface {
	DemoName() string
	DemoItem() tview.Primitive
}

type Demos

type Demos struct {
	*tview.TextView
}

Both a Module and a Layout and a Switcher.SubLayout

func NewDemos

func NewDemos() *Demos

func (*Demos) CommandCallback

func (D *Demos) CommandCallback(args []string, context map[string]interface{})

func (*Demos) CommandHelp

func (D *Demos) CommandHelp() string

func (*Demos) CommandName

func (D *Demos) CommandName() string

func (*Demos) CommandUsage

func (D *Demos) CommandUsage() string

func (*Demos) Connect

func (D *Demos) Connect(connector.Connector)

func (*Demos) Id

func (D *Demos) Id() string

func (*Demos) Mount

func (D *Demos) Mount(context map[string]interface{}) error

func (*Demos) Name

func (D *Demos) Name() string

func (*Demos) Refresh

func (D *Demos) Refresh(context map[string]interface{}) error

func (*Demos) Routes

func (D *Demos) Routes() []router.RoutePair

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL