controller

package
v0.0.0-...-9f5cd3f Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2013 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package controller contains web-api resource controller container

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Node    *node.Controller
	Index   goweb.ControllerFunc
	Acl     map[string]goweb.ControllerFunc
	Preauth func(*goweb.Context)
}

func New

func New() *Controller

New configures and returns web-api controller that will be used in routing

Directories

Path Synopsis
Package node implements /node resource
Package node implements /node resource
acl
Package acl implements /node/:id/acl resource
Package acl implements /node/:id/acl resource
index
Package index implements /node/:id/index resource (UNFINISHED)
Package index implements /node/:id/index resource (UNFINISHED)
Package preauth implements /preauth resource
Package preauth implements /preauth resource

Jump to

Keyboard shortcuts

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