Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Tag filter.Tag `json:"tag"` Type filter.Type `json:"type"` Platform string `json:"platform,omitempty"` From string `json:"from"` To string `json:"to"` Metadata metadata.Metadata `json:"metadata"` RelatedURLs []string `json:"related_urls,omitempty"` }
func (*Action) UnmarshalJSON ¶
type Feed ¶
type Feed struct { ID string `json:"id"` Owner string `json:"owner,omitempty"` Network filter.Network `json:"network"` Index uint `json:"index"` From string `json:"from"` To string `json:"to"` Tag filter.Tag `json:"tag"` Type filter.Type `json:"type"` Platform *filter.Platform `json:"platform,omitempty"` Fee *Fee `json:"fee,omitempty"` Calldata *Calldata `json:"calldata,omitempty"` TotalActions uint `json:"total_actions"` Actions []*Action `json:"actions"` Direction filter.Direction `json:"direction,omitempty"` Status bool `json:"success"` Timestamp uint64 `json:"timestamp"` }
func NewUnknownFeed ¶ added in v0.1.4
type FeedOption ¶
FeedOption is a function that can be used to modify a feed, it is used in the feed builder.
func WithFeedPlatform ¶
func WithFeedPlatform(platform filter.Platform) FeedOption
Click to show internal directories.
Click to hide internal directories.