configview

package module
v0.0.0-...-78c7afb Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigView

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

func Create

func Create(panels *kview.Panels, to *tab.Tab, portCnt uint16, tabChar rune, flex *kview.Flex) *ConfigView

func (*ConfigView) ConfigForm

func (cv *ConfigView) ConfigForm(port uint16) *kview.Flex

func (*ConfigView) DisplayConfigTable

func (cv *ConfigView) DisplayConfigTable()

func (*ConfigView) FormName

func (cv *ConfigView) FormName(port uint16) string

func (*ConfigView) PacketConfigByPort

func (cv *ConfigView) PacketConfigByPort(port uint16) *constants.PacketConfig

func (*ConfigView) SetTxState

func (cv *ConfigView) SetTxState(port uint16, val bool)

func (*ConfigView) TableView

func (cv *ConfigView) TableView() *kview.Table

func (*ConfigView) TxState

func (cv *ConfigView) TxState(port uint16) bool

Jump to

Keyboard shortcuts

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