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

Struct Status

activitypub/objects.go:36–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36type Status struct {
37 // Type is the type of the Status.
38 Type string `json:"type"`
39 // The Status's unique global identifier.
40 ID string `json:"id"`
41
42 AttributedTo string `json:"attributedTo"`
43 InReplyTo string `json:"inReplyTo"`
44 Published time.Time `json:"published"`
45 Updated time.Time `json:"updated"`
46
47 To StringOrArray `json:"to"`
48 CC StringOrArray `json:"cc"`
49
50 Sensitive bool `json:"sensitive"`
51 Summary string `json:"summary"`
52 Content string `json:"content"`
53 Attachments []interface{} `json:"attachment"`
54 Tags []HashTag `json:"tag"`
55
56 StartTime time.Time `json:"startTime"`
57 EndTime time.Time `json:"endTime"`
58 OneOf []Option `json:"oneOf"`
59}
60
61type StringOrArray []string
62

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected