A golang webfinger server implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
413 B

  1. package webfinger
  2. // A Link is a series of user details
  3. type Link struct {
  4. HRef string `json:"href"`
  5. Type string `json:"type,omitempty"`
  6. Rel string `json:"rel"`
  7. Properties map[string]*string `json:"properties,omitempty"`
  8. Titles map[string]string `json:"titles,omitempty"`
  9. }
  10. // Rel allows referencing a subset of the users details
  11. type Rel string