mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:18:52 +00:00
formatting
This commit is contained in:
parent
5d6ffd753b
commit
9ce0ffc8bd
1 changed files with 1 additions and 3 deletions
|
@ -32,9 +32,7 @@ type SignFunc func(r *http.Request) error
|
|||
// (RoundTripper implementer) to check request
|
||||
// context for a signing function and using for
|
||||
// all subsequent trips through RoundTrip().
|
||||
type signingtransport struct {
|
||||
http.Transport // underlying transport
|
||||
}
|
||||
type signingtransport struct{ http.Transport }
|
||||
|
||||
func (t *signingtransport) RoundTrip(r *http.Request) (*http.Response, error) {
|
||||
// Ensure updated host always set.
|
||||
|
|
Loading…
Reference in a new issue