nethttp

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(c *http.Client) httpclient.ClientDoer

NewClient function to instantiate http client.

Types

type Builder

type Builder interface {
	WithTimeout(duration time.Duration) Builder
	Build() httpclient.ClientDoer
}

func NewBuilder

func NewBuilder() Builder

NewBuilder function to make http net builder.

Jump to

Keyboard shortcuts

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