mirror of https://github.com/namecoin/ncdns
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
256 B
Go
15 lines
256 B
Go
5 years ago
|
// +build !no_namecoin_tls
|
||
|
|
||
|
package backend
|
||
|
|
||
|
import "github.com/namecoin/tlsrestrictnss/tlsrestrictnsssync"
|
||
|
import "fmt"
|
||
|
|
||
|
func lookupReadyError() error {
|
||
|
if !tlsrestrictnsssync.IsReady() {
|
||
|
return fmt.Errorf("tlsrestrictnss not ready")
|
||
|
}
|
||
|
|
||
|
return nil
|
||
|
}
|