ui

package
v0.0.0-...-899c67c Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fabric

type Fabric struct {
	// contains filtered or unexported fields
}

func NewFabric

func NewFabric() *Fabric

func (*Fabric) Add

func (f *Fabric) Add(ui string, uiFunc fabricFunc)

func (*Fabric) Get

func (f *Fabric) Get(ui string) UI

func (*Fabric) List

func (f *Fabric) List() []string

type UI

type UI interface {
	SetWorld(world world.Explorer)
	Name() string
	Run()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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