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:
parent
1fb924f59c
commit
4f4d05a335
11 changed files with 103 additions and 39 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue