controllers

package
v0.0.0-...-2f59249 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2013 License: BSD-2-Clause-Views Imports: 3 Imported by: 0

Documentation

Overview

AppController is implementing the home page

BuoyController is implementing the buoy specific api

http://localhost:9000/region/Gulf%20Of%20Mexico http://localhost:9000/station/42002

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	cb.BaseController
}

App controller controlls home page

func (*App) Index

func (this *App) Index() revel.Result

Index called to render the home page

type Buoy

type Buoy struct {
	cb.BaseController
}

Buoy controller the buoy api

func (*Buoy) Region

func (this *Buoy) Region(region string) revel.Result

Stations returns the specified region

func (*Buoy) Station

func (this *Buoy) Station(stationId string) revel.Result

Stations returns the specified station

Directories

Path Synopsis
ControllerBase provides all the boilerplate code for controllers.
ControllerBase provides all the boilerplate code for controllers.

Jump to

Keyboard shortcuts

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