routing

package
v0.0.0-...-6b48747 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddResource

func AddResource(root string, fn ResourceFn)

add a resource (set of endpoints) to goji router

func ResourcePath

func ResourcePath(prefix, path string) string

get the fully namespaced path for a request path using the specified prefix

Types

type ResourceFn

type ResourceFn func(string) *web.Mux

resourceFn defines a function type that is used to register a namespaced set of resources

Jump to

Keyboard shortcuts

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