logic

package
v0.0.0-...-71aab76 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskManager

type TaskManager struct {
}

func (*TaskManager) AddTask

func (p *TaskManager) AddTask(userID, title, description string) (interface{}, error)

func (*TaskManager) GetAllTasks

func (p *TaskManager) GetAllTasks() (interface{}, error)

func (*TaskManager) GetTask

func (p *TaskManager) GetTask(taskID string) (interface{}, error)

type UserManager

type UserManager struct {
}

func (*UserManager) AddUser

func (p *UserManager) AddUser(id, name string) (interface{}, error)

func (*UserManager) GetUser

func (p *UserManager) GetUser(userID string) (interface{}, error)

Jump to

Keyboard shortcuts

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