diff options
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"` +} |