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.
Click to show internal directories.
Click to hide internal directories.