Polish a little

This commit is contained in:
binwiederhier 2023-02-22 22:26:43 -05:00
parent 21b27b5dbe
commit bdeec4d297
5 changed files with 63 additions and 40 deletions

View file

@ -8,6 +8,10 @@ import (
"heckel.io/ntfy/log"
)
const (
rateVisitorExpiryDuration = 12 * time.Hour
)
// topic represents a channel to which subscribers can subscribe, and publishers
// can publish a message
type topic struct {