Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Activity ¶
type Activity struct {
Context interface{} `json:"@context,omitempty"`
Type string `json:"type,omitempty"`
AttributedTo string `json:"attributedTo,omitempty"`
Published *util.TimeWrapper `json:"published,omitempty"`
Parent []string `json:"parent,omitempty"`
Attachment []Attachment `json:"attachment,omitempty"`
}
Activity defines anchor activity.
type Attachment ¶
type Attachment struct {
Type string `json:"type,omitempty"`
Generator string `json:"generator,omitempty"`
URL string `json:"url,omitempty"`
Resources []interface{} `json:"resources,omitempty"`
}
Attachment defines anchor activity attachment.
Click to show internal directories.
Click to hide internal directories.