gui

package
v0.0.0-...-6348706 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const LEN_CONN = 14
View Source
const LEN_LOGS = 25
View Source
const LEN_NODES = 32

Variables

This section is empty.

Functions

This section is empty.

Types

type GUI

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

func New

func New(ctx context.Context, ch chan IncomingData) *GUI

func (*GUI) Start

func (g *GUI) Start()

func (*GUI) Stop

func (g *GUI) Stop()

type IncomingData

type IncomingData struct {
	Connections int
	NodesTotal  int
	NodesGood   int
	NodesDead   int32
	NodesQueued int
	Log         string
	Msg         string
}

Jump to

Keyboard shortcuts

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