mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-08 05:54:35 +02:00
Finish cache tests
This commit is contained in:
parent
b437a87266
commit
98c1ab9e86
8 changed files with 95 additions and 37 deletions
server
|
@ -17,5 +17,5 @@ type cache interface {
|
|||
Messages(topic string, since sinceTime) ([]*message, error)
|
||||
MessageCount(topic string) (int, error)
|
||||
Topics() (map[string]*topic, error)
|
||||
Prune(keep time.Duration) error
|
||||
Prune(olderThan time.Time) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue