summaryrefslogtreecommitdiff
path: root/src/cardmarket/hateoas.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cardmarket/hateoas.go')
-rw-r--r--src/cardmarket/hateoas.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cardmarket/hateoas.go b/src/cardmarket/hateoas.go
new file mode 100644
index 0000000..c3cd92c
--- /dev/null
+++ b/src/cardmarket/hateoas.go
@@ -0,0 +1,9 @@
+package cardmarket
+
+type Link struct {
+ Relationship string `json:"rel"`
+ Endpoint string `json:"href"`
+ Method string `json:"method"`
+}
+
+type Links = []Link