aboutsummaryrefslogtreecommitdiff
path: root/urls
diff options
context:
space:
mode:
Diffstat (limited to 'urls')
-rw-r--r--urls/urls.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/urls/urls.go b/urls/urls.go
index 6a2025b..65aa042 100644
--- a/urls/urls.go
+++ b/urls/urls.go
@@ -25,6 +25,18 @@ func UrlOutbox(name, domain string) (*url.URL, error) {
return linkTo("outbox", domain, "actors", name, "outbox")
}
+func UrlProfile(name, domain string) (*url.URL, error) {
+ return linkTo("outbox", domain, "actors", name)
+}
+
+func UrlFollowers(name, domain string) (*url.URL, error) {
+ return linkTo("outbox", domain, "actors", name, "followers")
+}
+
+func UrlFollowing(name, domain string) (*url.URL, error) {
+ return linkTo("outbox", domain, "actors", name, "following")
+}
+
func UrlActivity(name, domain, id string) (*url.URL, error) {
return linkTo("activity", domain, "actors", name, "activity", id)
}