slotapi

package
v0.0.0-...-d1a64ea Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlotAPI

type SlotAPI int

SlotAPI defines the API for managing parking slots

func (*SlotAPI) UpdateSlot

func (s *SlotAPI) UpdateSlot(params *api.Request) api.Response

UpdateSlot updates the status of a certain parking slot of a parking place

type SlotUpdateModel

type SlotUpdateModel struct {
	ParkID bson.ObjectId `json:"parkID"`
	Slot   models.Slot   `json:"slot"`
}

SlotUpdateModel is a model for receiving an update for a certain slot

Jump to

Keyboard shortcuts

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