Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(w http.ResponseWriter, r *http.Request)
Handler that will respond what you ask it to respond. Possible query params are :
s: will be the HTTP status code of the response (ex: 200, or 500) t: time to wait before responding (ex: 10s, or 200ms) b: will be the body of the response bb: if parameter 'b' has no value and if bb=1 then the body of the request (if any) will be sent back in the response
func NewTestServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.