Versions in this module Expand all Collapse all v2 v2.0.1 Apr 1, 2025 v2.0.0 Mar 14, 2025 Changes in this version + const ActivitySpamLimit + type Activities []*Activity + func (f *Activities) Export() ([]*activityx.Activity, error) + func (f *Activities) ExportByIndexes(indexes []*Index) ([]*activityx.Activity, error) + func (f *Activities) Import(activities []*activityx.Activity) error + type Activity struct + Actions ActivityActions + Calldata *Calldata + CreatedAt time.Time + Fee *Fee + From string + ID string + Index uint + Network network.Network + Platform string + Status bool + Tag tag.Tag + Timestamp time.Time + To string + TotalActions uint + Type string + UpdatedAt time.Time + func (f *Activity) Export(index *Index) (*activityx.Activity, error) + func (f *Activity) Import(activity *activityx.Activity) error + func (f *Activity) PartitionName(activity *activityx.Activity) string + func (f *Activity) TableName() string + type ActivityAction struct + From string + Metadata json.RawMessage + Platform string + Tag string + To string + Type string + func (f *ActivityAction) Export() (*activityx.Action, error) + func (f *ActivityAction) Import(action *activityx.Action) (err error) + type ActivityActions []*ActivityAction + func (f *ActivityActions) Scan(value any) error + func (f ActivityActions) Value() (driver.Value, error) + type Calldata struct + FunctionHash string + ParsedFunction string + Raw string + func (c *Calldata) Export() (*activityx.Calldata, error) + func (c *Calldata) Import(calldata *activityx.Calldata) error + func (c *Calldata) Scan(value any) error + func (c Calldata) Value() (driver.Value, error) + type Checkpoint struct + CreatedAt time.Time + ID string + IndexCount int64 + Network network.Network + State json.RawMessage + UpdatedAt time.Time + Worker string + func (c *Checkpoint) Export() (*engine.Checkpoint, error) + func (c *Checkpoint) Import(checkpoint *engine.Checkpoint) (err error) + type DatasetBlueskyProfile struct + CreatedAt time.Time + DID string + Handle string + UpdatedAt time.Time + func (DatasetBlueskyProfile) TableName() string + func (d *DatasetBlueskyProfile) Export() (*model.BlueskyProfile, error) + func (d *DatasetBlueskyProfile) Import(profile *model.BlueskyProfile) error + type DatasetENSNamehash struct + Hash common.Hash + Name string + func (d *DatasetENSNamehash) Export() (*model.ENSNamehash, error) + func (d *DatasetENSNamehash) Import(ensNamehash *model.ENSNamehash) (err error) + type DatasetFarcasterProfile struct + CustodyAddress string + EthAddresses pq.StringArray + Fid int64 + Username string + func (d *DatasetFarcasterProfile) Export() (*model.Profile, error) + func (d *DatasetFarcasterProfile) Import(profile *model.Profile) (err error) + type DatasetMastodonUpdateHandle struct + CreatedAt time.Time + Handle string + UpdatedAt time.Time + func (DatasetMastodonUpdateHandle) TableName() string + func (d *DatasetMastodonUpdateHandle) Export() (*model.MastodonHandle, error) + func (d *DatasetMastodonUpdateHandle) Import(handle *model.MastodonHandle) error + type DatasetMirrorPost struct + ID string + OriginContentDigest string + func (p *DatasetMirrorPost) Export() (*model.DatasetMirrorPost, error) + func (p *DatasetMirrorPost) Import(post *model.DatasetMirrorPost) (err error) + type Fee struct + Address *string + Amount decimal.Decimal + Decimal uint + func (f *Fee) Export() (*activityx.Fee, error) + func (f *Fee) Import(fee *activityx.Fee) error + func (f *Fee) Scan(value any) error + func (f Fee) Value() (driver.Value, error) + type Index struct + CreatedAt time.Time + Direction activityx.Direction + ID string + Index uint + Network network.Network + Owner string + Platform string + Status bool + Tag tag.Tag + Timestamp time.Time + Type string + UpdatedAt time.Time + func (i *Index) Import(activity *activityx.Activity) error + func (i *Index) PartitionName() string + func (i *Index) TableName() string + type Indexes []*Index + func (i *Indexes) Import(activities []*activityx.Activity) error v2.0.0-rc Mar 14, 2025 Other modules containing this package github.com/rss3-network/node