urlprefix

package
v8.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 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