14 lines
469 B
Go
14 lines
469 B
Go
|
package activity
|
||
|
|
||
|
import "git.nutfactory.org/hoernschen/ActivityPub/entities/object"
|
||
|
|
||
|
type Activity struct {
|
||
|
Context string `json:"@context,omitempty"`
|
||
|
Id string `json:"id,omitempty"`
|
||
|
Type string `json:"type,omitempty"`
|
||
|
Actor string `json:"actor,omitempty"`
|
||
|
Object *object.Object `json:"object,omitempty"`
|
||
|
Published int64 `json:"published,omitempty"`
|
||
|
To string `json:"to,omitempty"`
|
||
|
}
|