controllers

package
v0.0.0-...-2bdd938 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTaskController

func NewTaskController(t models.TaskModelInterface) *taskController

func TestNewTaskController

func TestNewTaskController(t *testing.T)

Types

type Data

type Data struct {
	Tasks []models.Task `json:"tasks,omitempty"`
	Task  *models.Task  `json:"task,omitempty"`
	Info  string        `json:"info,omitempty"`
}

type ResponseMessage

type ResponseMessage struct {
	Status  string `json:"status"`
	Data    Data   `json:"data"`
	Message string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

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