Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StubWriteCloser ¶
func StubWriteCloser(writeErr, closeErr error) io.WriteCloser
Types ¶
type ErrorReadCloserStub ¶
type ErrorReadCloserStub struct{}
func (*ErrorReadCloserStub) Close ¶
func (*ErrorReadCloserStub) Close() error
type NullWriteCloser ¶
type NullWriteCloser struct{}
func (*NullWriteCloser) Close ¶
func (*NullWriteCloser) Close() error
type TestEnv ¶
func GetTestEnv ¶
type TestEnvError ¶
type TestEnvError []string
func (TestEnvError) Error ¶
func (t TestEnvError) Error() string
type WriteCloserSpy ¶
type WriteCloserSpy struct { Inherited io.WriteCloser Captured *bytes.Buffer IsClosed bool }
func SpyWriteCloser ¶
func SpyWriteCloser(base io.WriteCloser) *WriteCloserSpy
func (*WriteCloserSpy) Close ¶
func (s *WriteCloserSpy) Close() error
type WriteCloserStub ¶
func (WriteCloserStub) Close ¶
func (w WriteCloserStub) Close() error
Click to show internal directories.
Click to hide internal directories.