application

package
v0.0.0-...-a9180e6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 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 ProjectServiceInterface

type ProjectServiceInterface interface {
	GetProjectByChannel(channel string) (domain.Project, error)
}

type TaskApplication

type TaskApplication struct {
	// contains filtered or unexported fields
}

func NewTaskApplication

func NewTaskApplication(
	projectService ProjectServiceInterface,
	taskService TaskServiceInterface,
	projectRepository domain.ProjectDataStoreInterface,
	taskRepository domain.TaskDataStoreInterface,
	labelRepository domain.LabelDataStoreInterface,
	slack domain.SlackInterface,
	zube domain.ZubeInterface,
) *TaskApplication

func (TaskApplication) Create

func (t TaskApplication) Create(reactionAddedEvent slackevents.ReactionAddedEvent) error

func (TaskApplication) Delete

func (t TaskApplication) Delete(reactionRemovedEvent slackevents.ReactionRemovedEvent) error

type TaskServiceInterface

type TaskServiceInterface interface {
	IsExist(task domain.Task) (bool, error)
	Store(task domain.Task) (domain.Task, error)
}

Jump to

Keyboard shortcuts

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