usecase

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserCreate

func NewUserCreate(teamRepo repository.TeamRepository, userRepo repository.UserRepository) *userCreate

func NewUserList

func NewUserList(teamRepo repository.TeamRepository, userRepo repository.UserRepository) *userCreate

Types

type UserCreateInput

type UserCreateInput struct {
	SlackTeamID string
	TeamID      int64
	UserID      string
	GithubID    string
	SlackID     string
}

type UserCreateOutput

type UserCreateOutput struct {
	User *model.User
}

type UserListInput

type UserListInput struct {
	TeamID   string
	UserID   string
	GithubID string
	SlackID  string
}

type WebhookProcess

type WebhookProcess interface {
	Do(r *http.Request) error
}

func NewWebhookProcess

func NewWebhookProcess(
	env config.Config,
	ghSvc ghSvc.Github,
	ghAppSvc ghSvc.Github,
	userRepo repository.UserRepository,
	taskRepo repository.TaskRepository,
	repoRepo repository.RepoRepository,
) WebhookProcess

Jump to

Keyboard shortcuts

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