mirror of
https://github.com/coredns/coredns.git
synced 2025-11-10 05:52:16 -05:00
@@ -69,6 +69,8 @@ func New(opts Options) (*Client, error) {
|
||||
return nil, fmt.Errorf("xds: failed to dial balancer {%s}: %v", opts.Config.BalancerName, err)
|
||||
}
|
||||
|
||||
println("dialed balancer at", opts.Config.BalancerName)
|
||||
|
||||
c := &Client{
|
||||
opts: opts,
|
||||
cc: cc,
|
||||
@@ -85,6 +87,10 @@ func (c *Client) Close() {
|
||||
c.cc.Close()
|
||||
}
|
||||
|
||||
func (c *Client) Run() {
|
||||
c.v2c.run()
|
||||
}
|
||||
|
||||
// ServiceUpdate contains update about the service.
|
||||
type ServiceUpdate struct {
|
||||
Cluster string
|
||||
|
||||
Reference in New Issue
Block a user