aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-22 01:39:41 +0700
committerShulhan <ms@kilabit.info>2026-01-22 01:39:41 +0700
commit79eaccc81b85eb92dab9cf18d52662f367903652 (patch)
treeaf58482138c2ba9211029174ab579e951cd7fff6 /brokenlinks/testdata
parent26fc8bd3203dae6b4705ada227439c90129bbe36 (diff)
downloadjarink-79eaccc81b85eb92dab9cf18d52662f367903652.tar.xz
all: refactoring, use single struct to represent Link
Previously, have [jarink.Link], [brokenlinks.Broken], and [brokenlinks.linkQueue] to store the metadata for a link. These changes unified them into struct [jarink.Link].
Diffstat (limited to 'brokenlinks/testdata')
-rw-r--r--brokenlinks/testdata/exp_cache.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/brokenlinks/testdata/exp_cache.json b/brokenlinks/testdata/exp_cache.json
index 8b84ff7..f9aa32a 100644
--- a/brokenlinks/testdata/exp_cache.json
+++ b/brokenlinks/testdata/exp_cache.json
@@ -3,17 +3,17 @@
"http://127.0.0.1:11900": {
"url": "http://127.0.0.1:11900",
"size": 1064,
- "response_code": 200
+ "status_code": 200
},
"http://127.0.0.1:11900/page2": {
"url": "http://127.0.0.1:11900/page2",
"size": 410,
- "response_code": 200
+ "status_code": 200
},
"https://127.0.0.1:11838": {
"url": "https://127.0.0.1:11838",
"size": 1064,
- "response_code": 200
+ "status_code": 200
}
}
}