negroni

package
Version: v0.0.0-...-33a0e38 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL