http

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "http"
)

Variables

View Source
var (
	//ErrRestFaultAbort is a varible of type error
	ErrRestFaultAbort = errors.New("injecting abort")
	//ErrRestFault is a varible of type error
	ErrRestFault = errors.New("injecting abort and delay")
	//ErrNilResponse is a varible of type error
	ErrNilResponse = errors.New("http response is nil")
)

Functions

func LocalRequestHandler

func LocalRequestHandler(w http.ResponseWriter, r *http.Request)

LocalRequestHandler is for request from local

func RemoteRequestHandler

func RemoteRequestHandler(w http.ResponseWriter, r *http.Request)

RemoteRequestHandler is for request from remote

Types

This section is empty.

Jump to

Keyboard shortcuts

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