Help us shape the future of Go! Take the 2026 Go Developer Survey

dialer

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer struct {
	// contains filtered or unexported fields
}

Dialer - the request maker structure

func New

func New(maxConn int) *Dialer

New - creates a new dialer with maxConn semaphore

func (*Dialer) Close

func (d *Dialer) Close()

Close - releases the resources held by the dialer.

func (*Dialer) Dial

func (d *Dialer) Dial(ctx context.Context, h *types.Host) types.HttpResponse

Dial - make a request to the provided host based on its type

Jump to

Keyboard shortcuts

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