home: todos

This commit is contained in:
Dimitry Kolyshev 2024-07-10 09:11:25 +03:00
parent 58fe497eec
commit e2de50bf9c
2 changed files with 4 additions and 0 deletions

View File

@ -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 // 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 // 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. // not be called unless [config] and [Context] are initialized.
//
// TODO(e.burkov): Use [dnsforward.DNSCreateParams] as a parameter.
func initDNSServer( func initDNSServer(
filters *filtering.DNSFilter, filters *filtering.DNSFilter,
sts stats.Interface, sts stats.Interface,

View File

@ -91,6 +91,8 @@ func (c *homeContext) getDataDir() string {
} }
// Context - a global context object // Context - a global context object
//
// TODO(a.garipov): Refactor.
var Context homeContext var Context homeContext
// Main is the entry point // Main is the entry point