UiService

package
v0.0.0-...-88569e2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeTerminalApplication

func InvokeTerminalApplication() fx.Option

func ProvideTerminalApplication

func ProvideTerminalApplication() fx.Option

Types

type IUi

type IUi interface {
	Build2(*tview.Application, ...ui.IPrimitiveCloser) (ui.IPrimitiveCloser, error)
}

type IUiService

type IUiService interface {
	IUi
	IFxService.IFxServices
}

func NewService

func NewService(pubSub *pubsub.PubSub) IUiService

type Service

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

func (*Service) Build2

func (self *Service) Build2(
	application *tview.Application,
	primitiveCloser ...ui.IPrimitiveCloser,
) (ui.IPrimitiveCloser, error)

func (*Service) BuildApp2

func (self *Service) BuildApp2(
	app *tview.Application,
	slideFactories ...ui.IPrimitiveCloser,
) (ui.IPrimitiveCloser, error)

func (*Service) OnStart

func (self *Service) OnStart(_ context.Context) error

func (*Service) OnStop

func (self *Service) OnStop(_ context.Context) error

func (*Service) ServiceName

func (self *Service) ServiceName() string

func (*Service) State

func (self *Service) State() IFxService.State

Jump to

Keyboard shortcuts

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