Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzeJobSource ¶
type AnalyzeJobSource struct { NextJobFn func() (*job.Chat, error) NextJobFnInvoked bool QueueJobFn func(*job.Chat) error QueueJobFnInvoked bool // contains filtered or unexported fields }
Poller represents a mock implementation of report.Poller
type ChatService ¶
type ChatService struct { NewFn func(ctx context.Context, r io.Reader, email string) error NewInvoked bool RetrieveFn func(id string) (*chat.Chat, error) RetrieveInvoked bool }
ChatService represents a mock of chat.ChatService
type ReportService ¶
type ReportService struct { GetFunc func(ctx context.Context, id string) (*report.Report, error) GetFuncInvoked bool NewFunc func(*report.Report) error NewFuncInvoked bool }
ReportService represents a mock of report.ReportService
Click to show internal directories.
Click to hide internal directories.