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
// 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,

View File

@ -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