Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net
  • Platforms: .NET, .NET Standard 2.0, Island

constructor


constructor(value: Resolver)
Sub New(value As Resolver)

Parameters:

  • value:

Default

class var Default: Resolver;
static var Default: Resolver
Shared FIELD Default() As Resolver

LookupIPAddr

method LookupIPAddr(ctx: Context; host: string): tuple of (Slice<IPAddr>, error)
(Slice<IPAddr>, error) LookupIPAddr(Context ctx, string host)
func LookupIPAddr(_ ctx: Context, _ host: string) -> tuple of (Slice<IPAddr>, error)
func LookupIPAddr(ctx Context, host string) tuple of (Slice<IPAddr>, error)
Function LookupIPAddr(ctx As Context, host As string) As Tuple (Of Slice<IPAddr>, error)

Parameters:

  • ctx:
  • host:

LookupPort

method LookupPort(ctx: Context; network: string; service: string): tuple of (Int32, error)
(Int32, error) LookupPort(Context ctx, string network, string service)
func LookupPort(_ ctx: Context, _ network: string, _ service: string) -> tuple of (Int32, error)
func LookupPort(ctx Context, network string, service string) tuple of (Int32, error)
Function LookupPort(ctx As Context, network As string, service As string) As Tuple (Of Int32, error)

Parameters:

  • ctx:
  • network:
  • service:

PreferGo

FIELD PreferGo() As Boolean

StrictErrors

var StrictErrors: Boolean;
var StrictErrors: Boolean
FIELD StrictErrors() As Boolean

PreferGo

FIELD PreferGo() As Boolean

StrictErrors

var StrictErrors: Boolean;
var StrictErrors: Boolean
FIELD StrictErrors() As Boolean

Default

class var Default: Resolver;
static var Default: Resolver
Shared FIELD Default() As Resolver

constructor


constructor(value: Resolver)
Sub New(value As Resolver)

Parameters:

  • value:

LookupIPAddr

method LookupIPAddr(ctx: Context; host: string): tuple of (Slice<IPAddr>, error)
(Slice<IPAddr>, error) LookupIPAddr(Context ctx, string host)
func LookupIPAddr(_ ctx: Context, _ host: string) -> tuple of (Slice<IPAddr>, error)
func LookupIPAddr(ctx Context, host string) tuple of (Slice<IPAddr>, error)
Function LookupIPAddr(ctx As Context, host As string) As Tuple (Of Slice<IPAddr>, error)

Parameters:

  • ctx:
  • host:

LookupPort

method LookupPort(ctx: Context; network: string; service: string): tuple of (Int32, error)
(Int32, error) LookupPort(Context ctx, string network, string service)
func LookupPort(_ ctx: Context, _ network: string, _ service: string) -> tuple of (Int32, error)
func LookupPort(ctx Context, network string, service string) tuple of (Int32, error)
Function LookupPort(ctx As Context, network As string, service As string) As Tuple (Of Int32, error)

Parameters:

  • ctx:
  • network:
  • service: