Reserve routes for upcoming notification feeds

This commit is contained in:
2018-10-17 09:20:45 +09:00
parent af89e329c4
commit 89adf2942e
2 changed files with 29 additions and 0 deletions

View 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"
}