ServiceConnection represents a connection to a service.
| 11 | |
| 12 | // ServiceConnection represents a connection to a service. |
| 13 | type ServiceConnection interface { |
| 14 | // Get performs a GET request and streams the response body into w. |
| 15 | Get(ctx context.Context, requestURI string, w io.Writer) error |
| 16 | } |
| 17 | type Connection struct { |
| 18 | URI string |
| 19 | } |
no outgoing calls
no test coverage detected