analyzer

package
v0.0.0-...-f0644f1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_CONCURRENT = 2
)

Variables

View Source
var (
	ErrNoSender  = fmt.Errorf("error finding sender")
	ErrNoDate    = fmt.Errorf("error finding date")
	ErrNoHour    = fmt.Errorf("error finding hour")
	ErrNoMessage = fmt.Errorf("error finding message")
)

Functions

func NewAnalyzerService

func NewAnalyzerService(rs report.ReportService, cs chat.ChatService, jobSource job.Source, notifier notify.Notifier, logger *log.Logger) *analyzerService

NewAnalyzerService returns an instance of an analyzer service

Types

type ChatAnalyzer

type ChatAnalyzer interface {
	Analyze(*chat.Chat) (*report.ChatAnalytics, error)
}

ChatAnalyzer represents a chat analyzer

Jump to

Keyboard shortcuts

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