httprouter

package
v6.0.0-...-03bcada Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2017 License: MIT, BSD-3-Clause, MIT Imports: 5 Imported by: 200

Documentation

Index

Constants

View Source
const Name = "httprouter"

Name is the name of the router

See $iris_instance.Config.Other for more.

Variables

This section is empty.

Functions

func HTMLEscape

func HTMLEscape(s string) string

HTMLEscape returns a string which has no valid html code

func New

func New() iris.Policies

New returns a new iris' policy to create and attach the router. It's based on the julienschmidt/httprouter with more features and some iris-relative performance tips: subdomains(wildcard/dynamic and static) and faster parameters set (use of the already-created context's values) and support for reverse routing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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