test

package
v0.0.0-...-046b0b7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2014 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModifyCicle

func ModifyCicle(objIdHex string, cicle Cicle) error

ModifyCicle modify cicle

func RemoveCicle

func RemoveCicle(objIdHex string) error

RemoveCicle remove cicle

Types

type Cicle

type Cicle struct {
	Id       bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"`
	Name     string        `json:"name" bson:"name"`
	Device   string        `json:"device" bson:"device"`
	Packages []string      `json:"packages" bson:""packages`
}

func DetailCicle

func DetailCicle(objIdHex string) (Cicle, error)

DetailCicle detail cicle

func NewCicle

func NewCicle(cicle Cicle) (Cicle, error)

NewCicle create new cicle

type CicleList

type CicleList []Cicle

func ListCicles

func ListCicles() (CicleList, error)

ListCicles list cicles

Jump to

Keyboard shortcuts

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