handlers

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPRequestHandler

type HTTPRequestHandler interface {
	Run(ctx context.Context, dryrun bool, p *HTTPRequestParams) (err error)
}

func NewHTTPRequest

func NewHTTPRequest(client *http.Client, fs afero.Fs) HTTPRequestHandler

type HTTPRequestHandlerFunc

type HTTPRequestHandlerFunc func(ctx context.Context, dryrun bool, p *HTTPRequestParams) error

func (HTTPRequestHandlerFunc) Run added in v0.0.20

type HTTPRequestParams

type HTTPRequestParams struct {
	URL  string
	Path string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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