Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "events", Short: "Utilities to read events", TraverseChildren: true, }
View Source
var GetCommand = &command.Command{ Cmd: &cobra.Command{ Use: "get <event_name> <block_height_range_start> <optional:block_height_range_end|latest>", Short: "Get events in a block range", Args: cobra.RangeArgs(2, 3), Example: "flow events get A.1654653399040a61.FlowToken.TokensDeposited 11559500 11559600", }, Flags: &generateFlag, Run: get, }
Functions ¶
This section is empty.
Types ¶
type EventResult ¶
type EventResult struct { BlockEvents []client.BlockEvents Events []flow.Event }
func (*EventResult) JSON ¶
func (e *EventResult) JSON() interface{}
func (*EventResult) Oneliner ¶
func (e *EventResult) Oneliner() string
func (*EventResult) String ¶
func (e *EventResult) String() string
Click to show internal directories.
Click to hide internal directories.