Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
func (*HttpServer) Setup ¶
func (s *HttpServer) Setup()
func (*HttpServer) Teardown ¶
func (s *HttpServer) Teardown()
type MockReadWriteCloser ¶
type MockReadWriteCloser struct { BytesRead []byte BytesWritten []byte ReadErr error WriteErr error CloseErr error }
func NewReadWriteCloser ¶
func NewReadWriteCloser(readErr, writeErr, closeErr error) *MockReadWriteCloser
func (*MockReadWriteCloser) Close ¶
func (r *MockReadWriteCloser) Close() (err error)
Click to show internal directories.
Click to hide internal directories.