negroni

package
v0.0.0-...-7f749bc Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig(pf proxy.Factory, logger logging.Logger, middlewares []negroni.Handler) mux.Config

DefaultConfig returns the struct that collects the parts the router should be builded from

func DefaultConfigWithRouter

func DefaultConfigWithRouter(pf proxy.Factory, logger logging.Logger, muxEngine *gorilla.Router, middlewares []negroni.Handler) mux.Config

DefaultConfigWithRouter returns the struct that collects the parts the router should be builded from with the injected gorilla mux router

func DefaultFactory

func DefaultFactory(pf proxy.Factory, logger logging.Logger, middlewares []negroni.Handler) router.Factory

DefaultFactory returns a net/http mux router factory with the injected proxy factory and logger

func NewGorillaRouter

func NewGorillaRouter() *gorilla.Router

NewGorillaRouter is a wrapper over the default gorilla router builder

Types

This section is empty.

Jump to

Keyboard shortcuts

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