Documentation ¶
Overview ¶
Package multiwritermock creates the mock mulitwriter
Index ¶
- type MockDocumentIOMultiWriter
- func (m *MockDocumentIOMultiWriter) AddWriter(writer *io.PipeWriter)
- func (m *MockDocumentIOMultiWriter) Close() (err error)
- func (m *MockDocumentIOMultiWriter) GetWaitGroup() (wg *sync.WaitGroup)
- func (m *MockDocumentIOMultiWriter) Write(p []byte) (n int, err error)
- func (m *MockDocumentIOMultiWriter) WriteString(message string) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDocumentIOMultiWriter ¶
MockDocumentIOMultiWriter mocks a document multi-writer.
func (*MockDocumentIOMultiWriter) AddWriter ¶
func (m *MockDocumentIOMultiWriter) AddWriter(writer *io.PipeWriter)
AddWriter is a mocked method that just returns what mock tells it to.
func (*MockDocumentIOMultiWriter) Close ¶
func (m *MockDocumentIOMultiWriter) Close() (err error)
Close is a mocked method that just returns what mock tells it to.
func (*MockDocumentIOMultiWriter) GetWaitGroup ¶
func (m *MockDocumentIOMultiWriter) GetWaitGroup() (wg *sync.WaitGroup)
GetStreamClosedChannel is a mocked method that just returns what mock tells it to.
func (*MockDocumentIOMultiWriter) Write ¶
func (m *MockDocumentIOMultiWriter) Write(p []byte) (n int, err error)
Write is a mocked method that just returns what mock tells it to.
func (*MockDocumentIOMultiWriter) WriteString ¶
func (m *MockDocumentIOMultiWriter) WriteString(message string) (n int, err error)
WriteString is a mocked method that just returns what mock tells it to.
Click to show internal directories.
Click to hide internal directories.