slotservice

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMultiple

func CreateMultiple(slots []dbmodels.Slot) error

CreateMultiple adds new Slots to the database

func GetAll

func GetAll(parkID bson.ObjectId) ([]*dbmodels.Slot, error)

GetAll retrieves a Slot slice from the database, based on a park's ID

func Update

func Update(slotID bson.ObjectId, slot *dbmodels.Slot) error

Update updates a certain slot

func UpdateMultiple

func UpdateMultiple(slots []dbmodels.Slot) error

UpdateMultiple updates multiple Slot entities

Types

This section is empty.

Jump to

Keyboard shortcuts

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