From e2de50bf9cf4eddaa0d87c20c8c1605bf4630fce Mon Sep 17 00:00:00 2001 From: Dimitry Kolyshev Date: Wed, 10 Jul 2024 09:11:25 +0300 Subject: [PATCH] home: todos --- internal/home/dns.go | 2 ++ internal/home/home.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/internal/home/dns.go b/internal/home/dns.go index ad170271..ed1f1675 100644 --- a/internal/home/dns.go +++ b/internal/home/dns.go @@ -122,6 +122,8 @@ func initDNS(l *slog.Logger) (err error) { // proxy, none of the arguments are required, but tlsConf and l still must not // be nil, in other cases all the arguments also must not be nil. It also must // not be called unless [config] and [Context] are initialized. +// +// TODO(e.burkov): Use [dnsforward.DNSCreateParams] as a parameter. func initDNSServer( filters *filtering.DNSFilter, sts stats.Interface, diff --git a/internal/home/home.go b/internal/home/home.go index 4845c913..bd15f114 100644 --- a/internal/home/home.go +++ b/internal/home/home.go @@ -91,6 +91,8 @@ func (c *homeContext) getDataDir() string { } // Context - a global context object +// +// TODO(a.garipov): Refactor. var Context homeContext // Main is the entry point