github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/api/plugin/connection.go (about) 1 package plugin 2 3 import "net/http" 4 5 //go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . Connection 6 7 // Connection creates and executes http requests 8 type Connection interface { 9 Make(request *http.Request, passedResponse *Response, proxyReader ProxyReader) error 10 }