router

package
Version: v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(handlers ...common.Handler) http.Handler

Handle takes multiple Handler and executes them in a serial order starting from first to last. In case, Any middle ware returns an error, The error is logged to console and sent to the user, Middlewares further up in chain are not executed.

func Init

func Init() *mux.Router

Types

type NewConfig

type NewConfig struct {
	Name        string
	Host        string
	Email       string
	Description string
	Image       string
	PodcastURL  string
}

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