ui

package
v0.0.0-...-f549e0c Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION = "0.2"
	TITLE   = "SocketCAN User Interface"
)
View Source
const (
	DIFFVIEWMS = 250
)

Variables

This section is empty.

Functions

func CreateSocanUI

func CreateSocanUI(app *tview.Application, candev *candevice.CanDevice)

create the TView application

Types

type FrameList

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

type FrameTable

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

type Socanui

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

type TXView

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

type TableData

type TableData struct {
	tview.TableContentReadOnly
}

func (*TableData) Clear

func (tdata *TableData) Clear()

func (*TableData) GetCell

func (tdata *TableData) GetCell(row, column int) *tview.TableCell

func (*TableData) GetColumnCount

func (tdata *TableData) GetColumnCount() int

func (*TableData) GetRowCount

func (tdata *TableData) GetRowCount() int

func (*TableData) InsertOrUpdateRow

func (tdata *TableData) InsertOrUpdateRow(id uint32, dlc uint8, data []byte, kind canbus.Kind)

Jump to

Keyboard shortcuts

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