ezRequestClient

package
v0.0.0-...-77ac295 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomDialer

func CustomDialer(proto, resolveSrv string, timeout time.Duration) *net.Dialer

func CustomTransport

func CustomTransport(dialer *net.Dialer) *http.Transport

func Default

func Default() *http.Client

func New

func New(opts ...ClientOption) *http.Client

Types

type ClientOption

type ClientOption func(*clientOptions)

func WithTransport

func WithTransport(s *http.Transport) ClientOption

Jump to

Keyboard shortcuts

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