aboutsummaryrefslogtreecommitdiff
path: root/link.go
diff options
context:
space:
mode:
Diffstat (limited to 'link.go')
-rw-r--r--link.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/link.go b/link.go
new file mode 100644
index 0000000..a03808b
--- /dev/null
+++ b/link.go
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
+
+package jarink
+
+// Link store information about the link.
+type Link struct {
+ Url string `json:"url"`
+ Size int64 `json:"size"`
+ ResponseCode int `json:"response_code"`
+}