This commit is contained in:
parent
55c7fe31e0
commit
6ad89f3a33
@ -4,14 +4,13 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/cloudwego/kitex/client"
|
||||
dns "github.com/kitex-contrib/resolver-dns"
|
||||
)
|
||||
|
||||
var (
|
||||
defaultClient RPCClient
|
||||
defaultDstService = "pusher"
|
||||
defaultClientOpts = []client.Option{
|
||||
client.WithResolver(dns.NewDNSResolver()),
|
||||
client.WithHostPorts("pusher:8080"),
|
||||
}
|
||||
once sync.Once
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user