From 79eaccc81b85eb92dab9cf18d52662f367903652 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 22 Jan 2026 01:39:41 +0700 Subject: 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]. --- brokenlinks/testdata/exp_cache.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'brokenlinks/testdata/exp_cache.json') 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 } } } -- cgit v1.3