awl/internal/conf/wasm.go
Sam Therapy ed0cdf6a6f
Some checks failed
continuous-integration/drone/push Build is failing
refactor: move config and cmd to internal
They don't need to be exposed to the outside world
2023-04-18 16:36:37 +02:00

18 lines
392 B
Go

// SPDX-License-Identifier: BSD-3-Clause
//go:build js
package conf
import (
"errors"
"github.com/miekg/dns"
)
// GetDNSConfig doesn't do anything, because it is impossible (and bad security)
// if it could, as that is the definition of a DNS leak.
func GetDNSConfig() (*dns.ClientConfig, error) {
return nil, errNotImplemented
}
var errNotImplemented = errors.New("not implemented")