Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBufferSize = 4096
DefaultBufferSize is the default size for the read buffer
Functions ¶
This section is empty.
Types ¶
type MockServer ¶
type MockServer struct {
// contains filtered or unexported fields
}
MockServer includes the conn, reader and the mock filters map
func NewMockServer ¶
func NewMockServer(conn net.Conn) *MockServer
NewMockServer creates and returns a mock server with the supplied connection
Click to show internal directories.
Click to hide internal directories.