From af5be4fbd0c3824478b9cfc261b7a34e98a36e0f Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 25 Mar 2023 14:11:29 +0100 Subject: Clean-up skeleton --- internal/qna/qna.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'internal/qna') diff --git a/internal/qna/qna.go b/internal/qna/qna.go index 5336811..bd2078d 100644 --- a/internal/qna/qna.go +++ b/internal/qna/qna.go @@ -7,8 +7,6 @@ type Question struct { type Answer struct { Domain string // domain name of the visited HTTPS site OK bool // true if HTTP GET request succeeded - - HTTP bool // true if onion location was found via HTTP header - HTML bool // true if onion location was found via HTML attribute - Onion string // the site's onion location URL (if any) + HTTP string // value set in the Onion-Location HTTP header (if any) + HTML string // value set in the Onion-Location HTML attribute (if any) } -- cgit v1.2.3