keel/net/http/roundtripware/roundtripper.go
2024-09-23 08:45:44 +02:00

12 lines
174 B
Go

package roundtripware
import (
"net/http"
)
type RoundTripperFunc Handler
func (fn RoundTripperFunc) RoundTrip(r *http.Request) (*http.Response, error) {
return fn(r)
}