Activity is an ActivityStreams Activity. https://www.w3.org/TR/activitystreams-core/#activities
| 90 | // Activity is an ActivityStreams Activity. |
| 91 | // https://www.w3.org/TR/activitystreams-core/#activities |
| 92 | type Activity struct { |
| 93 | // Type is the type of the Activity. |
| 94 | Type string `json:"type"` |
| 95 | // The Activity's unique global identifier. |
| 96 | ID string `json:"id"` |
| 97 | // Object is the Object that the Activity is acting upon. |
| 98 | Object any `json:"object"` |
| 99 | // Actor is the Actor that performed the Activity. |
| 100 | Actor any `json:"actor"` |
| 101 | // Target is the Object that the Activity is directed at. |
| 102 | Target string `json:"target"` |
| 103 | |
| 104 | Published time.Time `json:"published"` |
| 105 | Updated time.Time `json:"updated"` |
| 106 | } |
nothing calls this directly
no outgoing calls
no test coverage detected