Documentation
¶
Index ¶
- type App
- func (a *App) Debug(message ...interface{})
- func (a *App) Delete(key interface{})
- func (a *App) Dispatch(action flux.ActionInterface) chan struct{}
- func (a *App) Fail(err error)
- func (a *App) Init()
- func (a *App) Log(message ...interface{})
- func (a *App) Logf(format string, args ...interface{})
- func (a *App) Watch(key interface{}, f func(done chan struct{}))
- type ChangeTextAction
- type Editor
- type EditorStore
- type Page
- type UserChangedTextAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Dispatcher flux.DispatcherInterface Watcher flux.WatcherInterface Notifier flux.NotifierInterface Editor *EditorStore }
func (*App) Dispatch ¶
func (a *App) Dispatch(action flux.ActionInterface) chan struct{}
type ChangeTextAction ¶
type ChangeTextAction struct {
Text string
}
type Editor ¶
type Editor struct { vecty.Core Text string `vecty:"prop"` // contains filtered or unexported fields }
func (*Editor) Render ¶
func (v *Editor) Render() vecty.ComponentOrHTML
type EditorStore ¶
type EditorStore struct {
// contains filtered or unexported fields
}
func NewEditorStore ¶
func NewEditorStore(app *App) *EditorStore
func (*EditorStore) Code ¶
func (s *EditorStore) Code() string
func (*EditorStore) Html ¶
func (s *EditorStore) Html() string
type UserChangedTextAction ¶
type UserChangedTextAction struct {
Text string
}
Click to show internal directories.
Click to hide internal directories.