mirror of
https://github.com/asmogo/nws.git
synced 2024-12-14 19:26:21 +00:00
14 lines
242 B
Go
14 lines
242 B
Go
package netstr
|
|
|
|
import (
|
|
"context"
|
|
"net"
|
|
)
|
|
|
|
// NostrDNS does not resolve anything
|
|
type NostrDNS struct{}
|
|
|
|
func (d NostrDNS) Resolve(ctx context.Context, name string) (context.Context, net.IP, error) {
|
|
return ctx, net.IP{0, 0, 0, 0}, nil
|
|
}
|