URL returns the URL of the test server.
()
| 74 | |
| 75 | // URL returns the URL of the test server. |
| 76 | func (h *HTTPTestServer) URL() string { |
| 77 | return fmt.Sprintf("http://%s", h.Server.Listener.Addr().String()) |
| 78 | } |
| 79 | |
| 80 | // Start starts the test server. |
| 81 | func (h *HTTPTestServer) Start() { |