()
| 97 | } |
| 98 | |
| 99 | func NewMockHttpServer() *MockHttpServer { |
| 100 | return &MockHttpServer{ |
| 101 | Request: make(chan *http.Request), |
| 102 | Response: make(chan responseOrError), |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | func (m *MockHttpServer) Close() { |
| 107 | m.Closed = true |
no outgoing calls