router

package
v2.0.0-...-63d56cd Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDefaultHTTPRouter

func BuildDefaultHTTPRouter() http.Handler

BuildDefaultHTTPRouter creates a default HTTP router.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager A route/router manager

func NewManager

func NewManager(conf *runtime.Configuration,
	serviceManager serviceManager,
	middlewaresBuilder middlewareBuilder,
	modifierBuilder responseModifierBuilder,
	chainBuilder *middleware.ChainBuilder,
) *Manager

NewManager Creates a new Manager

func (*Manager) BuildHandlers

func (m *Manager) BuildHandlers(rootCtx context.Context, entryPoints []string, tls bool) map[string]http.Handler

BuildHandlers Builds handler for all entry points

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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