diff options
Diffstat (limited to 'internal/api/model/timeline.go')
-rw-r--r-- | internal/api/model/timeline.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/api/model/timeline.go b/internal/api/model/timeline.go new file mode 100644 index 000000000..52d920879 --- /dev/null +++ b/internal/api/model/timeline.go @@ -0,0 +1,8 @@ +package model + +// StatusTimelineResponse wraps a slice of statuses, ready to be serialized, along with the Link +// header for the previous and next queries, to be returned to the client. +type StatusTimelineResponse struct { + Statuses []*Status + LinkHeader string +} |