Sam
6fa6b2d1f6
All checks were successful
continuous-integration/drone/push Build is passing
...when not using the standard print (JSON/XML/YAML) This should make making an API for this even easier :) Reviewed-on: #91 Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
18 lines
392 B
Go
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")
|