aboutsummaryrefslogtreecommitdiff
path: root/resources/profile.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-12-17 21:44:01 +0000
committerJulio Capote <jcapote@gmail.com>2022-12-17 21:44:01 +0000
commitac88356c215309c10b7eeecd2b2c9ef3b5e970ec (patch)
treebc35756d2675820ad4630b072e6a149b91c5065a /resources/profile.go
parent0e1e52b457a452e1cf4f852b88288cb324165f54 (diff)
downloadcommunique-ac88356c215309c10b7eeecd2b2c9ef3b5e970ec.tar.gz
profile endpoint wip
Diffstat (limited to '')
-rw-r--r--resources/profile.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/profile.go b/resources/profile.go
new file mode 100644
index 0000000..207f4de
--- /dev/null
+++ b/resources/profile.go
@@ -0,0 +1,12 @@
+package resources
+
+type Profile struct {
+ Context []string `json:"@context"`
+}
+
+func RenderProfile() *Profile {
+ p := Profile{
+ Context: []string{"https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"},
+ }
+ return &p
+}