Documentation
¶
Overview ¶
Package handler evaluates site requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FreeSpacer ¶
type FreeSpacer interface {
// QRCode encodes the board id to a QR code with a width and height.
QRCode(boardID string, width, height int) (image.Image, error)
}
FreeSpacer generates the free space image for a board.
type HTTPSRedirectPort ¶
type HTTPSRedirectPort string
HTTPSRedirectPort is a handler that redirects requests to HTTPS uris.
func (HTTPSRedirectPort) ServeHTTP ¶
func (port HTTPSRedirectPort) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP redirects requests to HTTPS on the port if it is not standard (443).
Click to show internal directories.
Click to hide internal directories.