app

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Implements AIP2P GUI Application based on fyne.io/fyne

Index

Constants

View Source
const START_LABEL_TEXT string = "Start new AIP2P node with \"Start\" button."

Start label text

View Source
const STATUS_TEXT_CONNECTED = "Connected."
View Source
const STATUS_TEXT_CONNECTING = "Connecting..."
View Source
const STATUS_TEXT_DISCONNECTED = "Disconnected."
View Source
const STATUS_TEXT_ERROR = "Error."
View Source
const STATUS_TEXT_READY = "Ready."
View Source
const STATUS_TEXT_STARTED = "Started."
View Source
const STATUS_TEXT_STARTING = "Starting..."
View Source
const STATUS_TEXT_STOPPED = "Stopped."
View Source
const STATUS_TEXT_STOPPING = "Stopping..."

Variables

This section is empty.

Functions

This section is empty.

Types

type Gui

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

Application GUI object

func (*Gui) AddPeerToList added in v0.0.16

func (gui *Gui) AddPeerToList(peer *peer.AddrInfo)

func (*Gui) LogError added in v0.0.14

func (gui *Gui) LogError(err error)

func (*Gui) LogInfo added in v0.0.14

func (gui *Gui) LogInfo(info string, args ...interface{})

func (*Gui) RemovePeerFromList added in v0.0.16

func (gui *Gui) RemovePeerFromList(id peer.ID)

func (*Gui) Start

func (gui *Gui) Start()

Start GUI Application main window

Jump to

Keyboard shortcuts

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