code: func (e *Engine) initAnycast() {
  	if err := e.ncc.Dial(); err != nil {
  		log.Fatalf("Failed to connect to NCC: %v", err)
  	}
  	defer e.ncc.Close()
  
  	vips := make([]*seesaw.VIP, 0)
  	if e.config.ClusterVIP.IPv4Addr != nil {
  		for _, ip := range e.config.ServiceAnycastIPv4 {
  			vips = append(vips, seesaw.NewVIP(ip, nil))
  		}
  	}
  	if e.config.ClusterVIP.IPv6Addr != nil {
  		for _, ip := range e.config.ServiceAnycastIPv6 {
  			vips = append(vips, seesaw.NewVIP(ip, nil))
  		}
  	}
  	for _, vip := range vips {
  		if err := e.lbInterface.AddVIP(vip); err != nil {
  			log.Fatalf("Failed to add VIP %v: %v", vip, err)
  		}
  		log.Infof("Advertising BGP route for %v", vip)
  		if err := e.ncc.BGPAdvertiseVIP(vip.IP.IP()); err != nil {
  			log.Fatalf("Failed to advertise VIP %v: %v", vip, err)
  		}
  	}
  }
docs: // initAnycast initialises the anycast configuration.