package
1.0.1
Repository: https://github.com/cperez08/dm-resolver.git
Documentation: pkg.go.dev

# Functions

NewDomainResolverBuilder creates a new instance for the DomainResolverBuilder.
NewResolver creates a new resolver instance, if needWatcher is true a time in seconds is expected in the refreshRate parameter the ticker field is exported in case want to be updated or stoped.

# Structs

DomainResolver is a custom resolver library that helps to resolve a domain returning a list of IPs associated with it, also with posibilty to watch for DNS changes, the library can be used either by the resolver builder for gRPC or as a independent library also implement resolver.Resolver.
DomainResolverBuilder implements the Resolver.Builder interface the target field in the Dial gRPC function is in the way fmt.Sprintf("%s:///%s", scheme, address+":"+port) where the scheme is the name set in this constructor.