Started work on linstrom specific endpoints

Router plus a bunch of placeholder handlers
Also a poll on fedi regarding streamed events (one vs many channels)
This commit is contained in:
Melody Becker 2024-10-29 16:09:21 +01:00
parent 1fb924f59c
commit 4f4d05a335
11 changed files with 103 additions and 39 deletions

View file

@ -5,6 +5,7 @@ import "net/http"
// Mounted at /api
func setupApiRouter() http.Handler {
router := http.NewServeMux()
router.Handle("/linstrom/", setupLinstromApiRouter())
// Section MastoApi
router.HandleFunc("GET /oauth/authorize", placeholderEndpoint)