libp2p/nameresolving/nameresolver

Search:
Group by:
Source   Edit  

Types

NameResolver = ref object of RootObj
Source   Edit  

Procs

proc getHostname(ma: MultiAddress): string {....raises: [], tags: [RootEffect],
    forbids: [].}
Source   Edit  
proc resolveDnsAddr(self: NameResolver; ma: MultiAddress; depth: int = 0): Future[
    seq[MultiAddress]] {.async, ...raises: [],
                         tags: [TimeEffect, RootEffect, WriteIOEffect],
                         forbids: [].}
Source   Edit  
proc resolveMAddress(self: NameResolver; address: MultiAddress): Future[
    seq[MultiAddress]] {.async, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  

Methods

method resolveIp(self: NameResolver; address: string; port: Port;
                 domain: Domain = Domain.AF_UNSPEC): Future[
    seq[TransportAddress]] {.async, base, ...raises: [], tags: [], forbids: [].}
Resolve the specified address Source   Edit  
method resolveTxt(self: NameResolver; address: string): Future[seq[string]] {.
    async, base, ...raises: [], tags: [], forbids: [].}
Get TXT record Source   Edit