federatedActivity.go 312 B

123456789101112
  1. package models
  2. import "time"
  3. // FederatedActivity is an internal representation of an activity that was
  4. // accepted and stored.
  5. type FederatedActivity struct {
  6. IRI string `json:"iri"`
  7. ActorIRI string `json:"actorIRI"`
  8. Type string `json:"type"`
  9. Timestamp time.Time `json:"timestamp"`
  10. }