mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-05 06:07:34 +03:00
Polish a little
This commit is contained in:
parent
21b27b5dbe
commit
bdeec4d297
5 changed files with 63 additions and 40 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue