app

package
v0.0.0-...-8595b8b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func Default

func Default() (*App, error)

func New

func New(bus bus, input input, output output, options ...Option) *App

func (*App) CommandBus

func (a *App) CommandBus() commands.Bus

func (*App) Run

func (a *App) Run(ctx context.Context) error

type Option

type Option func(options *appOptions)

func WithFPS

func WithFPS(fps int) Option

Jump to

Keyboard shortcuts

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