bcfynego

package module
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 20 Imported by: 2

README

bcfynego

This is a Go implementation of a BC client using the BC data structures.

About

bcfynego provides a graphical user interface built with the Fyne toolkit to explore and interact with BC.

Build

go build -tags release

Install

Install the application (or download from https://github.com/AletheiaWareLLC/bcfynego/releases/latest)

go get fyne.io/fyne
fyne get aletheiaware.com/bcfynego/cmd/bcfyne

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BCFyne

type BCFyne struct {
	App            fyne.App
	Window         fyne.Window
	OnKeysExported func(string)
	OnKeysImported func(string)
	OnSignedIn     func(*bcgo.Node)
	OnSignedUp     func(*bcgo.Node)
	OnSignedOut    func()
}

func NewBCFyne

func NewBCFyne(a fyne.App, w fyne.Window) *BCFyne

func (*BCFyne) DeleteKeys

func (f *BCFyne) DeleteKeys(client *bcclientgo.BCClient, node *bcgo.Node)

func (*BCFyne) ExistingNode

func (f *BCFyne) ExistingNode(client *bcclientgo.BCClient, alias string, password []byte, callback func(*bcgo.Node))

func (*BCFyne) ExportKeys

func (f *BCFyne) ExportKeys(client *bcclientgo.BCClient, node *bcgo.Node)
func (f *BCFyne) GetLogo() fyne.CanvasObject

func (*BCFyne) GetNode

func (f *BCFyne) GetNode(client *bcclientgo.BCClient) (*bcgo.Node, error)

func (*BCFyne) NewNode

func (f *BCFyne) NewNode(client *bcclientgo.BCClient, alias string, password []byte, callback func(*bcgo.Node))

func (*BCFyne) ShowAccessDialog

func (f *BCFyne) ShowAccessDialog(client *bcclientgo.BCClient, callback func(*bcgo.Node))

func (*BCFyne) ShowAccount

func (f *BCFyne) ShowAccount(client *bcclientgo.BCClient)

func (*BCFyne) ShowError

func (f *BCFyne) ShowError(err error)

func (*BCFyne) ShowNode

func (f *BCFyne) ShowNode(node *bcgo.Node)

func (*BCFyne) ShowURI

func (f *BCFyne) ShowURI(client *bcclientgo.BCClient, uri fyne.URI)

func (*BCFyne) SignOut

func (f *BCFyne) SignOut(client *bcclientgo.BCClient)

Directories

Path Synopsis
cmd
ui

Jump to

Keyboard shortcuts

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