Documentation
¶
Index ¶
Constants ¶
View Source
const ( Connecting msg = iota Connected Quit )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockMessage ¶
type BlockMessage string
type DeltaWrap ¶ added in v0.0.14
type DeltaWrap struct {
Operation string `json:"op"`
Ordinal uint64 `json:"ordinal"`
Key string `json:"key"`
OldValue json.RawMessage `json:"old"`
NewValue json.RawMessage `json:"new"`
}
type DeltasWrap ¶ added in v0.0.14
type ModuleWrap ¶ added in v0.0.14
type ModuleWrap struct {
Module string `json:"@module"`
BlockNum uint64 `json:"@block"`
Type string `json:"@type"`
Data json.RawMessage `json:"@data"`
}
type SnapshotDeltaWrap ¶ added in v0.0.14
type TUI ¶
type TUI struct {
// contains filtered or unexported fields
}
func New ¶
func New(req *pbsubstreams.Request, pkg *pbsubstreams.Package, outputStreamNames []string) *TUI
func (*TUI) CleanUpTerminal ¶
func (ui *TUI) CleanUpTerminal()
func (*TUI) Connecting ¶
func (ui *TUI) Connecting()
func (*TUI) IncomingMessage ¶
func (ui *TUI) IncomingMessage(resp *pbsubstreams.Response) error
func (*TUI) SetRequest ¶
func (ui *TUI) SetRequest(req *pbsubstreams.Request)
Click to show internal directories.
Click to hide internal directories.