Documentation ¶
Index ¶
- type App
- func (a *App) BeforeClose(ctx context.Context) (prevent bool)
- func (a *App) CreateWallet(nodeID string) string
- func (a App) DomReady(ctx context.Context)
- func (a *App) GetAddresses(nodeID string) []string
- func (a *App) GetAddressesWithBalances(nodeID string) []balances
- func (a *App) GetBlockInfos(nodeID string) []blocks
- func (a *App) GetTransactions(nodeID string) []transactions
- func (a *App) Greet(name string) string
- func (a *App) SendTransaction(from, to string, amount int, nodeID string, mineNow bool)
- func (a *App) Shutdown(ctx context.Context)
- func (a *App) StartNode(nodeID, minerAddress string)
- func (a *App) Startup(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App struct
func (*App) BeforeClose ¶
BeforeClose is called when the application is about to quit, either by clicking the window close button or calling runtime.Quit. Returning true will cause the application to continue, false will continue shutdown as normal.
func (*App) CreateWallet ¶
CreateWallet returns the wallet address of a newly generated wallet
func (*App) GetAddresses ¶
GetAddresses is used for getting all addresses
func (*App) GetAddressesWithBalances ¶
func (*App) GetBlockInfos ¶
func (*App) GetTransactions ¶
func (*App) SendTransaction ¶
Send Transactions - NEEDS UPDATING
Click to show internal directories.
Click to hide internal directories.