Resolver

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

 

Resolver()

 

init()

 

Sub New()

constructor (Resolver)

 

constructor(value: Resolver)

 

Resolver(Resolver value)

 

init(_ value: Resolver)

 

Sub New(value As Resolver)

Parameters:

  • value:

Default

 

class var Default: Resolver;

 

static Resolver Default

 

static var Default: Resolver

 

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) -> (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) -> (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

 

var PreferGo: Boolean;

 

Boolean PreferGo

 

var PreferGo: Boolean

 

PreferGo Boolean

 

FIELD PreferGo() As Boolean

StrictErrors

 

var StrictErrors: Boolean;

 

Boolean StrictErrors

 

var StrictErrors: Boolean

 

StrictErrors Boolean

 

FIELD StrictErrors() As Boolean

 

PreferGo

 

var PreferGo: Boolean;

 

Boolean PreferGo

 

var PreferGo: Boolean

 

PreferGo Boolean

 

FIELD PreferGo() As Boolean

StrictErrors

 

var StrictErrors: Boolean;

 

Boolean StrictErrors

 

var StrictErrors: Boolean

 

StrictErrors Boolean

 

FIELD StrictErrors() As Boolean

Default

 

class var Default: Resolver;

 

static Resolver Default

 

static var Default: Resolver

 

Default Resolver

 

Shared FIELD Default() As Resolver

 

constructor

 

constructor

 

Resolver()

 

init()

 

Sub New()

constructor (Resolver)

 

constructor(value: Resolver)

 

Resolver(Resolver value)

 

init(_ 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) -> (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) -> (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: