Versions in this module Expand all Collapse all v1 v1.0.0 Apr 15, 2024 Changes in this version + type Widget struct + func New() (*Widget, error) + func (w *Widget) AddBlock(txt string, opts ...text.WriteOption) error + func (w *Widget) AddTransaction(txt string, opts ...text.WriteOption) error + func (w *Widget) Cleanup() + func (w *Widget) Run(ctx context.Context) error + func (w *Widget) SetBlockProgress(percent int, opts ...donut.Option) error + func (w *Widget) SetCurrentNetwork(txt string, opts ...text.WriteOption) error + func (w *Widget) SetGasAvgBlock(txt string, opts ...text.WriteOption) error + func (w *Widget) SetGasAvgTransaction(txt string, opts ...text.WriteOption) error + func (w *Widget) SetGasMax(txt string, opts ...text.WriteOption) error + func (w *Widget) SetHealth(txt string, opts ...text.WriteOption) error + func (w *Widget) SetLatestGas(txt string, opts ...text.WriteOption) error + func (w *Widget) SetMaxBlockSize(txt string, opts ...text.WriteOption) error + func (w *Widget) SetMoniker(text string, opts ...text.WriteOption) error + func (w *Widget) SetPeers(peers int, opts ...text.WriteOption) error + func (w *Widget) SetSecondsPerBlock(txt string, opts ...text.WriteOption) error + func (w *Widget) SetTime(txt string, opts ...text.WriteOption) error + func (w *Widget) SetValidators(validators int, opts ...text.WriteOption) error