package
0.17.1
Repository: https://github.com/protocolone/go-plugins.git
Documentation: pkg.go.dev

# README

DNS Selector

The dns selector looks up services via dns SRV records

  • SRV Target is used as the service Node Id and Port
  • The default domain is micro.local e.g foo becomes foo.micro.local

Usage

selector := dns.NewSelector()

service := micro.NewService(
	micro.Selector(selector),
)

Specify lookup domain

dns.NewSelector(
	dns.Domain("example.com"),
)

# Functions

Domain sets the dns domain for a service.
No description provided by the author

# Variables

No description provided by the author