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 ¶
get the fully namespaced path for a request path using the specified prefix
Types ¶
type ResourceFn ¶
resourceFn defines a function type that is used to register a namespaced set of resources
Click to show internal directories.
Click to hide internal directories.