Reserve routes for upcoming notification feeds
This commit is contained in:
23
pages/notifications/feed/feed.go
Normal file
23
pages/notifications/feed/feed.go
Normal file
@ -0,0 +1,23 @@
|
||||
package notificationsfeed
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
)
|
||||
|
||||
// maxNotifications indicates how many notifications are shown in the feed.
|
||||
const maxNotifications = 20
|
||||
|
||||
// RSS returns a notifications feed in RSS format.
|
||||
func RSS(ctx *aero.Context) string {
|
||||
return "reserved"
|
||||
}
|
||||
|
||||
// JSON returns a notifications feed in JSON format.
|
||||
func JSON(ctx *aero.Context) string {
|
||||
return "reserved"
|
||||
}
|
||||
|
||||
// Atom returns a notifications feed in Atom format.
|
||||
func Atom(ctx *aero.Context) string {
|
||||
return "reserved"
|
||||
}
|
Reference in New Issue
Block a user