Add placeholder ActivitStreams object and activity type files
All checks were successful
/ docker (push) Successful in 4m7s
All checks were successful
/ docker (push) Successful in 4m7s
This commit is contained in:
parent
135b32a425
commit
d70786439e
44 changed files with 41 additions and 0 deletions
|
@ -1,16 +0,0 @@
|
|||
package activitypub
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func BuildActivitypubRouter() http.Handler {
|
||||
router := http.NewServeMux()
|
||||
router.HandleFunc("/user/{id}", users)
|
||||
router.HandleFunc("/user/{id}/inbox", userInbox)
|
||||
router.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprint(w, "in ap")
|
||||
})
|
||||
return router
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue