service

package
v0.0.0-...-e58ca11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskService

type TaskService struct{}

TaskService represents a instance to process task message

func NewTaskService

func NewTaskService(loggerLogrus *logrus.Logger, repository repository.Repository) TaskService

NewTaskService create a new instance of TaskService with your arguments

func (TaskService) ProcessTaskMessage

func (ts TaskService) ProcessTaskMessage(channel <-chan *sqs.Message)

ProcessTaskMessage receive a message by channel to save task

Jump to

Keyboard shortcuts

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