http

package
v0.0.0-...-dc6c3cb Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPSend

func HTTPSend(ctx context.Context, method, path string, query url.Values, body io.Reader, headers http.Header, contentLength int64) ([]byte, error)

HTTPSend a http request

func ServerShutdown

func ServerShutdown()

ServerShutdown wraps the HTTP server shutdown event

func Wrap

func Wrap(handler http.Handler) http.Handler

Wrap wraps HTTP request handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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