diff options
Diffstat (limited to 'internal/qna')
-rw-r--r-- | internal/qna/qna.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/qna/qna.go b/internal/qna/qna.go index f8e6bd8..eab4b71 100644 --- a/internal/qna/qna.go +++ b/internal/qna/qna.go @@ -39,6 +39,10 @@ func (a Answer) String() string { return fmt.Sprintf("%s header=%s attribute=%s", a.Domain, a.HTTP, a.HTML) } +func (a *Answer) OnionLocation() bool { + return a.HTTP != "" || a.HTML != "" +} + type Progress struct { NumOK int NumOnion int |