web

package
v0.0.0-...-6397e43 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2016 License: MIT Imports: 16 Imported by: 1

Documentation

Overview

Package web implements http routing logic for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyMiddleware

func ApplyMiddleware(router http.Handler) http.Handler

ApplyMiddleware wraps the router in some middleware. This middleware includes logging and gzip compression.

func NewRouter

func NewRouter() *mux.Router

NewRouter creates and returns a mux.Router with default routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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