]> Sergey Matveev's repositories - btrtrc.git/blobdiff - tracker/http/client.go
gofumpt
[btrtrc.git] / tracker / http / client.go
index 1716b44c8a80781540ee1f0ecf827ebbb84c6216..c6b06fc10dcc5a3f47c89d27a2a84c5a75229d01 100644 (file)
@@ -13,8 +13,10 @@ type Client struct {
        url_ *url.URL
 }
 
-type ProxyFunc func(*http.Request) (*url.URL, error)
-type DialContextFunc func(ctx context.Context, network, addr string) (net.Conn, error)
+type (
+       ProxyFunc       func(*http.Request) (*url.URL, error)
+       DialContextFunc func(ctx context.Context, network, addr string) (net.Conn, error)
+)
 
 type NewClientOpts struct {
        Proxy          ProxyFunc