Documentation ¶
Index ¶
Constants ¶
View Source
const (
MAX_CONCURRENT = 2
)
Variables ¶
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
Click to show internal directories.
Click to hide internal directories.