exproute

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

see http://godoc.org/github.com/mailgun/route for documentation on the language

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpRouter

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

func NewExpRouter

func NewExpRouter() *ExpRouter

func (*ExpRouter) AddLocation

func (e *ExpRouter) AddLocation(expr string, l location.Location) error

func (*ExpRouter) GetLocationByExpression

func (e *ExpRouter) GetLocationByExpression(expr string) location.Location

func (*ExpRouter) RemoveLocationByExpression

func (e *ExpRouter) RemoveLocationByExpression(expr string) error

func (*ExpRouter) Route

func (e *ExpRouter) Route(req request.Request) (location.Location, error)

Jump to

Keyboard shortcuts

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