Skip to content

Commit

Permalink
Add cacheable cursor to channel message listings.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Nov 28, 2020
1 parent 51715c8 commit 762bee9
Show file tree
Hide file tree
Showing 12 changed files with 1,130 additions and 1,068 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).

## [Unreleased]
### Added
- Add cacheable cursor to channel message listings.

### Changed
- Make metrics prefix configurable, default to fixed value.
- Build with Go 1.15.5 release.
Expand Down
6 changes: 3 additions & 3 deletions apigrpc/apigrpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions apigrpc/apigrpc.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion apigrpc/apigrpc.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3351,11 +3351,15 @@
},
"nextCursor": {
"type": "string",
"description": "The cursor to send when retireving the next page, if any."
"description": "The cursor to send when retrieving the next page, if any."
},
"prevCursor": {
"type": "string",
"description": "The cursor to send when retrieving the previous page, if any."
},
"cacheableCursor": {
"type": "string",
"description": "Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors."
}
},
"description": "A list of channel messages, usually a result of a list operation."
Expand Down
Loading

0 comments on commit 762bee9

Please sign in to comment.