Documentation ¶
Overview ¶
Package internal implements the handlers for panicweb so they are in a separate package than "main".
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Unblock = make(chan struct{})
Unblock unblocks one http server handler.
Functions ¶
func GetAsync ¶
func GetAsync(url string)
GetAsync does an HTTP GET to the URL but leaves the actual fetching to a goroutine.
func URL1Handler ¶
func URL1Handler(w http.ResponseWriter, req *http.Request)
URL1Handler is a http.HandlerFunc that hangs.
func URL2Handler ¶
func URL2Handler(w http.ResponseWriter, req *http.Request)
URL2Handler is a http.HandlerFunc that hangs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.