aboutsummaryrefslogtreecommitdiff
path: root/internal/qna/qna.go
blob: bd2078ddcdd7a941ba6026f248fd28d867829a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package qna

type Question struct {
	Domain string // domain name to visit via HTTPS
}

type Answer struct {
	Domain string // domain name of the visited HTTPS site
	OK     bool   // true if HTTP GET request succeeded
	HTTP   string // value set in the Onion-Location HTTP header (if any)
	HTML   string // value set in the Onion-Location HTML attribute (if any)
}