gui

package
v0.0.0-...-d4978fa Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: Unlicense Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ALERT = DuOSalert{}

Functions

func DuOSfileSystem

func DuOSfileSystem(cx *conte.Xt) (err error)

func DuOSloader

func DuOSloader(cx *conte.Xt, firstRun bool) (err error)

func DuOSnode

func DuOSnode(cx *conte.Xt) error

func Services

func Services(cx *conte.Xt) error

func WalletGUI

func WalletGUI(cx *conte.Xt) (err error)

Types

type AddBook

type AddBook struct {
	Address string `json:"address"`
	Label   string `json:"label"`
}

type Address

type Address struct {
	Index   int     `json:"num"`
	Label   string  `json:"label"`
	Account string  `json:"account"`
	Address string  `json:"address"`
	Amount  float64 `json:"amount"`
}

type DaemonConfig

type DaemonConfig struct {
	Config *pod.Config `json:"config"`
	Schema pod.Schema  `json:"schema"`
}

type DbAddress

type DbAddress string

type Ddb

type Ddb interface {
	DbReadAllTypes()
	DbRead(folder, name string)
	DbReadAll(folder string) DuOSitems
	DbWrite(folder, name string, data interface{})
}

type DuOSConfig

type DuOSConfig struct {

	//Display mod.DisplayConfig `json:"display"`
	Daemon DaemonConfig `json:"daemon"`
	// contains filtered or unexported fields
}

func GetCoreCofig

func GetCoreCofig(cx *conte.Xt) (c DuOSConfig)

func (*DuOSConfig) SaveDaemonCfg

func (d *DuOSConfig) SaveDaemonCfg(c pod.Config)

type DuOSalert

type DuOSalert struct {
	Time      time.Time   `json:"time"`
	Title     string      `json:"title"`
	Message   interface{} `json:"message"`
	AlertType string      `json:"type"`
}

type DuOSbalance

type DuOSbalance struct {
	Balance string `json:"balance"`
}

type DuOSbestBlockHash

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

type DuOSblockCount

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

type MempoolInfo struct { string}

type DuOScomp

type DuOScomp struct {
	IsApp       bool   `json:"isapp"`
	Name        string `json:"name"`
	ID          string `json:"id"`
	Version     string `json:"ver"`
	Description string `json:"desc"`
	State       string `json:"state"`
	Image       string `json:"img"`
	URL         string `json:"url"`
	CompType    string `json:"comtype"`
	SubType     string `json:"subtype"`
	Js          string `json:"js"`
	Template    string `json:"template"`
	Css         string `json:"css"`
}

type DuOScomps

type DuOScomps []DuOScomp

type DuOSconnections

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

type DuOSdb

type DuOSdb struct {
	DB     *scribble.Driver
	Folder string      `json:"folder"`
	Name   string      `json:"name"`
	Data   interface{} `json:"data"`
}

func (*DuOSdb) DbRead

func (d *DuOSdb) DbRead(folder, name string)

func (*DuOSdb) DbReadAddressBook

func (d *DuOSdb) DbReadAddressBook() map[string]string

func (*DuOSdb) DbReadAll

func (d *DuOSdb) DbReadAll(folder string) DuOSitems

func (*DuOSdb) DbReadAllComponents

func (d *DuOSdb) DbReadAllComponents() map[string]DuOScomp

func (*DuOSdb) DbReadAllTypes

func (d *DuOSdb) DbReadAllTypes()

func (*DuOSdb) DbReadTypeAll

func (d *DuOSdb) DbReadTypeAll(f string)

func (*DuOSdb) DbWrite

func (d *DuOSdb) DbWrite(folder, name string, data interface{})

func (*DuOSdb) DuOSdbInit

func (d *DuOSdb) DuOSdbInit(dataDir string)

type DuOSdifficulty

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

type DuOShashes

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

type DuOSheight

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

type DuOSitem

type DuOSitem struct {
	Enabled  bool        `json:"enabled"`
	Name     string      `json:"name"`
	Slug     string      `json:"slug"`
	Version  string      `json:"ver"`
	CompType string      `json:"comptype"`
	SubType  string      `json:"subtype"`
	Data     interface{} `json:"data"`
}

type DuOSitems

type DuOSitems struct {
	Slug  string              `json:"slug"`
	Items map[string]DuOSitem `json:"items"`
}

type DuOSlocalHost

type DuOSlocalHost struct {
	Cpu        []cpu.InfoStat        `json:"cpu"`
	CpuPercent []float64             `json:"cpupercent"`
	Memory     mem.VirtualMemoryStat `json:"mem"`
	Disk       disk.UsageStat        `json:"disk"`
}

type DuOSnav

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

func (*DuOSnav) GetScreen

func (nav *DuOSnav) GetScreen(screen string)

type DuOSnetLastBlock

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

type DuOSnetworkHash

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

type DuOStatus

type DuOStatus struct {
	Version       string                           `json:"ver"`
	WalletVersion map[string]btcjson.VersionResult `json:"walletver"`
	UpTime        int64                            `json:"uptime"`
	CurrentNet    string                           `json:"net"`
	Chain         string                           `json:"chain"`
}

System Ststus

type DuOStemplates

type DuOStemplates struct {
	App  map[string][]byte            `json:"app"`
	Data map[string]map[string][]byte `json:"data"`
}

type DuOStransactionExcerpt

type DuOStransactionExcerpt struct {
	Balance       float64 `json:"balance"`
	Amount        float64 `json:"amount"`
	Category      string  `json:"category"`
	Confirmations int64   `json:"confirmations"`
	Time          string  `json:"time"`
	TxID          string  `json:"txid"`
	Comment       string  `json:"comment,omitempty"`
}

type DuOStransactions

type DuOStransactions struct {
	Txs       []btcjson.ListTransactionsResult `json:"txs"`
	TxsNumber int                              `json:"txsnumber"`
}

type DuOStransactionsExcerpts

type DuOStransactionsExcerpts struct {
	Txs           []DuOStransactionExcerpt `json:"txs"`
	TxsNumber     int                      `json:"txsnumber"`
	Balance       float64                  `json:"balance"`
	BalanceHeight float64                  `json:"balanceheight"`
}

type DuOStransactionsNumber

type DuOStransactionsNumber struct {
	TxsNumber int `json:"txsnumber"`
}

type DuOSunconfirmed

type DuOSunconfirmed struct {
	Unconfirmed string `json:"unconfirmed"`
}

type RcVar

type RcVar interface {
	GetDuOStransactions(sfrom, count int, cat string)
	GetDuOSbalance()
	GetDuOStransactionsExcerpts()
	DuoSend(wp string, ad string, am float64)
	GetDuOStatus()
	PushDuOSalert(t string, m interface{}, at string)
	GetDuOSblockCount()
	GetDuOSconnectionCount()
}

type Send

type Send struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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