class Circed::Services::DNSResolverService

Defined in:

circed/services/dns_resolver_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config::DNSConfig) #

[View source]

Instance Method Detail

def receive_result(result : Channel(String | Nil), timeout : Time::Span = @registration_wait) : String | Nil #

[View source]
def registration_wait : Time::Span #

[View source]
def resolve_async(ip_address : String) : Channel(String | Nil) | Nil #

[View source]