prefix_suffix.go 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
  2. // SPDX-License-Identifier: Apache-2.0
  3. package googlereader // import "miniflux.app/v2/internal/googlereader"
  4. const (
  5. // streamPrefix is the prefix for streams (read/starred/reading list and so on)
  6. streamPrefix = "user/-/state/com.google/"
  7. // userStreamPrefix is the user specific prefix for streams (read/starred/reading list and so on)
  8. userStreamPrefix = "user/%d/state/com.google/"
  9. // labelPrefix is the prefix for a label stream
  10. labelPrefix = "user/-/label/"
  11. // userLabelPrefix is the user specific prefix prefix for a label stream
  12. userLabelPrefix = "user/%d/label/"
  13. // feedPrefix is the prefix for a feed stream
  14. feedPrefix = "feed/"
  15. // read is the suffix for read stream
  16. read = "read"
  17. // starred is the suffix for starred stream
  18. starred = "starred"
  19. // readingList is the suffix for reading list stream
  20. readingList = "reading-list"
  21. // keptUnread is the suffix for kept unread stream
  22. keptUnread = "kept-unread"
  23. // broadcast is the suffix for broadcast stream
  24. broadcast = "broadcast"
  25. // broadcastFriends is the suffix for broadcast friends stream
  26. broadcastFriends = "broadcast-friends"
  27. // like is the suffix for like stream
  28. like = "like"
  29. )