home: todos
This commit is contained in:
parent
58fe497eec
commit
e2de50bf9c
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue