Documentation ¶
Index ¶
- func NewResponse(status int) *http.Response
- func NextAvailPort() uint16
- func SpecConfig(natsPort, statusPort, proxyPort uint16) *config.Config
- type FakeFile
- type HttpConn
- func (x *HttpConn) CheckLine(expected string)
- func (x *HttpConn) CheckLines(expected []string)
- func (x *HttpConn) NewRequest(method, urlStr string, body io.Reader) *http.Request
- func (x *HttpConn) ReadRequest() (*http.Request, string)
- func (x *HttpConn) ReadResponse() (*http.Response, string)
- func (x *HttpConn) WriteLine(line string)
- func (x *HttpConn) WriteLines(lines []string)
- func (x *HttpConn) WriteRequest(req *http.Request)
- func (x *HttpConn) WriteResponse(resp *http.Response)
- type Nats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResponse ¶
func NextAvailPort ¶
func NextAvailPort() uint16
func SpecConfig ¶
Types ¶
type HttpConn ¶
func NewHttpConn ¶
func (*HttpConn) CheckLines ¶
func (*HttpConn) NewRequest ¶
func (*HttpConn) WriteLines ¶
func (*HttpConn) WriteRequest ¶
func (*HttpConn) WriteResponse ¶
type Nats ¶
type Nats struct {
// contains filtered or unexported fields
}
func NewNatsOnRandomPort ¶
func NewNatsOnRandomPort() *Nats
Click to show internal directories.
Click to hide internal directories.