util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2017 License: GPL-2.0, GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEvent

func AddEvent(t *event.Event) error

AddEvent adds a new event to application and saves it to storage

func AddTask

func AddTask(t *task.Task) error

AddTask adds a new tasks to application and saves it to storage

func AllEventTemplates

func AllEventTemplates() []*event.Event

AllEventTemplates returns all available events in the application

func AllEvents

func AllEvents() []*event.Event

AllEvents returns all user created events in the application

func AllTasks

func AllTasks() []*task.Task

AllTasks return all tasks in a list

func AllUnits

func AllUnits() []*unit.Unit

AllUnits returns a slice of all available units as meta objects

func DeleteTask

func DeleteTask(t *task.Task) error

DeleteTask removes the task from the storage manager and unregisters the task

func UpdateTask

func UpdateTask(t *task.Task) error

UpdateTask updates the task in the storage manager and in memory

Types

This section is empty.

Jump to

Keyboard shortcuts

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