Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HAProxyMock ¶
HAProxyMock - Mock HAProxy Server for testing the socket communication
func NewHAProxyMock ¶
func NewHAProxyMock(t *testing.T) *HAProxyMock
NewHAProxyMock - create new haproxy mock
func (*HAProxyMock) SetResponses ¶
func (haproxy *HAProxyMock) SetResponses(responses *map[string]string)
SetResponses - setting the expected responses
Click to show internal directories.
Click to hide internal directories.