internal

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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