srvdialer

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 6 Imported by: 0

README

SMARTY DISCLAIMER: Subject to the terms of the associated license agreement, this software is freely available for your use. This software is FREE, AS IN PUPPIES, and is a gift. Enjoy your new responsibility. This means that while we may consider enhancement requests, we may or may not choose to entertain requests at our sole and absolute discretion.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Options singleton

Functions

This section is empty.

Types

type LegacyDialer

type LegacyDialer interface {
	Dial(string, string) (net.Conn, error)
	NetworkDialer
}

func NewLegacyDialer

func NewLegacyDialer(ctx context.Context, dialer NetworkDialer) LegacyDialer

type NameResolver

type NameResolver interface {
	LookupSRV(context.Context, string, string, string) (string, []*net.SRV, error)
}

type NetworkDialer

type NetworkDialer interface {
	DialContext(context.Context, string, string) (net.Conn, error)
}

func New

func New(options ...Option) NetworkDialer

type Option

type Option func(*configuration)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL