opml file import/export handlers

This commit is contained in:
Nazar Kanaev
2020-07-10 16:55:25 +01:00
parent a203792b1d
commit 6753a113ad
5 changed files with 50 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ var routes []Route = []Route{
p("/api/items", ItemListHandler),
p("/api/items/:id", ItemHandler),
p("/api/settings", SettingsHandler),
p("/opml/import", OPMLImportHandler),
p("/opml/export", OPMLExportHandler),
}
func Vars(req *http.Request) map[string]string {