Documentation ¶
Index ¶
- func Actor(document streams.Document) map[string]any
- func Announce(document streams.Document) map[string]any
- func Attachment(document streams.Document) []map[string]any
- func AttachmentAsImage(attachment streams.Document) map[string]any
- func Context(document streams.Document) string
- func Dislike(document streams.Document) map[string]any
- func Image(image streams.Image) map[string]any
- func Like(document streams.Document) map[string]any
- func Normalize(document streams.Document) map[string]any
- func Object(document streams.Document) map[string]any
- func Tags(document streams.Document) []map[string]any
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachmentAsImage ¶
AttachmentAsImage normalizes an Image object
func Context ¶
Context computes the document context (not the @context) Using either the context field: https://www.w3.org/ns/activitystreams#context or the (deprecated) ostatus:conversation field
Types ¶
Click to show internal directories.
Click to hide internal directories.