Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redirect ¶
type Redirect struct {
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
ID string `json:"id"`
Links RedirectLinks `json:"links"`
}
Redirect represents response body when retrieving a redirect
type RedirectLinks ¶ added in v0.3.5
type RedirectLinks struct {
Self RedirectSelf `json:"self"`
}
RedirectLinks is a type that contains links relating to the individual redirect. Currently, it only contains one link, which is a link to itself.
type RedirectSelf ¶ added in v0.3.5
RedirectSelf represents a link to the individual redirect itself.
Click to show internal directories.
Click to hide internal directories.