urlprefix

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanURIPath

func CleanURIPath(p string) string

Borrowed from: net/http/server.go Return the canonical path for p, eliminating . and .. elements.

Types

type Prefix

type Prefix string

func (Prefix) Match

func (p Prefix) Match(path string) bool

func (Prefix) Strip

func (p Prefix) Strip(path string) string

Jump to

Keyboard shortcuts

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