Client is the interface for an API client.
| 75 | |
| 76 | // Client is the interface for an API client. |
| 77 | type Client interface { |
| 78 | URL(ep string, args map[string]string) *url.URL |
| 79 | Do(context.Context, *http.Request) (*http.Response, []byte, error) |
| 80 | } |
| 81 | |
| 82 | type CloseIdler interface { |
| 83 | CloseIdleConnections() |
no outgoing calls
no test coverage detected