aboutsummaryrefslogtreecommitdiff
path: root/webfinger/webfinger.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-12-17 21:35:26 +0000
committerJulio Capote <jcapote@gmail.com>2022-12-17 21:35:26 +0000
commit0e1e52b457a452e1cf4f852b88288cb324165f54 (patch)
tree2b7d1f006025f6160d4516b5b5da4a09f8e9ddfc /webfinger/webfinger.go
parent5e51c63643fd4dcb17a23af08bb25cf47fad7650 (diff)
downloadcommunique-0e1e52b457a452e1cf4f852b88288cb324165f54.tar.gz
refactor webfinger package into resources
Diffstat (limited to 'webfinger/webfinger.go')
-rw-r--r--webfinger/webfinger.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/webfinger/webfinger.go b/webfinger/webfinger.go
deleted file mode 100644
index 8e43dd2..0000000
--- a/webfinger/webfinger.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package webfinger
-
-type Link struct {
- Rel string `json:"rel"`
- Type string `json:"type"`
- Href string `json:"href"`
-}
-
-type Resource struct {
- Subject string `json:"subject"`
- Aliases []string `json:"aliases"`
- Links []Link `json:"links"`
-}