update import paths

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-10-27 23:49:50 +03:00
parent 3ba598448b
commit ca7565c7c8
10 changed files with 86 additions and 154 deletions

View File

@@ -8,8 +8,8 @@ import (
"sync/atomic"
"github.com/miekg/dns"
registry "github.com/unistack-org/micro/v3/register"
regutil "github.com/unistack-org/micro/v3/util/register"
registry "go.unistack.org/micro/v3/register"
regutil "go.unistack.org/micro/v3/util/register"
"golang.org/x/net/dns/dnsmessage"
"golang.org/x/net/ipv4"
"golang.org/x/net/ipv6"
@@ -139,8 +139,8 @@ func NewServer(config *Config) (*Server, error) {
go s.recv(s.ipv6conn)
go s.update()
//s.wg.Add(1)
//go s.probe()
// s.wg.Add(1)
// go s.probe()
return s, nil
}
@@ -218,7 +218,6 @@ func (s *Server) parsePacket(buf []byte, from net.Addr) error {
}
func (s *Server) LookupService(name string, opts ...registry.LookupOption) ([]*registry.Service, error) {
return nil, nil
}