banana

package
Version: v0.0.0-...-a7167af Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoSuchSubErr = errors.New("No such sub")

Functions

This section is empty.

Types

type App

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

func NewRoot

func NewRoot() *App

func (*App) Model

func (n *App) Model() *BytesBufferPLeaf

func (*App) Subscribe

func (n *App) Subscribe(cb func()) *Sub

func (*App) TaggingScreen

func (n *App) TaggingScreen() *Tagging

type BytesBufferPLeaf

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

func (*BytesBufferPLeaf) Get

func (m *BytesBufferPLeaf) Get() *bytes.Buffer

func (*BytesBufferPLeaf) Set

func (m *BytesBufferPLeaf) Set(v *bytes.Buffer)

func (*BytesBufferPLeaf) Subscribe

func (m *BytesBufferPLeaf) Subscribe(cb func()) *Sub

type Node

type Node interface {
	Subscribe(cb func()) *Sub
}

type StringLeaf

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

func (*StringLeaf) Get

func (m *StringLeaf) Get() string

func (*StringLeaf) Set

func (m *StringLeaf) Set(v string)

func (*StringLeaf) Subscribe

func (m *StringLeaf) Subscribe(cb func()) *Sub

type Sub

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

func (*Sub) Clear

func (s *Sub) Clear()

type Tagging

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

func (*Tagging) Name

func (n *Tagging) Name() *StringLeaf

func (*Tagging) Subscribe

func (n *Tagging) Subscribe(cb func()) *Sub

Jump to

Keyboard shortcuts

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