Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogServiceMock ¶
type LogServiceMock struct { logV1.UnimplementedLogServer *grpc.Server CrawlLogs []*logV1.CrawlLog PageLogs []*logV1.PageLog // contains filtered or unexported fields }
LogServiceMock is used to implement ContentWriterServer.
func NewLogServiceMock ¶
func NewLogServiceMock(port int) *LogServiceMock
NewLogServiceMock creates a new LogServiceMock
func (*LogServiceMock) Close ¶
func (s *LogServiceMock) Close()
func (*LogServiceMock) Reset ¶
func (s *LogServiceMock) Reset()
func (*LogServiceMock) WriteCrawlLog ¶
func (s *LogServiceMock) WriteCrawlLog(stream logV1.Log_WriteCrawlLogServer) error
func (*LogServiceMock) WritePageLog ¶
func (s *LogServiceMock) WritePageLog(stream logV1.Log_WritePageLogServer) error
Click to show internal directories.
Click to hide internal directories.