quick

package
v0.0.0-...-707360b Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2015 License: BSD-3-Clause, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package quick provides the easiest way to stand up a Bowtie server.

The resulting server includes a plaintext logger, error handler, panic recovery, and a router.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuickServer

type QuickServer struct {
	*bowtie.Server
	*middleware.Router
}

Struct QuickServer encapsulates a Bowtie server and router. It can be passed directly to net/http.ListenAndServe, and exposes all the router's methods.

func New

func New() *QuickServer

New creates a new QuickServer.

Jump to

Keyboard shortcuts

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