controller

package
v0.0.0-...-38b8751 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	BasePath   string
	TaskPath   string
	StatesPath string
	// contains filtered or unexported fields
}

func StartTask

func StartTask() Task

func (Task) DeleteTask

func (ctrl Task) DeleteTask(c echo.Context) error

func (Task) GetAllTaskStates

func (ctrl Task) GetAllTaskStates(c echo.Context) error

func (Task) GetAllTasks

func (ctrl Task) GetAllTasks(c echo.Context) error

func (Task) ReadTask

func (ctrl Task) ReadTask(c echo.Context) error

func (Task) UpdateTask

func (ctrl Task) UpdateTask(c echo.Context) error

type User

type User struct {
	BasePath     string
	UserPath     string
	UserTaskPath string
	// contains filtered or unexported fields
}

func StartUser

func StartUser() User

func (User) CreateUser

func (ctrl User) CreateUser(c echo.Context) error

func (User) CreateUserTask

func (ctrl User) CreateUserTask(c echo.Context) error

func (User) DeleteUser

func (ctrl User) DeleteUser(c echo.Context) error

func (User) GetAllUsers

func (ctrl User) GetAllUsers(c echo.Context) error

func (User) ReadUser

func (ctrl User) ReadUser(c echo.Context) error

func (User) UpdateUser

func (ctrl User) UpdateUser(c echo.Context) error

Jump to

Keyboard shortcuts

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