Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelAddToTask = Action("LabelAddToTask") LabelsAllOnTask = Action("LabelsAllOnTask") LabelDeleteFromTask = Action("LabelDeleteFromTask") )
View Source
const ( ProjectCreate = Action("ProjectCreate") ProjectsAll = Action("ProjectsAll") ProjectFindById = Action("ProjectFindById") ProjectAllUsers = Action("ProjectAllUsers") ProjectAllTasks = Action("ProjectAllTasks") ProjectAddUser = Action("ProjectAddUser") ProjectDeleteUser = Action("ProjectDeleteUser") )
View Source
const ( TaskCreate = Action("TaskCreate") TasksAllOnProject = Action("TasksAllOnProject") TaskFindById = Action("TaskFindById") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResolverFunc ¶
type ResolverFunc func(action Action) (service ServiceFunc, err error)
Function that takes action and returns service function
type ServiceFunc ¶
type ServiceFunc func(source db.DataSource, data interface{}) (result interface{}, err error)
Function to be passed to workers pool
Click to show internal directories.
Click to hide internal directories.