summaryrefslogtreecommitdiff
path: root/src/cardmarket/hateoas.go
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2026-09-06 23:52:13 +0200
committerDJ O'Leary <dijitol@proton.me>2026-09-06 23:52:13 +0200
commit4c1525d84968a5302ce2d87f923b84b56c5777eb (patch)
treecf553d12a0f529b62532b4dbb610ef1735dce0e5 /src/cardmarket/hateoas.go
parent497c6b9793e4745e7d180d2faec1e26ff6a28788 (diff)
feat(cardmarket): implement some endpoints of the v2 api
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