ui

package
v0.0.0-...-1dbc6fd Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgramView

type ProgramView struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewProgramView

func NewProgramView(parent *UI) *ProgramView

func (*ProgramView) Run

func (v *ProgramView) Run()

type SerialView

type SerialView struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewSerialView

func NewSerialView(parent *UI) *SerialView

func (*SerialView) ClosePort

func (v *SerialView) ClosePort()

func (*SerialView) OpenPort

func (v *SerialView) OpenPort()

type UI

type UI struct {
	UARTStreamView *SerialView
	ProgrammerView *ProgramView
	// contains filtered or unexported fields
}

func NewUI

func NewUI(config *config.Config) *UI

func (*UI) RunUI

func (u *UI) RunUI()

func (*UI) ShowProgrammerView

func (u *UI) ShowProgrammerView()

func (*UI) ShowUARTLog

func (u *UI) ShowUARTLog()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳