diff options
author | FChannel <> | 2021-05-30 14:59:11 -0700 |
---|---|---|
committer | FChannel <> | 2021-05-30 14:59:11 -0700 |
commit | 614f50a7bacc878abcaccc9186673ab2958a717d (patch) | |
tree | 46b7fc5cb17370bf43a7ac96a2c2761a6984076a /webfinger.go | |
parent | 6413dd0fa2b3a381d306069ad8d2dd766fe754ec (diff) |
added webfinger discovery for boards
Diffstat (limited to 'webfinger.go')
-rw-r--r-- | webfinger.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/webfinger.go b/webfinger.go new file mode 100644 index 0000000..004bdca --- /dev/null +++ b/webfinger.go @@ -0,0 +1,12 @@ +package main + +type Webfinger struct { + Subject string `json:"subject,omitempty"` + Links []WebfingerLink `json:"links,omitempty"` +} + +type WebfingerLink struct { + Rel string `json:"rel,omitempty"` + Type string `json:"type,omitempty"` + Href string `json:"href,omitempty"` +} |