URL returns the base URL of the fake server. Use this as the Endpoint when creating a real AgentClient.
()
| 58 | // URL returns the base URL of the fake server. |
| 59 | // Use this as the Endpoint when creating a real AgentClient. |
| 60 | func (f *FakeAgentServer) URL() string { |
| 61 | return f.server.URL |
| 62 | } |
| 63 | |
| 64 | // Close shuts down the fake server. |
| 65 | func (f *FakeAgentServer) Close() { |
no outgoing calls