mirror of
https://git.ptzo.gdn/feditools/relay.git
synced 2024-09-21 11:27:11 +00:00
73e3f41856
Reviewed-on: https://git.ptzo.gdn/feditools/relay/pulls/163 Co-authored-by: Tyr Mactire <tyr@pettingzoo.co> Co-committed-by: Tyr Mactire <tyr@pettingzoo.co>
10 lines
263 B
Go
10 lines
263 B
Go
package lib
|
|
|
|
// Link represents a link.
|
|
type Link struct {
|
|
Href string `json:"href,omitempty"`
|
|
Rel string `json:"rel,omitempty" xml:"rel,attr"`
|
|
Template string `json:"template,omitempty" xml:"template,attr"`
|
|
Type string `json:"type,omitempty"`
|
|
}
|