MCPcopy Create free account
hub / github.com/davecheney/pub / Image

Struct Image

activitypub/objects.go:24–28  ·  view source on GitHub ↗

Image is an ActivityStreams Image

Source from the content-addressed store, hash-verified

22
23// Image is an ActivityStreams Image
24type Image struct {
25 Type string `json:"type"`
26 MediaType string `json:"mediaType"`
27 URL string `json:"url"`
28}
29
30type Attachment struct {
31 Type string `json:"type"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected