http

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Build(ctx context.Context, method, url string,
		request io.Reader) (*http.Request,
		error)
}

type HttpRequestBuilder

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

func NewRequestBuilder

func NewRequestBuilder() *HttpRequestBuilder

func (*HttpRequestBuilder) Build

func (b *HttpRequestBuilder) Build(ctx context.Context, method, url string,
	payload io.Reader) (*http.Request, error)

Jump to

Keyboard shortcuts

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