Fetching Cosul SRV records in golang
问题 I have a Main application and multiple worker nodes, which are registered in consul. I want to send data to the worker nodes, by load balancing. Using the consul API for golang, I'm able to get the available Services on the main application. But, I'm unable to get DNS SRV records in my golang application. As mention in this thread, How can I read consul SRV records in my go application?, I tried github.com/miekg/dns, but it didn't work. Also, I tried using github.com/benschw/consul-clb-go, as