Documentation
¶
Index ¶
- func Check(err error) bool
- func Debug(a ...interface{})
- func Debugc(fn func() string)
- func Debugf(format string, a ...interface{})
- func Debugs(a interface{})
- func Error(a ...interface{})
- func Errorc(fn func() string)
- func Errorf(format string, a ...interface{})
- func Errors(a interface{})
- func Fatal(a ...interface{})
- func Fatalc(fn func() string)
- func Fatalf(format string, a ...interface{})
- func Fatals(a interface{})
- func Info(a ...interface{})
- func Infoc(fn func() string)
- func Infof(format string, a ...interface{})
- func Infos(a interface{})
- func Main(cx *conte.Xt, c *cli.Context) (err error)
- func Trace(a ...interface{})
- func Tracec(fn func() string)
- func Tracef(format string, a ...interface{})
- func Traces(a interface{})
- func Warn(a ...interface{})
- func Warnc(fn func() string)
- func Warnf(format string, a ...interface{})
- func Warns(a interface{})
- type Explorer
- func (ex *Explorer) Blocks() l.Widget
- func (ex *Explorer) GetAppWidget() (a *p9.App)
- func (ex *Explorer) Page(title string, widget p9.Widgets) func(gtx l.Context) l.Dimensions
- func (ex *Explorer) PageTopBarButton(name string, index int, ico *[]byte) func(gtx l.Context) l.Dimensions
- func (ex *Explorer) Run() (err error)
- func (ex *Explorer) RunStatusButton() func(gtx l.Context) l.Dimensions
- func (ex *Explorer) Runner() (err error)
- func (ex *Explorer) SetRunState(b bool)
- func (ex *Explorer) StatusBarButton(name string, index int, ico *[]byte) func(gtx l.Context) l.Dimensions
- type State
- func (s *State) Balance() float64
- func (s *State) BalanceUnconfirmed() float64
- func (s *State) BestBlockHash() *chainhash.Hash
- func (s *State) BestBlockHeight() int
- func (s *State) LastUpdated() time.Time
- func (s *State) SetBalance(total float64)
- func (s *State) SetBalanceUnconfirmed(unconfirmed float64)
- func (s *State) SetBestBlockHash(h *chainhash.Hash)
- func (s *State) SetBestBlockHeight(height int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Explorer ¶
type Explorer struct {
*p9.App
Worker *worker.Worker
RunCommandChan chan string
State State
Shell *worker.Worker
ChainClient, WalletClient *rpcclient.Client
// contains filtered or unexported fields
}
func (*Explorer) GetAppWidget ¶
func (*Explorer) PageTopBarButton ¶
func (*Explorer) RunStatusButton ¶
func (ex *Explorer) RunStatusButton() func(gtx l.Context) l.Dimensions
func (*Explorer) SetRunState ¶
func (*Explorer) StatusBarButton ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) BalanceUnconfirmed ¶
func (*State) BestBlockHash ¶
func (*State) BestBlockHeight ¶
func (*State) LastUpdated ¶
func (*State) SetBalance ¶
func (*State) SetBalanceUnconfirmed ¶
func (*State) SetBestBlockHash ¶
func (*State) SetBestBlockHeight ¶
Click to show internal directories.
Click to hide internal directories.