Resolver

Overview

Location

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

 

constructor

 

constructor

 

Resolver()

 

init()

constructor (Resolver)

 

constructor(value: Resolver)

 

Resolver(Resolver value)

 

init(_ value: Resolver)

Parameters:

  • value:

Default

 

class var Default: Resolver;

 

static Resolver Default

 

static var Default: Resolver

 

Default Resolver

LookupIPAddr

 

// .NET, Island
method LookupIPAddr(ctx: Context; host: string): tuple of (Slice<IPAddr>, error)
// .NET Standard 2.0
method LookupIPAddr(ctx: Context; host: string): ValueTuple<Slice<IPAddr>, error>

 

// .NET, Island
(Slice<IPAddr>, error) LookupIPAddr(Context ctx, string host)
// .NET Standard 2.0
ValueTuple<Slice<IPAddr>, error> LookupIPAddr(Context ctx, string host)

 

// .NET, Island
func LookupIPAddr(_ ctx: Context, _ host: string) -> (Slice<IPAddr>, error)
// .NET Standard 2.0
func LookupIPAddr(_ ctx: Context, _ host: string) -> ValueTuple<Slice<IPAddr>, error>

 

// .NET, Island
func LookupIPAddr(ctx Context, host string) (Slice<IPAddr>, error)
// .NET Standard 2.0
func LookupIPAddr(ctx Context, host string) ValueTuple<Slice<IPAddr>, error>

Parameters:

  • ctx:
  • host:

LookupPort

 

// .NET, Island
method LookupPort(ctx: Context; network: string; service: string): tuple of (Int32, error)
// .NET Standard 2.0
method LookupPort(ctx: Context; network: string; service: string): ValueTuple<Int32, error>

 

// .NET, Island
(Int32, error) LookupPort(Context ctx, string network, string service)
// .NET Standard 2.0
ValueTuple<Int32, error> LookupPort(Context ctx, string network, string service)

 

// .NET, Island
func LookupPort(_ ctx: Context, _ network: string, _ service: string) -> (Int32, error)
// .NET Standard 2.0
func LookupPort(_ ctx: Context, _ network: string, _ service: string) -> ValueTuple<Int32, error>

 

// .NET, Island
func LookupPort(ctx Context, network string, service string) (Int32, error)
// .NET Standard 2.0
func LookupPort(ctx Context, network string, service string) ValueTuple<Int32, error>

Parameters:

  • ctx:
  • network:
  • service:

PreferGo

 

var PreferGo: Boolean;

 

Boolean PreferGo

 

var PreferGo: Boolean

 

PreferGo Boolean

StrictErrors

 

var StrictErrors: Boolean;

 

Boolean StrictErrors

 

var StrictErrors: Boolean

 

StrictErrors Boolean

 

PreferGo

 

var PreferGo: Boolean;

 

Boolean PreferGo

 

var PreferGo: Boolean

 

PreferGo Boolean

StrictErrors

 

var StrictErrors: Boolean;

 

Boolean StrictErrors

 

var StrictErrors: Boolean

 

StrictErrors Boolean

Default

 

class var Default: Resolver;

 

static Resolver Default

 

static var Default: Resolver

 

Default Resolver

 

constructor

 

constructor

 

Resolver()

 

init()

constructor (Resolver)

 

constructor(value: Resolver)

 

Resolver(Resolver value)

 

init(_ value: Resolver)

Parameters:

  • value:

LookupIPAddr

 

// .NET, Island
method LookupIPAddr(ctx: Context; host: string): tuple of (Slice<IPAddr>, error)
// .NET Standard 2.0
method LookupIPAddr(ctx: Context; host: string): ValueTuple<Slice<IPAddr>, error>

 

// .NET, Island
(Slice<IPAddr>, error) LookupIPAddr(Context ctx, string host)
// .NET Standard 2.0
ValueTuple<Slice<IPAddr>, error> LookupIPAddr(Context ctx, string host)

 

// .NET, Island
func LookupIPAddr(_ ctx: Context, _ host: string) -> (Slice<IPAddr>, error)
// .NET Standard 2.0
func LookupIPAddr(_ ctx: Context, _ host: string) -> ValueTuple<Slice<IPAddr>, error>

 

// .NET, Island
func LookupIPAddr(ctx Context, host string) (Slice<IPAddr>, error)
// .NET Standard 2.0
func LookupIPAddr(ctx Context, host string) ValueTuple<Slice<IPAddr>, error>

Parameters:

  • ctx:
  • host:

LookupPort

 

// .NET, Island
method LookupPort(ctx: Context; network: string; service: string): tuple of (Int32, error)
// .NET Standard 2.0
method LookupPort(ctx: Context; network: string; service: string): ValueTuple<Int32, error>

 

// .NET, Island
(Int32, error) LookupPort(Context ctx, string network, string service)
// .NET Standard 2.0
ValueTuple<Int32, error> LookupPort(Context ctx, string network, string service)

 

// .NET, Island
func LookupPort(_ ctx: Context, _ network: string, _ service: string) -> (Int32, error)
// .NET Standard 2.0
func LookupPort(_ ctx: Context, _ network: string, _ service: string) -> ValueTuple<Int32, error>

 

// .NET, Island
func LookupPort(ctx Context, network string, service string) (Int32, error)
// .NET Standard 2.0
func LookupPort(ctx Context, network string, service string) ValueTuple<Int32, error>

Parameters:

  • ctx:
  • network:
  • service: