controllers

package
Version: v0.0.0-...-4500e45 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2014 License: BSD-2-Clause-Views Imports: 3 Imported by: 0

Documentation

Overview

Package controllers implements the controller layer for the buoy API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuoyController

type BuoyController struct {
	bc.BaseController
}

BuoyController manages the API for buoy related functionality.

func (*BuoyController) Index

func (controller *BuoyController) Index()

Index is the initial view for the buoy system.

func (*BuoyController) RetrieveStation

func (controller *BuoyController) RetrieveStation()

RetrieveStation handles the example 2 tab.

func (*BuoyController) RetrieveStationJSON

func (controller *BuoyController) RetrieveStationJSON()

RetrieveStationJSON handles the example 3 tab. http://localhost:9003/buoy/station/42002

Directories

Path Synopsis
Package baseController implements boilerplate code for all baseControllers.
Package baseController implements boilerplate code for all baseControllers.

Jump to

Keyboard shortcuts

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